From owner-svn-ports-all@freebsd.org Wed Oct 24 22:52:18 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3246F1072C07; Wed, 24 Oct 2018 22:52:18 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DCC4F7D740; Wed, 24 Oct 2018 22:52:17 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D7B54C9A; Wed, 24 Oct 2018 22:52:17 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9OMqH4W064351; Wed, 24 Oct 2018 22:52:17 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9OMqHDl064350; Wed, 24 Oct 2018 22:52:17 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201810242252.w9OMqHDl064350@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Wed, 24 Oct 2018 22:52:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482942 - head/net-mgmt/ipv6calc X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: head/net-mgmt/ipv6calc X-SVN-Commit-Revision: 482942 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2018 22:52:18 -0000 Author: dbaio Date: Wed Oct 24 22:52:17 2018 New Revision: 482942 URL: https://svnweb.freebsd.org/changeset/ports/482942 Log: net-mgmt/ipv6calc: Fix build with mips, mips64 and powerpc64 Base GCC doesn't support -Wno-unknown-warning-option. PR: 232515 [1] Submitted by: Piotr Kubaj [1] Sponsored by: IntegriCloud [1] Modified: head/net-mgmt/ipv6calc/Makefile Modified: head/net-mgmt/ipv6calc/Makefile ============================================================================== --- head/net-mgmt/ipv6calc/Makefile Wed Oct 24 22:17:03 2018 (r482941) +++ head/net-mgmt/ipv6calc/Makefile Wed Oct 24 22:52:17 2018 (r482942) @@ -12,17 +12,20 @@ COMMENT= Convert, change, and calculate with IPv6 addr LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_mips= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function -BROKEN_mips64= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function -BROKEN_powerpc64= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function - USES= gmake perl5 shebangfix ssl GNU_CONFIGURE= yes -CFLAGS+= -Wno-unknown-warning-option SHEBANG_FILES= tools/*.pl tools/*.sh.in +.include + +.if !(${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64) +CFLAGS+= -Wno-unknown-warning-option +.else +CFLAGS+= -Wno-uninitialized +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* -.include +.include