pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38701: print/teTeX3-bin fails on Linux at 'patch' stage



The following reply was made to PR pkg/38701; it has been noted by GNATS.

From: reilles%loria.fr@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: tonnerre%NetBSD.org@localhost
Subject: Re: pkg/38701: print/teTeX3-bin fails on Linux at 'patch' stage
Date: Tue, 20 May 2008 10:34:46 +0200

 Quoting cheusov%tut.by@localhost:
 >    =3D> Applying pkgsrc patch /srv/pkgsrc/print/teTeX3-bin/patches/patch-a=
 t
 >    patching file texk/dviljk/dvi2xx.c
 >    Hunk #1 FAILED at 2.
 >    1 out of 99 hunks FAILED -- saving rejects to file  =20
 > texk/dviljk/dvi2xx.c.rej
 >    Patch /srv/pkgsrc/print/teTeX3-bin/patches/patch-at failed
 >    =3D> Verifying /srv/pkgsrc/print/teTeX3-bin/patches/patch-au
 >    =3D> Applying pkgsrc patch /srv/pkgsrc/print/teTeX3-bin/patches/patch-a=
 u
 >    patching file texk/dviljk/dvi2xx.h
 >    ERROR: Patching failed due to modified or broken patch file(s):
 >    ERROR: =09/srv/pkgsrc/print/teTeX3-bin/patches/patch-at
 >    *** Error code 1
 >
 >> Fix:
 I had the same problem on MacOSX Tiger yesterday.
 The first chunk of the patch-at patch does not apply, probably because =20
 the patch context is asymetric. This chunk seem functionally useless, =20
 so i simply removed it, and ran "bmake makepatchsum" before rebuilding =20
 tetex.
 It fixed the build for me.
 This chunk is:
 --- texk/dviljk/dvi2xx.c
 +++ texk/dviljk/dvi2xx.c
 @@ -2,4 +2,4 @@
 -#define VERSION "2.6p2 (dviljk)"
 +#define VERSION "dviljk (version 2.6p3)"
   /*
   #define DEBUGGS 1
   */
 
 ----------------------------------------------------------------
 This message was sent using IMP, the Internet Messaging Program.
 
 


Home | Main Index | Thread Index | Old Index