[SCM] abgate/master: Compile with g++ since it's C++ code.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sat Mar 5 10:06:14 UTC 2011
The following commit has been merged in the master branch:
commit 7143c8d48cfe5e16236893f8eec40eb8da054671
Author: Alessio Treglia <alessio at debian.org>
Date: Sat Mar 5 11:06:08 2011 +0100
Compile with g++ since it's C++ code.
diff --git a/debian/patches/0001-buildsystem.patch b/debian/patches/0001-buildsystem.patch
index 8da1a6c..30263ed 100644
--- a/debian/patches/0001-buildsystem.patch
+++ b/debian/patches/0001-buildsystem.patch
@@ -1,12 +1,14 @@
Description: Set values of DESTDIR and LDFLAGS.
+ Compile with g++ since it's C++ code; prevents 'Undefined symbols:
+ ___gxx_personality_v0' error.
Author: Alessio Treglia <alessio at debian.org>
Forwarded: no
---
Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---- abGate-1.1.2.orig/Makefile
-+++ abGate-1.1.2/Makefile
+--- abgate.orig/Makefile
++++ abgate/Makefile
@@ -2,7 +2,7 @@
BUNDLE = abGate.lv2
@@ -21,11 +23,11 @@ Forwarded: no
gate.so: gate.cpp
- gcc -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
-+ gcc $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
++ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
- gcc -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
-+ gcc $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
++ g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
install: $(BUNDLE)
mkdir -p $(INSTALL_DIR)
--
abgate packaging
More information about the pkg-multimedia-commits
mailing list