[mame] 02/04: Fixed Mame tools linkage against system libraries.

Cesare Falco cesarefalco-guest at moszumanska.debian.org
Thu Feb 5 08:50:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

cesarefalco-guest pushed a commit to tag debian/0.158-1
in repository mame.

commit 855ff325aae449b471282646a6141ba1ab343af9
Author: Cesare Falco <c.falco at ubuntu.com>
Date:   Thu Jan 29 14:59:20 2015 +0100

    Fixed Mame tools linkage against system libraries.
---
 debian/patches/fix_tools_libs_linking.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/fix_tools_libs_linking.patch b/debian/patches/fix_tools_libs_linking.patch
new file mode 100644
index 0000000..212e261
--- /dev/null
+++ b/debian/patches/fix_tools_libs_linking.patch
@@ -0,0 +1,26 @@
+Author: Cesare Falco <c.falco at ubuntu.com>
+Description: Fix linking against system libraries.
+ Fix linking Mame tools against zlib and flac system libraries
+ instead of embedded ones.
+Forwarded: yes
+
+Index: mame/makefile
+===================================================================
+--- mame.orig/makefile	2015-01-29 11:46:28.852294000 +0100
++++ mame/makefile	2015-01-29 11:47:03.556294000 +0100
+@@ -756,6 +756,7 @@
+ ZLIB = $(OBJ)/libz.a
+ else
+ LIBS += -lz
++BASELIBS += -lz
+ ZLIB =
+ endif
+ 
+@@ -766,6 +767,7 @@
+ # $(OBJ)/libflac++.a
+ else
+ LIBS += -lFLAC
++BASELIBS += -lFLAC
+ FLAC_LIB =
+ endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6fa1ae7..faa1c00 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix_tools_libs_linking.patch
 gnu_fixes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git



More information about the Pkg-games-commits mailing list