Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Nov 2017 10:11:32 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454028 - in head/audio/tap-plugins-lv2: . files
Message-ID:  <201711121011.vACABWLG046603@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Nov 12 10:11:32 2017
New Revision: 454028
URL: https://svnweb.freebsd.org/changeset/ports/454028

Log:
  audio/tap-plugins-lv2: Removed unused SIMD flags.
  
  Also, moved patches under files/
  
  PR:		223614
  Submitted by:	Jan Beich <jbeich@FreeBSD.org>
  Approved by:	tcberner (mentor)
  Differential Revision:	https://reviews.freebsd.org/D13051

Added:
  head/audio/tap-plugins-lv2/files/
  head/audio/tap-plugins-lv2/files/patch-Makefile.mk   (contents, props changed)
  head/audio/tap-plugins-lv2/files/patch-dynamics_tap__dynamics.c   (contents, props changed)
Modified:
  head/audio/tap-plugins-lv2/Makefile

Modified: head/audio/tap-plugins-lv2/Makefile
==============================================================================
--- head/audio/tap-plugins-lv2/Makefile	Sun Nov 12 09:35:29 2017	(r454027)
+++ head/audio/tap-plugins-lv2/Makefile	Sun Nov 12 10:11:32 2017	(r454028)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-lv2
 
-MAINTAINER=	yuri@rawbw.com
+MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	LV2 port for the TAP (Tom's Audio Processing) plugins
 
 LICENSE=	GPLv2
@@ -21,11 +21,7 @@ GH_ACCOUNT=	moddevices
 GH_PROJECT=	tap-lv2
 GH_TAGNAME=	de26a3c
 
-post-patch:
-	@${REINPLACE_CMD} -e 's| -O3||; s| -Wl,-O1||; s| -fstrength-reduce||; s| -Wl,--strip-all||' \
-		${WRKSRC}/Makefile.mk
-	@${REINPLACE_CMD} -e 's|^inline$$||' \
-		${WRKSRC}/dynamics/tap_dynamics.c
+MAKE_ENV+=	NOOPT=true
 
 post-install:
 	@${STRIP_CMD} \

Added: head/audio/tap-plugins-lv2/files/patch-Makefile.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tap-plugins-lv2/files/patch-Makefile.mk	Sun Nov 12 10:11:32 2017	(r454028)
@@ -0,0 +1,13 @@
+--- Makefile.mk.orig	2016-01-25 10:55:48 UTC
++++ Makefile.mk
+@@ -3,8 +3,8 @@
+ CC ?= gcc
+ 
+ # flags
+-CFLAGS += -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils
+-LDFLAGS += -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt
++CFLAGS += -funroll-loops -ffast-math -fomit-frame-pointer -Wall -Werror -fPIC -DPIC -I../utils
++LDFLAGS += -shared -Wl,--as-needed -Wl,--no-undefined -lm -lrt
+ 
+ ifneq ($(NOOPT),true)
+ CFLAGS += -mtune=generic -msse -msse2 -mfpmath=sse

Added: head/audio/tap-plugins-lv2/files/patch-dynamics_tap__dynamics.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/tap-plugins-lv2/files/patch-dynamics_tap__dynamics.c	Sun Nov 12 10:11:32 2017	(r454028)
@@ -0,0 +1,11 @@
+--- dynamics/tap_dynamics.c.orig	2016-01-25 10:55:48 UTC
++++ dynamics/tap_dynamics.c
+@@ -267,7 +267,7 @@ rms_env_process(rms_env *r, const rms_t 
+ 
+ 
+ 
+-inline
++
+ float
+ get_table_gain(int mode, float level) {
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711121011.vACABWLG046603>