sping 15/06/08 23:57:54
Added: freeverb3-3.1.1-jack-linking.patch
freeverb3-3.1.1-jack-compilation.patch
Log:
media-libs/freeverb3: Fix compilation for USE=jack (bug #496128)
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key
0x401A1600)
Revision Changes Path
1.1
media-libs/freeverb3/files/freeverb3-3.1.1-jack-linking.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeverb3/files/freeverb3-3.1.1-jack-linking.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeverb3/files/freeverb3-3.1.1-jack-linking.patch?rev=1.1&content-type=text/plain
Index: freeverb3-3.1.1-jack-linking.patch
===================================================================
>From e10a2a4eb6985731881ad145eac5e8e8ec45a1fd Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <[email protected]>
Date: Tue, 9 Jun 2015 00:06:51 +0200
Subject: [PATCH] Fix linking of JACK effect module
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld:
./.libs/libjack_common.a(libjack_common_la-jack_main.o): undefined
reference to symbol 'gdk_threads_init'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../lib64/libgdk-3.so: error
adding symbols: DSO missing from command line
---
jack/Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/jack/Makefile.am b/jack/Makefile.am
index 651a034..a18fe15 100644
--- a/jack/Makefile.am
+++ b/jack/Makefile.am
@@ -36,6 +36,7 @@ libbmp_int_la_CPPFLAGS = -DJACK $(AM_CPPFLAGS)
libbmp_int_la_SOURCES = configdb.h configdb_rcfile.c rcfile.c rcfile.h util.c
util.h
libjack_common_la_CPPFLAGS = -DJACK $(AM_CPPFLAGS)
libjack_common_la_SOURCES = plugin.h jack_main.cpp ../samples/CArg.cpp
../samples/CArg.hpp ../audacious/so.c
+libjack_common_la_LIBADD = $(jack_LIBS) $(gtk3_LIBS)
I_LIBS += libbmp_int.la libjack_common.la
--
2.4.0
1.1
media-libs/freeverb3/files/freeverb3-3.1.1-jack-compilation.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeverb3/files/freeverb3-3.1.1-jack-compilation.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeverb3/files/freeverb3-3.1.1-jack-compilation.patch?rev=1.1&content-type=text/plain
Index: freeverb3-3.1.1-jack-compilation.patch
===================================================================
>From c2ab38ee2cd768ea4875450b146b12edbc28d656 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <[email protected]>
Date: Tue, 9 Jun 2015 01:41:45 +0200
Subject: [PATCH] Fix function name mis-match for JACK compilation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes compile error:
../audacious/impulser2.cpp: In function ‘void slot_save(SlotConfiguration*,
int)’:
../audacious/impulser2.cpp:278:86: error: ‘aud_set_str’ was not declared in
this scope
t_str (configSectionString, key_i("file",i), (gchar*)slot->filename.c_str());
^
../audacious/impulser2.cpp: In function ‘void slot_load(SlotConfiguration*,
int)’:
../audacious/impulser2.cpp:293:62: error: ‘aud_get_str’ was not declared in
this scope
filename = aud_get_str(configSectionString, key_i("file",i));
---
jack/configdb.h | 4 ++--
jack/configdb_rcfile.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/jack/configdb.h b/jack/configdb.h
index c3e6c19..0f793fa 100644
--- a/jack/configdb.h
+++ b/jack/configdb.h
@@ -23,13 +23,13 @@ void bmp_cfg_db_set_float (ConfigDb *db, const gchar
*section, const gchar *key,
void bmp_cfg_db_set_double(ConfigDb *db, const gchar *section, const gchar
*key, gdouble value);
void bmp_cfg_db_unset_key (ConfigDb *db, const gchar *section, const gchar
*key);
-gchar * aud_get_string(const gchar *section, const gchar *key);
+gchar * aud_get_str (const gchar *section, const gchar *key);
gint aud_get_int (const gchar *section, const gchar *key);
gboolean aud_get_bool (const gchar *section, const gchar *key);
gfloat aud_get_float (const gchar *section, const gchar *key);
gdouble aud_get_double(const gchar *section, const gchar *key);
-void aud_set_string(const gchar *section, const gchar *key, gchar *value);
+void aud_set_str (const gchar *section, const gchar *key, gchar *value);
void aud_set_int (const gchar *section, const gchar *key, gint value);
void aud_set_bool (const gchar *section, const gchar *key, gboolean value);
void aud_set_float (const gchar *section, const gchar *key, gfloat value);
diff --git a/jack/configdb_rcfile.c b/jack/configdb_rcfile.c
index c0125c8..69bb085 100644
--- a/jack/configdb_rcfile.c
+++ b/jack/configdb_rcfile.c
@@ -109,7 +109,7 @@ void bmp_cfg_db_unset_key(ConfigDb * db, const gchar *
section, const gchar * ke
}
gchar * cfg_string;
-gchar * aud_get_string(const gchar *section, const gchar *key)
+gchar * aud_get_str(const gchar *section, const gchar *key)
{
ConfigDb * cfg = bmp_cfg_db_open();
bmp_cfg_db_get_string(cfg,section,key,&cfg_string);
@@ -153,7 +153,7 @@ gdouble aud_get_double(const gchar *section, const gchar
*key)
return cfg_double;
}
-void aud_set_string(const gchar *section, const gchar *key, gchar *value)
+void aud_set_str(const gchar *section, const gchar *key, gchar *value)
{
ConfigDb * cfg = bmp_cfg_db_open();
bmp_cfg_db_set_string(cfg,section,key,value);
--
2.4.0