ports/119860: archivers/par2cmdline gives "Main packet not found" - with fix

Åke Wallebom ake at ake.nu
Thu Jan 24 08:40:03 UTC 2008


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

From: =?ISO-8859-1?Q?=C5ke_Wallebom?= <ake at ake.nu>
To: bug-followup at FreeBSD.org, ake at ake.nu
Cc:  
Subject: Re: ports/119860: archivers/par2cmdline gives "Main packet not found"
 - with fix
Date: Thu, 24 Jan 2008 09:04:34 +0100

 The problem seems to be in the Makefile in the ports tree:
 
 If I comment the two last lines in the 'post-patch' section of the Makefile -
 the par2 binary works fine - just like the version compiled from original sources.
 
 post-patch:
          @${REINPLACE_CMD} -e 's| -lstdc++||g' ${WRKSRC}/Makefile.in
 #       @${REINPLACE_CMD} -e 's|#define PACKED __attribute__ ((packed))|#define 
 PACKED|' ${WRKSRC}/par1fileformat.h
 #       @${REINPLACE_CMD} -e 's|#define PACKED __attribute__ ((packed))|#define 
 PACKED|' ${WRKSRC}/par2fileformat.h
 
 The two '#'s added by me to the original Makefile. This gives a lot of 
 compilation warnings, but works.
 
 / Åke Wallebom



More information about the freebsd-ports-bugs mailing list