1 |
mr_bones_ 13/12/08 08:32:10 |
2 |
|
3 |
Added: mednafen-0.9.32-zlib.patch |
4 |
mednafen-0.9.32-cflags.patch |
5 |
mednafen-0.9.32-automake-1.13.patch |
6 |
Log: |
7 |
version bump |
8 |
|
9 |
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-zlib.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: mednafen-0.9.32-zlib.patch |
18 |
=================================================================== |
19 |
diff -ru mednafen.orig/src/Makefile.am mednafen/src/Makefile.am |
20 |
--- mednafen.orig/src/Makefile.am 2013-01-12 08:41:03.000000000 -0500 |
21 |
+++ mednafen/src/Makefile.am 2013-01-25 13:17:44.351619447 -0500 |
22 |
@@ -5,7 +5,7 @@ |
23 |
|
24 |
bin_PROGRAMS = mednafen |
25 |
mednafen_SOURCES = debug.cpp error.cpp mempatcher.cpp settings.cpp endian.cpp mednafen.cpp file.cpp general.cpp md5.cpp memory.cpp netplay.cpp state.cpp movie.cpp player.cpp PSFLoader.cpp tests.cpp qtrecord.cpp cdplay.cpp okiadpcm.cpp FileWrapper.cpp Stream.cpp MemoryStream.cpp FileStream.cpp |
26 |
-mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ |
27 |
+mednafen_LDADD = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a @SDL_LIBS@ -lminizip |
28 |
mednafen_DEPENDENCIES = trio/libtrio.a drivers/libmdfnsdl.a sexyal/libsexyal.a |
29 |
|
30 |
SUBDIRS += sexyal drivers |
31 |
diff -ru mednafen.orig/src/compress/Makefile.am.inc mednafen/src/compress/Makefile.am.inc |
32 |
--- mednafen.orig/src/compress/Makefile.am.inc 2010-12-18 04:03:19.000000000 -0500 |
33 |
+++ mednafen/src/compress/Makefile.am.inc 2013-01-25 13:17:19.289508092 -0500 |
34 |
@@ -1 +1 @@ |
35 |
-mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c compress/unzip.c |
36 |
+mednafen_SOURCES += compress/minilzo.c compress/quicklz.c compress/blz.cpp compress/ioapi.c |
37 |
diff -ru mednafen.orig/src/file.cpp mednafen/src/file.cpp |
38 |
--- mednafen.orig/src/file.cpp 2012-02-03 17:04:45.000000000 -0500 |
39 |
+++ mednafen/src/file.cpp 2013-01-25 13:17:09.527854217 -0500 |
40 |
@@ -33,7 +33,7 @@ |
41 |
|
42 |
|
43 |
#include <zlib.h> |
44 |
-#include "compress/unzip.h" |
45 |
+#include <minizip/unzip.h> |
46 |
|
47 |
#include "file.h" |
48 |
#include "general.h" |
49 |
|
50 |
|
51 |
|
52 |
1.1 games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch |
53 |
|
54 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-cflags.patch?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: mednafen-0.9.32-cflags.patch |
58 |
=================================================================== |
59 |
--- configure.ac.orig 2013-01-25 13:30:36.167253683 -0500 |
60 |
+++ configure.ac 2013-01-25 13:32:16.993678869 -0500 |
61 |
@@ -90,21 +90,6 @@ |
62 |
|
63 |
dnl -fno-unit-at-a-time |
64 |
|
65 |
-OPTIMIZER_FLAGS="" |
66 |
- |
67 |
-dnl -ffast-math removed January 12, 2013. Don't re-add it, nor any of its sub-options(ESPECIALLY not -funsafe-math-optimizations), |
68 |
-dnl it messes up certain code(NES resampler, for example) under certain conditions and alignments of the great celestial squid. |
69 |
-dnl |
70 |
-dnl In fact, let's explicitly disable it here with -fno-fast-math. |
71 |
-dnl |
72 |
-AX_CFLAGS_GCC_OPTION([-fno-fast-math], OPTIMIZER_FLAGS) |
73 |
-AX_CFLAGS_GCC_OPTION([-fno-unsafe-math-optimizations], OPTIMIZER_FLAGS) |
74 |
- |
75 |
-AX_CFLAGS_GCC_OPTION([-fomit-frame-pointer], OPTIMIZER_FLAGS) |
76 |
-AX_CFLAGS_GCC_OPTION([-finline-limit=6000], OPTIMIZER_FLAGS) |
77 |
-AX_CFLAGS_GCC_OPTION([--param large-function-growth=800], OPTIMIZER_FLAGS) |
78 |
-AX_CFLAGS_GCC_OPTION([--param inline-unit-growth=175], OPTIMIZER_FLAGS) |
79 |
-AX_CFLAGS_GCC_OPTION([--param max-inline-insns-single=10000], OPTIMIZER_FLAGS) |
80 |
AX_NO_STRICT_OVERFLOW |
81 |
|
82 |
|
83 |
@@ -138,8 +123,8 @@ |
84 |
MDFN_COMPAT_FLAGS="" |
85 |
AX_CFLAGS_GCC_OPTION([-fsigned-char], MDFN_COMPAT_FLAGS) |
86 |
|
87 |
-AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS") |
88 |
-AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $OPTIMIZER_FLAGS $NO_STRICT_OVERFLOW_FLAGS") |
89 |
+AC_SUBST([AM_CFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS") |
90 |
+AC_SUBST([AM_CXXFLAGS], "$MDFN_COMPAT_FLAGS $WARNING_FLAGS $NO_STRICT_OVERFLOW_FLAGS") |
91 |
|
92 |
AM_CONDITIONAL(WANT_DEBUGGER, false) |
93 |
|
94 |
|
95 |
|
96 |
|
97 |
1.1 games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch?rev=1.1&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/mednafen/files/mednafen-0.9.32-automake-1.13.patch?rev=1.1&content-type=text/plain |
101 |
|
102 |
Index: mednafen-0.9.32-automake-1.13.patch |
103 |
=================================================================== |
104 |
--- mednafen-0.9.28-wip/mednafen/configure.ac |
105 |
+++ mednafen-0.9.28-wip/mednafen/configure.ac |
106 |
@@ -13,7 +13,7 @@ |
107 |
AC_CANONICAL_TARGET |
108 |
AM_INIT_AUTOMAKE([mednafen], $MEDNAFEN_VERSION) |
109 |
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES]) |
110 |
-AM_CONFIG_HEADER([include/config.h:include/config.h.in]) |
111 |
+AC_CONFIG_HEADERS([include/config.h:include/config.h.in]) |
112 |
|
113 |
AC_PROG_CC |
114 |
AC_PROG_CPP |