commit:     cd60dea77431b207f74cacbfe505e5b211be5e1f
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 11:12:31 2020 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sun Aug  9 11:12:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd60dea7

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 <AT> gentoo.org>

 .../ladspa-cmt/files/ladspa-cmt-1.17-makefile.patch     | 17 ++++++++++++-----
 ...ladspa-cmt-1.17.ebuild => ladspa-cmt-1.17-r1.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
similarity index 100%
rename from media-libs/ladspa-cmt/ladspa-cmt-1.17.ebuild
rename to media-libs/ladspa-cmt/ladspa-cmt-1.17-r1.ebuild

Reply via email to