Date: Mon, 9 Jul 2012 18:43:33 +0200 (CEST) From: Niclas Zeising <zeising@daemonic.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/169740: [PATCH] fix build of security/krb5 with clang Message-ID: <20120709164333.8C8C7228F5@tifa.daemonic.se> Resent-Message-ID: <201207091650.q69Go7b7027392@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 169740 >Category: ports >Synopsis: [PATCH] fix build of security/krb5 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: Mon Jul 09 16:50:06 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: security/krb5 does not build (link) with clang. >How-To-Repeat: >Fix: Attached patch uses -std=gnu89 to build, thereby fixing the linkage issues. --- ports.security.krb5.clangfix.diff begins here --- Index: security/krb5/Makefile =================================================================== RCS file: /home/ncvs/ports/security/krb5/Makefile,v retrieving revision 1.157 diff -u -d -r1.157 Makefile --- security/krb5/Makefile 1 Jun 2012 05:24:05 -0000 1.157 +++ security/krb5/Makefile 9 Jul 2012 16:40:59 -0000 @@ -27,6 +27,7 @@ USE_GMAKE= yes USE_PERL5_BUILD= yes USE_LDCONFIG= yes +USE_CSTD= gnu89 USE_AUTOTOOLS= libtool CONFIGURE_ARGS?= --enable-shared CONFIGURE_ENV= INSTALL="${INSTALL}" YACC="${YACC}" --- ports.security.krb5.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?20120709164333.8C8C7228F5>