Email to maintainer (me)... "As you may know, in the near future FreeBSD 7.x will be switching from the gcc 3.4 compiler to gcc 4.x. Unfortunately your port fails to build with the new compiler; see the log below." Fix: The diff below as well as the attached patch file cleans up the warnings and fixes gcc4 compile errors. --- Makefile.old Sun Jan 28 13:54:37 2007 +++ Makefile Tue Mar 20 12:51:07 2007 @@ -25,6 +25,8 @@ 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 post-install: .if !defined(NOPORTDOCS) Patch attached with submission follows: How-To-Repeat: Build the port with gcc4+
Class Changed From-To: update->maintainer-update Fix category (submitter is maintainer)
State Changed From-To: open->closed Committed. Thanks!
rafan 2007-03-22 16:51:55 UTC FreeBSD ports repository Modified files: archivers/par2cmdline Makefile Added files: archivers/par2cmdline/files patch-reedsolomon.cpp Log: - Fix gcc4 build PR: ports/110589 Submitted by: Jonathan Stewart <jonathan at kc8onw.net> (maintainer) Revision Changes Path 1.8 +2 -0 ports/archivers/par2cmdline/Makefile 1.1 +56 -0 ports/archivers/par2cmdline/files/patch-reedsolomon.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"