The port www/netsurf is currently marked as BROKEN as it does not build. The reason is, that the file generated by the parser generator uses assert(3) but does not #include <assert.h>; as assert(3) is a macro, this is bound to fail at linking stage. Fix: Add the attached file patch-css-parser.y into the files directory of the port. Then remove the BROKEN line in the Makefile. PS: I'm aware that this is only a temporary solution, as the port ought to be updated to the newest version; however, this is a bit more work and therefore will take longer than just making the current version build again.--pZcQTvtp4iHeWMuS4Z7cVdhhtiiklbQgUlwbrIgdxmJ3At1R Content-Type: text/plain; name="patch-css-parser.y" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="patch-css-parser.y" --- css/parser.y.orig 2009-11-21 09:40:45.000000000 +0100 +++ css/parser.y 2009-11-21 09:39:49.000000000 +0100 @@ -398,6 +398,7 @@ %extra_argument { struct css_parser_params *param } %include { +#include <assert.h> #include <strings.h> #define CSS_INTERNALS #include "css/css.h" How-To-Repeat: Try to build the port, even after removing the BROKEN line from the Makefile.
State Changed From-To: open->closed Committed. Thanks!
miwi 2009-11-21 15:29:43 UTC FreeBSD ports repository Modified files: www/netsurf Makefile Added files: www/netsurf/files patch-css-parser.y Log: - Unbreak and fix Build PR: 140743 Submitted by: Klaus T Aehlig <aehlig@linta.de> Revision Changes Path 1.8 +0 -2 ports/www/netsurf/Makefile 1.1 +10 -0 ports/www/netsurf/files/patch-css-parser.y (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"