From owner-svn-ports-all@freebsd.org Mon Sep 10 10:41:11 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 E039D108B891; Mon, 10 Sep 2018 10:41:10 +0000 (UTC) (envelope-from tobik@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 97F2F7AC99; Mon, 10 Sep 2018 10:41:10 +0000 (UTC) (envelope-from tobik@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 92EE7273BB; Mon, 10 Sep 2018 10:41:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8AAfAT4060926; Mon, 10 Sep 2018 10:41:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8AAfADO060924; Mon, 10 Sep 2018 10:41:10 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809101041.w8AAfADO060924@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 10 Sep 2018 10:41:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479389 - in head/audio/cava: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/audio/cava: . files X-SVN-Commit-Revision: 479389 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.27 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: Mon, 10 Sep 2018 10:41:11 -0000 Author: tobik Date: Mon Sep 10 10:41:09 2018 New Revision: 479389 URL: https://svnweb.freebsd.org/changeset/ports/479389 Log: audio/cava: Unbreak build on powerpc (or with gcc 4.2) - Remove command line options that gcc 4.2 does not recognize - Allow build on powerpc64 again as it most likely will work now too - Move post-patch to a patch file while here Added: head/audio/cava/files/patch-Makefile.am (contents, props changed) Modified: head/audio/cava/Makefile Modified: head/audio/cava/Makefile ============================================================================== --- head/audio/cava/Makefile Mon Sep 10 10:40:06 2018 (r479388) +++ head/audio/cava/Makefile Mon Sep 10 10:41:09 2018 (r479389) @@ -10,8 +10,6 @@ COMMENT= Console-based Audio Visualizer for MPD, Pulse LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_powerpc64= fails to compile: cc1: unrecognized command line option -Wno-unused-result - LIB_DEPENDS= libfftw3.so:math/fftw3 \ libiniparser.so:devel/iniparser @@ -37,9 +35,6 @@ PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/puls SNDIO_CONFIGURE_ENV_OFF= ac_cv_lib_sndio_sio_open=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio - -post-patch: - @${REINPLACE_CMD} '/^cava_font/d' ${WRKSRC}/Makefile.am pre-configure: @${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version Added: head/audio/cava/files/patch-Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/cava/files/patch-Makefile.am Mon Sep 10 10:41:09 2018 (r479389) @@ -0,0 +1,18 @@ +- Remove some flags that gcc 4.2 (on tier 2 archs like powerpc) + does not recognize +- Do not install the Linux-only font + +--- Makefile.am.orig 2018-09-10 08:31:56 UTC ++++ Makefile.am +@@ -14,10 +14,8 @@ cava_LDADD = -liniparser + cava_LDFLAGS = -L/usr/local/lib -Wl,-rpath /usr/local/lib + cava_CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \ + -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L +-cava_CFLAGS = -std=c99 -Wall -Wextra -Wno-unused-result -Wno-maybe-uninitialized ++cava_CFLAGS = -std=c99 -Wall -Wextra + +-cava_font_dir = @FONT_DIR@ +-cava_font__DATA = cava.psf + + if !SYSTEM_LIBINIPARSER + cava_SOURCES += iniparser/libiniparser.la