From owner-svn-ports-head@freebsd.org Tue Apr 9 18:02:38 2019 Return-Path: Delivered-To: svn-ports-head@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 03A8A1567B1C; Tue, 9 Apr 2019 18:02:38 +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 81AAE713A4; Tue, 9 Apr 2019 18:02:37 +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 5C04BEB9A; Tue, 9 Apr 2019 18:02:37 +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 x39I2b9k007945; Tue, 9 Apr 2019 18:02:37 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x39I2bTg007944; Tue, 9 Apr 2019 18:02:37 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201904091802.x39I2bTg007944@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 9 Apr 2019 18:02:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r498488 - head/multimedia/kissdx X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/multimedia/kissdx X-SVN-Commit-Revision: 498488 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 81AAE713A4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2019 18:02:38 -0000 Author: linimon Date: Tue Apr 9 18:02:36 2019 New Revision: 498488 URL: https://svnweb.freebsd.org/changeset/ports/498488 Log: Add -fnested-functions to CFLAGS when using base GCC to fix build. While here, pet portlint. Modified: head/multimedia/kissdx/Makefile Modified: head/multimedia/kissdx/Makefile ============================================================================== --- head/multimedia/kissdx/Makefile Tue Apr 9 18:00:27 2019 (r498487) +++ head/multimedia/kissdx/Makefile Tue Apr 9 18:02:36 2019 (r498488) @@ -13,14 +13,12 @@ COMMENT= Multimedia streaming server for KiSS/Linksys LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE -LIB_DEPENDS= libgd.so:graphics/gd \ - libdvdread.so:multimedia/libdvdread - BROKEN_armv6= fails to compile: kissdx.c: function definition is not allowed here BROKEN_armv7= fails to compile: kissdx.c: function definition is not allowed here -BROKEN_mips64= fails to compile: kissdx.c: nested functions are disabled, use -fnested-functions to re-enable -BROKEN_powerpc64= fails to compile: kissdx.c: nested functions are disabled, use -fnested-functions to re-enable +LIB_DEPENDS= libgd.so:graphics/gd \ + libdvdread.so:multimedia/libdvdread + USES= compiler:nestedfct dos2unix iconv jpeg MAKE_ENV= FreeBSD=defined @@ -44,6 +42,10 @@ post-patch: 's|-liconv|${ICONV_LIB}| ; \ s|^\.o :|${PORTNAME}: $$(OBJS)| ; \ /^all:/s| $$(OBJS)||' ${WRKSRC}/Makefile + +.if exists(/usr/lib/libstdc++.so) +CFLAGS+= -fnested-functions +.endif pre-build: @${RM} ${WRKSRC}/kissdx.o