ports/168286: [PATCH] devel/dev86 enw version does not compile with clang

William Grzybowski william88 at gmail.com
Wed May 23 21:50:02 UTC 2012


>Number:         168286
>Category:       ports
>Synopsis:       [PATCH] devel/dev86 enw version does not compile with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 23 21:50:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     William Grzybowski
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
>Description:

	New ports version does not compile with clang, function expects to return an int but nothing is...

>How-To-Repeat:
>Fix:

	See attached patch


--- dev86-clang.patch begins here ---
--- /dev/null	2012-05-23 18:35:07.000000000 -0300
+++ files/patch-tok_io.c.in	2012-05-23 18:35:54.050226872 -0300
@@ -0,0 +1,11 @@
+--- unproto/tok_io.c.orig	2012-05-23 18:32:48.204225797 -0300
++++ unproto/tok_io.c	2012-05-23 18:33:00.719226567 -0300
+@@ -189,7 +189,7 @@
+ 
+ /* do_control - parse control line */
+ 
+-static int do_control()
++static void do_control()
+ {
+     struct token *t;
+     int     line;
--- dev86-clang.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list