Date: Fri, 1 Jul 2011 09:50:22 +0200 (CEST) From: Niclas Zeising <niclas.zeising@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/158555: [PATCH] fix devel/libtai to build with clang Message-ID: <201107010750.p617oMhI015377@vincent.daemonic.se> Resent-Message-ID: <201107010800.p6180Jmb064608@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107010750.p617oMhI015377>