Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2012 15:31:20 +0200 (CEST)
From:      Niclas Zeising <zeising@daemonic.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170067: [PATCH] fix devel/dev86 build with clang
Message-ID:  <20120722133120.C5A8622AC6@tifa.daemonic.se>
Resent-Message-ID: <201207221340.q6MDe5BU090947@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120722133120.C5A8622AC6>