[vlc-commits] contribs: mpg123: put back libm patch

Thomas Guillem git at videolan.org
Thu Dec 22 15:44:17 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Dec 22 15:43:37 2016 +0100| [368f85d56c5c5d80373d6870f6f8e98b656a79f3] | committer: Thomas Guillem

contribs: mpg123: put back libm patch

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=368f85d56c5c5d80373d6870f6f8e98b656a79f3
---

 contrib/src/mpg123/mpg123-libm.patch | 9 +++++++++
 contrib/src/mpg123/rules.mak         | 1 +
 2 files changed, 10 insertions(+)

diff --git a/contrib/src/mpg123/mpg123-libm.patch b/contrib/src/mpg123/mpg123-libm.patch
new file mode 100644
index 0000000..b11671d
--- /dev/null
+++ b/contrib/src/mpg123/mpg123-libm.patch
@@ -0,0 +1,9 @@
+--- mpg123/libmpg123.pc.in.orig	2015-08-12 01:33:47.000000000 -0400
++++ mpg123/libmpg123.pc.in	2016-02-03 20:40:25.335615001 -0500
+@@ -7,5 +7,5 @@
+ Description: An optimised MPEG Audio decoder
+ Requires: 
+ Version: @PACKAGE_VERSION@
+-Libs: -L${libdir} -lmpg123 
++Libs: -L${libdir} -lmpg123 @LIBM@
+ Cflags: -I${includedir} 
diff --git a/contrib/src/mpg123/rules.mak b/contrib/src/mpg123/rules.mak
index 3fa884c..59f6ac7 100644
--- a/contrib/src/mpg123/rules.mak
+++ b/contrib/src/mpg123/rules.mak
@@ -34,6 +34,7 @@ $(TARBALLS)/mpg123-$(MPG123_VERSION).tar.bz2:
 mpg123: mpg123-$(MPG123_VERSION).tar.bz2 .sum-mpg123
 	$(UNPACK)
 	$(APPLY) $(SRC)/mpg123/no-programs.patch
+	$(APPLY) $(SRC)/mpg123/mpg123-libm.patch
 ifdef HAVE_ANDROID
 	$(APPLY) $(SRC)/mpg123/mpg123_android_off_t.patch
 endif



More information about the vlc-commits mailing list