1 |
mr_bones_ 11/11/17 06:47:50 |
2 |
|
3 |
Added: sdlmame-0.144-no-opengl.patch |
4 |
sdlmame-0.144-makefile.patch |
5 |
Removed: sdlmame-0.143_p5-makefile.patch |
6 |
sdlmame-0.143_p4-no-opengl.patch |
7 |
sdlmame-0.142-makefile.patch |
8 |
sdlmame-0.143_p4-makefile.patch |
9 |
sdlmame-0.136-nodebug.patch joymap.dat mame.ini.in |
10 |
sdlmame-0.143_p5-no-opengl.patch |
11 |
Log: |
12 |
version bump; drop ppc to ~ |
13 |
|
14 |
(Portage version: 2.1.10.11/cvs/Linux i686) |
15 |
|
16 |
Revision Changes Path |
17 |
1.1 games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch |
18 |
|
19 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch?rev=1.1&view=markup |
20 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/files/sdlmame-0.144-no-opengl.patch?rev=1.1&content-type=text/plain |
21 |
|
22 |
Index: sdlmame-0.144-no-opengl.patch |
23 |
=================================================================== |
24 |
--- ./src/osd/sdl/osdsdl.h.orig |
25 |
+++ ./src/osd/sdl/osdsdl.h |
26 |
@@ -225,6 +225,8 @@ |
27 |
const char *audio_driver() const { return value(SDLOPTION_AUDIODRIVER); } |
28 |
#if USE_OPENGL |
29 |
const char *gl_lib() const { return value(SDLOPTION_GL_LIB); } |
30 |
+#else |
31 |
+ const char *gl_lib() const { return NULL; } |
32 |
#endif |
33 |
|
34 |
private: |
35 |
|
36 |
|
37 |
|
38 |
1.1 games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-emulation/sdlmame/files/sdlmame-0.144-makefile.patch?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: sdlmame-0.144-makefile.patch |
44 |
=================================================================== |
45 |
--- work.orig/makefile 2011-11-09 22:40:30.000000000 -0500 |
46 |
+++ work/makefile 2011-11-16 19:24:24.615419949 -0500 |
47 |
@@ -435,9 +435,6 @@ |
48 |
CPPONLYFLAGS += -x c++ -std=gnu++98 |
49 |
COBJFLAGS += -x objective-c++ |
50 |
|
51 |
-# this speeds it up a bit by piping between the preprocessor/compiler/assembler |
52 |
-CCOMFLAGS += -pipe |
53 |
- |
54 |
# add -g if we need symbols, and ensure we have frame pointers |
55 |
ifdef SYMBOLS |
56 |
CCOMFLAGS += -g$(SYMLEVEL) -fno-omit-frame-pointer |
57 |
@@ -453,23 +450,6 @@ |
58 |
CCOMFLAGS += -pg |
59 |
endif |
60 |
|
61 |
-# add the optimization flag |
62 |
-CCOMFLAGS += -O$(OPTIMIZE) |
63 |
- |
64 |
-# if we are optimizing, include optimization options |
65 |
-# and make all errors into warnings |
66 |
-ifneq ($(OPTIMIZE),0) |
67 |
-ifneq ($(TARGETOS),os2) |
68 |
-ifndef NOWERROR |
69 |
-CCOMFLAGS += -Werror -fno-strict-aliasing $(ARCHOPTS) |
70 |
-else |
71 |
-CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS) |
72 |
-endif |
73 |
-else |
74 |
-CCOMFLAGS += -fno-strict-aliasing $(ARCHOPTS) |
75 |
-endif |
76 |
-endif |
77 |
- |
78 |
# add a basic set of warnings |
79 |
CCOMFLAGS += \ |
80 |
-Wall \ |
81 |
@@ -524,20 +504,6 @@ |
82 |
endif |
83 |
|
84 |
|
85 |
-#------------------------------------------------- |
86 |
-# linking flags |
87 |
-#------------------------------------------------- |
88 |
- |
89 |
-# LDFLAGS are used generally; LDFLAGSEMULATOR are additional |
90 |
-# flags only used when linking the core emulator |
91 |
-LDFLAGS = |
92 |
-ifneq ($(TARGETOS),macosx) |
93 |
-ifneq ($(TARGETOS),os2) |
94 |
-ifneq ($(TARGETOS),solaris) |
95 |
-LDFLAGS = -Wl,--warn-common |
96 |
-endif |
97 |
-endif |
98 |
-endif |
99 |
LDFLAGSEMULATOR = |
100 |
|
101 |
# add profiling information for the linker |
102 |
@@ -545,13 +511,6 @@ |
103 |
LDFLAGS += -pg |
104 |
endif |
105 |
|
106 |
-# strip symbols and other metadata in non-symbols and non profiling builds |
107 |
-ifndef SYMBOLS |
108 |
-ifneq ($(TARGETOS),macosx) |
109 |
-LDFLAGS += -s |
110 |
-endif |
111 |
-endif |
112 |
- |
113 |
# output a map file (emulator only) |
114 |
ifdef MAP |
115 |
LDFLAGSEMULATOR += -Wl,-Map,$(FULLNAME).map |