[SCM] ecasound/master: Add build-shared-libecasoundc patch
ghedo-guest at users.alioth.debian.org
ghedo-guest at users.alioth.debian.org
Sun Feb 6 21:59:26 UTC 2011
The following commit has been merged in the master branch:
commit aab230bfd9c63881d610a0a4a2d954775a7cdb65
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date: Sun Feb 6 22:08:29 2011 +0100
Add build-shared-libecasoundc patch
diff --git a/debian/patches/0004-build-shared-libecasoundc.patch b/debian/patches/0004-build-shared-libecasoundc.patch
new file mode 100644
index 0000000..e15ce73
--- /dev/null
+++ b/debian/patches/0004-build-shared-libecasoundc.patch
@@ -0,0 +1,49 @@
+From: Alessandro Ghedini <al3xbio at gmail.com>
+Date: Sun, 6 Feb 2011 19:32:41 +0100
+Subject: [PATCH] build shared libecasoundc
+
+Build libecasoundc as shared library instead of static
+---
+ libecasoundc/Makefile.am | 4 ++--
+ libecasoundc/Makefile.in | 4 ++--
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/libecasoundc/Makefile.am b/libecasoundc/Makefile.am
+index fda06a3..ad8d846 100644
+--- a/libecasoundc/Makefile.am
++++ b/libecasoundc/Makefile.am
+@@ -14,9 +14,9 @@ AUTOMAKE_OPTIONS = foreign
+ # !!!
+ # remember to update eca-version.cpp
+ if ECA_AM_DEBUG_MODE
+-eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
+ else
+-eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
+ endif
+
+ INCLUDES = -I$(srcdir)
+diff --git a/libecasoundc/Makefile.in b/libecasoundc/Makefile.in
+index 6f55563..1f5c45a 100644
+--- a/libecasoundc/Makefile.in
++++ b/libecasoundc/Makefile.in
+@@ -288,7 +288,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ EXTRA_DIST = ChangeLog
+ AUTOMAKE_OPTIONS = foreign
+- at ECA_AM_DEBUG_MODE_FALSE@eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++ at ECA_AM_DEBUG_MODE_FALSE@eca_ldflags = -s -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
+
+ # ----------------------------------------------------------------------
+ # defines
+@@ -296,7 +296,7 @@ AUTOMAKE_OPTIONS = foreign
+
+ # !!!
+ # remember to update eca-version.cpp
+- at ECA_AM_DEBUG_MODE_TRUE@eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -static
++ at ECA_AM_DEBUG_MODE_TRUE@eca_ldflags = -version-info @LIBECASOUNDC_VERSION@:0:@LIBECASOUNDC_VERSION_AGE@ -shared -fPIC
+ INCLUDES = -I$(srcdir)
+ @ECA_AM_DEBUG_MODE_FALSE at lib_LTLIBRARIES = libecasoundc.la
+ # -I$(top_srcdir)/libecasound
+--
diff --git a/debian/patches/series b/debian/patches/series
index dc9c978..6e29605 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-fix-manpages-errors.patch
0002-fix-spelling-error.patch
0003-build-shared-libecasound.patch
+0004-build-shared-libecasoundc.patch
--
ecasound packaging
More information about the pkg-multimedia-commits
mailing list