From owner-svn-ports-all@freebsd.org Fri Mar 29 16:03:41 2019 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 F24B5156D67C; Fri, 29 Mar 2019 16:03:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97F3B6C0D0; Fri, 29 Mar 2019 16:03:40 +0000 (UTC) (envelope-from linimon@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 8592411BC; Fri, 29 Mar 2019 16:03:40 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x2TG3ej2002226; Fri, 29 Mar 2019 16:03:40 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x2TG3eOG002224; Fri, 29 Mar 2019 16:03:40 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201903291603.x2TG3eOG002224@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Fri, 29 Mar 2019 16:03:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497160 - in head/comms/sunxi-tools: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/comms/sunxi-tools: . files X-SVN-Commit-Revision: 497160 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 97F3B6C0D0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] 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: Fri, 29 Mar 2019 16:03:41 -0000 Author: linimon Date: Fri Mar 29 16:03:39 2019 New Revision: 497160 URL: https://svnweb.freebsd.org/changeset/ports/497160 Log: Fix build on GCC-based architectures: unrecognized command line option "-Wno-unused-result" PR: 235540 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/comms/sunxi-tools/Makefile head/comms/sunxi-tools/files/patch-Makefile Modified: head/comms/sunxi-tools/Makefile ============================================================================== --- head/comms/sunxi-tools/Makefile Fri Mar 29 15:56:12 2019 (r497159) +++ head/comms/sunxi-tools/Makefile Fri Mar 29 16:03:39 2019 (r497160) @@ -11,10 +11,6 @@ COMMENT= Tools to help hacking Allwinner devices LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE.md -BROKEN_mips= fails to build: unrecognized command line option "-Wno-unused-result" -BROKEN_mips64= fails to build: unrecognized command line option "-Wno-unused-result" -BROKEN_powerpc64= fails to build: unrecognized command line option "-Wno-unused-result" - USES= gmake pkgconfig USE_GITHUB= yes GH_ACCOUNT= linux-sunxi Modified: head/comms/sunxi-tools/files/patch-Makefile ============================================================================== --- head/comms/sunxi-tools/files/patch-Makefile Fri Mar 29 15:56:12 2019 (r497159) +++ head/comms/sunxi-tools/files/patch-Makefile Fri Mar 29 16:03:39 2019 (r497160) @@ -1,14 +1,16 @@ --- Makefile.orig 2016-11-29 13:07:51 UTC +++ Makefile -@@ -17,7 +17,7 @@ +@@ -17,8 +17,8 @@ # along with this program. If not, see . CC ?= gcc -DEFAULT_CFLAGS := -std=c99 +-DEFAULT_CFLAGS += -Wall -Wextra -Wno-unused-result +DEFAULT_CFLAGS += -std=c99 - DEFAULT_CFLAGS += -Wall -Wextra -Wno-unused-result ++DEFAULT_CFLAGS += -Wall -Wextra DEFAULT_CFLAGS += -D_POSIX_C_SOURCE=200112L + # Define _BSD_SOURCE, necessary to expose all endian conversions properly. @@ -63,7 +63,7 @@ BINDIR ?= $(PREFIX)/bin tools: $(TOOLS) $(FEXC_LINKS) target-tools: $(TARGET_TOOLS)