aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/liba52-set-soname.patch
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-07-07 02:30:25 -0400
committerMark H Weaver <mhw@netris.org>2015-07-07 10:52:04 -0400
commit23da88f61e82e2b32d6dedb3af467f665cd03bf5 (patch)
treedc58ab24ba57f3b7cfae50639e80a5a2f9ba5d21 /gnu/packages/patches/liba52-set-soname.patch
parent4ca5c91f65bdc5a90e30991d2cc346667b54ceee (diff)
downloadguix-23da88f61e82e2b32d6dedb3af467f665cd03bf5.tar
guix-23da88f61e82e2b32d6dedb3af467f665cd03bf5.tar.gz
gnu: liba52: Build shared library.
* gnu/packages/patches/liba52-enable-pic.patch, gnu/packages/patches/liba52-link-with-libm.patch, gnu/packages/patches/liba52-set-soname.patch, gnu/packages/patches/liba52-use-mtune-not-mcpu.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/video.scm (liba52)[source]: Add patches. [native-inputs]: Add autoconf, automake, and libtool. [arguments]: Add "--enable-shared" to configure-flags. Add 'bootstrap' phase.
Diffstat (limited to 'gnu/packages/patches/liba52-set-soname.patch')
-rw-r--r--gnu/packages/patches/liba52-set-soname.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/patches/liba52-set-soname.patch b/gnu/packages/patches/liba52-set-soname.patch
new file mode 100644
index 0000000000..3eba1fb038
--- /dev/null
+++ b/gnu/packages/patches/liba52-set-soname.patch
@@ -0,0 +1,23 @@
+Copied from Debian.
+
+Description: Sets the soname to liba52-$(VERSION).so
+Bug-Debian: http://bugs.debian.org/401636
+Author: Daniel Baumann <daniel@debian.org>, Dmitrijs Ledkovs <dmitrij.ledkov@gmail.com>
+
+
+---
+ liba52/Makefile.am | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+Index: a52dec-deb/liba52/Makefile.am
+===================================================================
+--- a52dec-deb.orig/liba52/Makefile.am 2009-12-05 02:52:12.000000000 +0000
++++ a52dec-deb/liba52/Makefile.am 2009-12-05 03:23:47.000000000 +0000
+@@ -4,6 +4,6 @@
+
+ liba52_la_SOURCES = bitstream.c imdct.c bit_allocate.c parse.c downmix.c
+ liba52_la_LIBADD = @LIBA52_LIBS@ -lm
+-liba52_la_LDFLAGS = -no-undefined
++liba52_la_LDFLAGS = -no-undefined -release @VERSION@
+
+ EXTRA_DIST = configure.incl a52_internal.h bitstream.h tables.h