summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-08-09 13:12:31 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-08-09 13:12:45 +0200
commitcd60dea77431b207f74cacbfe505e5b211be5e1f (patch)
treee7556a1c14c87fd4c704c48c930ac49830def1ec
parentRevert "profiles: unmask new pambase for testing" (diff)
downloadgentoo-cd60dea77431b207f74cacbfe505e5b211be5e1f.tar.gz
gentoo-cd60dea77431b207f74cacbfe505e5b211be5e1f.tar.bz2
gentoo-cd60dea77431b207f74cacbfe505e5b211be5e1f.zip
media-libs/ladspa-cmt: respecting CFLAGS in 1.17
Closes: https://bugs.gentoo.org/732350 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch17
-rw-r--r--media-libs/ladspa-cmt/ladspa-cmt-1.17-r1.ebuild (renamed from media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild)0
2 files changed, 12 insertions, 5 deletions
diff --git a/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch
index 866cbfdbfc6..ca76e859b5f 100644
--- a/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch
+++ b/media-libs/ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch
@@ -1,17 +1,24 @@
diff --git a/src/Makefile b/src/Makefile
-index 159dd46..3b8aeeb 100644
+index 159dd46..5c2c0f4 100644
--- a/src/Makefile
+++ b/src/Makefile
-@@ -11,7 +11,7 @@ INSTALL_PLUGINS_DIR = /usr/lib/ladspa/
+@@ -11,8 +11,6 @@ INSTALL_PLUGINS_DIR = /usr/lib/ladspa/
# GENERAL
#
-CFLAGS = $(INCLUDES) -Wall -Werror -O2 -fPIC
-+CFLAGS = $(INCLUDES) -Wall -Werror -fPIC
- CXXFLAGS = $(CFLAGS)
+-CXXFLAGS = $(CFLAGS)
PLUGIN_LIB = ../plugins/cmt.so
-@@ -66,11 +66,11 @@ plugin: $(PLUGIN_LIB)
+ ###############################################################################
+@@ -63,14 +61,18 @@ PLUGIN_OBJECTS = \
+
+ plugin: $(PLUGIN_LIB)
+
++%.o: %.cpp
++ $(CXX) $(INCLUDES) $(CFLAGS) -c -o $*.o $*.cpp
++
++
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS) gcc_exports.map
diff --git a/media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild b/media-libs/ladspa-cmt/ladspa-cmt-1.17-r1.ebuild
index 97924f15ea6..97924f15ea6 100644
--- a/media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild
+++ b/media-libs/ladspa-cmt/ladspa-cmt-1.17-r1.ebuild