Author: belegdol
Update of /cvs/nonfree/rpms/mame/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv26947
Modified Files:
mame.spec
Added Files:
mame-systemlibs.patch
Log Message:
Patched to make build using system zlib and flac work
mame-systemlibs.patch:
makefile | 2 ++
1 file changed, 2 insertions(+)
Index: mame-systemlibs.patch
===================================================================
RCS file: mame-systemlibs.patch
diff -N mame-systemlibs.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ mame-systemlibs.patch 29 Jan 2015 19:10:42 -0000 1.6
@@ -0,0 +1,18 @@
+--- mame-0.158/makefile.systemlibs 2015-01-29 18:44:24.456819813 +0100
++++ mame-0.158/makefile 2015-01-29 18:44:57.427141647 +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
+
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/mame.spec,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- mame.spec 28 Jan 2015 17:54:22 -0000 1.100
+++ mame.spec 29 Jan 2015 19:10:42 -0000 1.101
@@ -42,6 +42,7 @@
%endif
%endif
Patch0: %{name}-fortify.patch
+Patch1: %{name}-systemlibs.patch
Patch2: %{name}-verbosebuild.patch
BuildRequires: expat-devel
@@ -159,6 +160,7 @@
%endif
%endif
%patch0 -p1 -b .fortify
+%patch1 -p1 -b .systemlibs
%patch2 -p1 -b .verbosebuild
# Fix encoding
@@ -392,6 +394,7 @@
* Wed Jan 28 2015 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.158-1
- Updated to 0.158
- Updated the verbosebuild patch
+- Patched to make build using system zlib and flac work
* Sat Jan 03 2015 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.157-1
- Updated to 0.157