ports/170067: [PATCH] fix devel/dev86 build with clang

Niclas Zeising zeising at daemonic.se
Sun Jul 22 13:40:05 UTC 2012


>Number:         170067
>Category:       ports
>Synopsis:       [PATCH] fix devel/dev86 build 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:   Sun Jul 22 13:40:04 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD tifa.daemonic.se 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r231776M: Wed Feb 15 22:30:06 CET 2012 root at tifa.daemonic.se:/usr/obj/usr/src/sys/TIFA amd64


	
>Description:
	devel/dev86 does not build with clang.
>How-To-Repeat:
	
>Fix:

	Attached patch fixes the build.

--- ports.devel.dev86.clangfix.diff begins here ---
Index: head/devel/dev86/files/patch-unproto__tok_io.c
===================================================================
--- head/devel/dev86/files/patch-unproto__tok_io.c	(revision 0)
+++ head/devel/dev86/files/patch-unproto__tok_io.c	(working copy)
@@ -0,0 +1,11 @@
+--- unproto/tok_io.c.orig	2012-07-22 15:06:47.000000000 +0200
++++ unproto/tok_io.c	2012-07-22 15:08:08.000000000 +0200
+@@ -189,7 +189,7 @@
+ 
+ /* do_control - parse control line */
+ 
+-static int do_control()
++static void do_control()
+ {
+     struct token *t;
+     int     line;

Property changes on: head/devel/dev86/files/patch-unproto__tok_io.c
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
--- ports.devel.dev86.clangfix.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list