Date: Sat, 17 Jun 2017 19:59:31 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443785 - in head/devel/talloc: . files Message-ID: <201706171959.v5HJxVlr030207@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits (src committer) Date: Sat Jun 17 19:59:31 2017 New Revision: 443785 URL: https://svnweb.freebsd.org/changeset/ports/443785 Log: Fix build of devel/talloc on powerpc and powerpc64 Base gcc doesn't accept -Wno-format-length. Remove its usage on powerpc and powerpc64. It could probably be generalized to all gcc-based targets, but that hasn't been tested on other architectures. PR: 219455 Submitted by: linimon Approved by: swills Added: head/devel/talloc/files/powerpc-patch-lib_replace_wscript (contents, props changed) Modified: head/devel/talloc/Makefile Modified: head/devel/talloc/Makefile ============================================================================== --- head/devel/talloc/Makefile Sat Jun 17 19:32:45 2017 (r443784) +++ head/devel/talloc/Makefile Sat Jun 17 19:59:31 2017 (r443785) @@ -14,8 +14,6 @@ LICENSE= LGPL3 CONFLICTS= samba33-3.* -BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option "-Wno-format-length" - USES= compiler pkgconfig waf USE_LDCONFIG= yes WAF_CMD= buildtools/bin/waf @@ -43,6 +41,10 @@ PLIST_FILES+= include/pytalloc.h \ lib/libpytalloc-util.so.2 \ %%PYTHON_SITELIBDIR%%/talloc.so \ %%PKGCONFIGDIR%%/pytalloc-util.pc +.endif + +.if ${ARCH} == powerpc64 || ${ARCH} == powerpc +EXTRA_PATCHES+= ${FILESDIR}/powerpc-patch-lib_replace_wscript .endif .include <bsd.port.pre.mk> Added: head/devel/talloc/files/powerpc-patch-lib_replace_wscript ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/talloc/files/powerpc-patch-lib_replace_wscript Sat Jun 17 19:59:31 2017 (r443785) @@ -0,0 +1,11 @@ +--- lib/replace/wscript.dist 2017-02-27 19:23:11.000000000 +0000 ++++ lib/replace/wscript 2017-05-21 15:00:35.906789377 +0000 +@@ -707,7 +707,7 @@ + source='''test/testsuite.c test/strptime.c + test/os2_delete.c test/getifaddrs.c''', + deps='replace', +- cflags="-Wno-format-length") ++ cflags="") + + if bld.env.standalone_replace: + bld.SAMBA_BINARY('replace_testsuite',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706171959.v5HJxVlr030207>