svn commit: r454028 - in head/audio/tap-plugins-lv2: . files

Yuri Victorovich yuri at FreeBSD.org
Sun Nov 12 10:11:33 UTC 2017


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 at 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 at rawbw.com
+MAINTAINER=	yuri at 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) {
+ 


More information about the svn-ports-all mailing list