devel/gindent is broken with gcc42. The build fails with: %%% output.c:26: error: static declaration of 'output' follows non-static declaration indent.h:100: error: previous declaration of 'output' was here output.c: In function 'open_output': output.c:1149: warning: incompatible implicit declaration of built-in function 'exit' *** Error code 1 Stop in /var/tmp/1/gindent/work/indent-2.2.9/src. *** Error code 1 %%% Fix: The following port-patch fixes the build. Can be applied in a CVS checkout with: % cd ports/devel/gindent % gpatch -p1 < patchfile
Responsible Changed From-To: freebsd-ports-bugs->keramida Submitter has GNATS access
Responsible Changed From-To: keramida->freebsd-ports-bugs Not a ports committer. Can someone else please verify I didn't break anything important around GNU indent and commit this?
Responsible Changed From-To: freebsd-ports-bugs->keramida Approved - you can commit it yourself.
keramida 2007-05-25 10:53:42 UTC FreeBSD ports repository (doc committer) Added files: devel/gindent/files patch-output.c Log: Fix the build of GNU indent with gcc 4.2. PR: ports/112841 Approved by: pav Revision Changes Path 1.1 +11 -0 ports/devel/gindent/files/patch-output.c (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"
State Changed From-To: open->closed Committed; thanks Pav :)