Re: [gtk-list] problem installling patch 99.7-99,8



Hi,

On Sun, 22 Mar 1998, Damon Chaplin wrote:

> Hi,
> 
> I had a problem installing the latest patch (0.99.7 - 0.99.8)
> I've got patch version 2.1, on Linux/i486
> 
> The problem line seems to be:
> 
> \ No newline at end of file
> 
> there's another line exactly the same later in the patch and that
> caused trouble as well.
> 
> Here's the output from patch:
> 
> 
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -ruN gtk+-0.99.7/ChangeLog gtk+-0.99.8/ChangeLog
> |--- gtk+-0.99.7/ChangeLog  Sat Mar 14 19:37:07 1998
> |+++ gtk+-0.99.8/ChangeLog  Thu Mar 19 16:42:05 1998
> --------------------------
> Patching file ChangeLog using Plan A...
> Hunk #1 succeeded at 1.
> Hmm...  The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -ruN gtk+-0.99.7/NEWS gtk+-0.99.8/NEWS
> |--- gtk+-0.99.7/NEWS Sat Mar 14 19:57:38 1998
> |+++ gtk+-0.99.8/NEWS Thu Mar 19 16:38:48 1998
> --------------------------
> Patching file NEWS using Plan A...
> Hunk #1 succeeded at 1.
> Hmm...  The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -ruN gtk+-0.99.7/README gtk+-0.99.8/README
> |--- gtk+-0.99.7/README Sat Mar 14 19:13:41 1998
> |+++ gtk+-0.99.8/README Thu Mar 19 14:38:12 1998
> --------------------------
> Patching file README using Plan A...
> Hunk #1 succeeded at 1.
> Hmm...  The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |diff -ruN gtk+-0.99.7/TODO gtk+-0.99.8/TODO
> |--- gtk+-0.99.7/TODO Sat Mar 14 10:13:46 1998
> |+++ gtk+-0.99.8/TODO Tue Mar 17 22:05:44 1998
> --------------------------
> Patching file TODO using Plan A...
> Hunk #1 succeeded at 5.
> patch: **** malformed patch at line 294: --- 221,224 ----
> 

Sometimes it pays to be pragmatic:

cd /path/to/your/gtk
zcat patch-0.99.7-0.99.8.gz | grep -v '^\\' | patch -p1

The gtk will then not be exactly the same as the tarball, but since the
difference is just a newline, it shouldn't do any harm.

Bye, Nils
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wer heute an der Bildung spart,          Those who scrimp on education today,
hat morgen noch bloedere Politiker.      get even dumber politicians tomorrow.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]