diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-13 11:30:14 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-08-13 11:30:27 +0200 |
commit | 926515481beb34c661b83750ac2cfa5500299dd1 (patch) | |
tree | 2d1565c3138df8c95f845d00ae7fbf956fff7e69 /media-plugins | |
parent | dev-perl/Email-Send-Gmail: -r bump for EAPI7 + fixes (diff) | |
download | gentoo-926515481beb34c661b83750ac2cfa5500299dd1.tar.gz gentoo-926515481beb34c661b83750ac2cfa5500299dd1.tar.bz2 gentoo-926515481beb34c661b83750ac2cfa5500299dd1.zip |
media-plugins/ir_lv2: respecting CFLAGS in 1.3.4
Closes: https://bugs.gentoo.org/736940
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch | 36 | ||||
-rw-r--r-- | media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild (renamed from media-plugins/ir_lv2/ir_lv2-1.3.4.ebuild) | 0 |
2 files changed, 32 insertions, 4 deletions
diff --git a/media-plugins/ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch b/media-plugins/ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch index cd664a6728a2..e375969072e3 100644 --- a/media-plugins/ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch +++ b/media-plugins/ir_lv2/files/ir_lv2-1.3.4-respect-flags.patch @@ -1,6 +1,7 @@ -diff -urpN ir.lv2-1.3.4.orig/Makefile ir.lv2-1.3.4/Makefile ---- ir.lv2-1.3.4.orig/Makefile 2018-06-21 11:14:03.000000000 +0300 -+++ ir.lv2-1.3.4/Makefile 2019-12-24 16:26:06.102495896 +0300 +diff --git a/Makefile b/Makefile +index 031f865..4d25e97 100644 +--- a/Makefile ++++ b/Makefile @@ -20,7 +20,7 @@ CC ?= gcc CXX ?= g++ @@ -10,7 +11,7 @@ diff -urpN ir.lv2-1.3.4.orig/Makefile ir.lv2-1.3.4/Makefile LIBS += -lc -lm -lzita-convolver -lsamplerate -lsndfile `pkg-config --libs gthread-2.0` `pkg-config --libs gtk+-2.0` ifeq ($(shell pkg-config --atleast-version='2.16' gtk+-2.0; echo $$?), 1) -@@ -31,7 +31,7 @@ ifeq ($(shell pkg-config --atleast-versi +@@ -31,28 +31,28 @@ ifeq ($(shell pkg-config --atleast-version='2.20' gtk+-2.0; echo $$?), 0) CPPFLAGS += -D_HAVE_GTK_ATLEAST_2_20 endif @@ -19,3 +20,30 @@ diff -urpN ir.lv2-1.3.4.orig/Makefile ir.lv2-1.3.4/Makefile C4LIBS = -lsndfile `pkg-config --libs gthread-2.0` all: ir.so ir_gui.so + + ir.o: ir.cc ir.h ir_utils.h +- $(CXX) ir.cc $(CPPFLAGS) -c -fPIC -o ir.o ++ $(CXX) ir.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir.o + + ir_gui.o: ir_gui.cc ir.h ir_utils.h ir_wavedisplay.h +- $(CXX) ir_gui.cc $(CPPFLAGS) -c -fPIC -o ir_gui.o ++ $(CXX) ir_gui.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir_gui.o + + ir_utils.o: ir_utils.cc ir_utils.h ir.h +- $(CXX) ir_utils.cc $(CPPFLAGS) -c -fPIC -o ir_utils.o ++ $(CXX) ir_utils.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir_utils.o + + ir_meter.o: ir_meter.cc ir_meter.h ir.h ir_utils.h +- $(CXX) ir_meter.cc $(CPPFLAGS) -c -fPIC -o ir_meter.o ++ $(CXX) ir_meter.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir_meter.o + + ir_modeind.o: ir_modeind.cc ir_modeind.h ir.h ir_utils.h +- $(CXX) ir_modeind.cc $(CPPFLAGS) -c -fPIC -o ir_modeind.o ++ $(CXX) ir_modeind.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir_modeind.o + + ir_wavedisplay.o: ir_wavedisplay.cc ir_wavedisplay.h ir.h ir_utils.h +- $(CXX) ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o ++ $(CXX) ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC $(CFLAGS) -o ir_wavedisplay.o + + ir.so: ir.o ir_utils.o + $(CXX) $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so diff --git a/media-plugins/ir_lv2/ir_lv2-1.3.4.ebuild b/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild index 232d3932b3de..232d3932b3de 100644 --- a/media-plugins/ir_lv2/ir_lv2-1.3.4.ebuild +++ b/media-plugins/ir_lv2/ir_lv2-1.3.4-r1.ebuild |