ports/158555: [PATCH] fix devel/libtai to build with clang
Niclas Zeising
niclas.zeising at gmail.com
Fri Jul 1 08:00:20 UTC 2011
>Number: 158555
>Category: ports
>Synopsis: [PATCH] fix devel/libtai to build with clang
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 01 08:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Niclas Zeising
>Release: FreeBSD 8.2-RELEASE amd64
>Organization:
<organization of PR auth (multiple lines)>
>Environment:
System: FreeBSD vincent.daemonic.se 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Wed Apr 20 17:22:47 CEST 2011 root at vincent.daemonic.se:/usr/obj/usr/src/sys/VINCENT amd64
>Description:
>How-To-Repeat:
>Fix:
Attached patch makes devel/libtai compile using clang by changing the main function return type to conform to the C std.
--- devel.libtai.clangfix.diff begins here ---
Index: files/patch-yearcal.c
===================================================================
RCS file: files/patch-yearcal.c
diff -N files/patch-yearcal.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-yearcal.c 1 Jul 2011 07:48:35 -0000
@@ -0,0 +1,11 @@
+--- yearcal.c.orig 1998-10-13 18:52:20.000000000 +0200
++++ yearcal.c 2011-07-01 09:45:48.000000000 +0200
+@@ -16,7 +16,7 @@
+ , "December"
+ } ;
+
+-void main(argc,argv)
++int main(argc,argv)
+ int argc;
+ char **argv;
+ {
--- devel.libtai.clangfix.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list