summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2021-02-06 09:30:07 +0100
committerMartin Väth <martin@mvath.de>2021-02-06 09:30:07 +0100
commitafb2d81f837d4d28e68cbc7f20721b9c79ec5d6f (patch)
tree2a8461cd478fa5d448108a61b0ebbbc85b6672d0 /games-emulation/sdlmame/files
parentapp-accessibility/gespeaker: remove until a python3 version is ready (diff)
downloadmv-afb2d81f837d4d28e68cbc7f20721b9c79ec5d6f.tar.gz
mv-afb2d81f837d4d28e68cbc7f20721b9c79ec5d6f.tar.bz2
mv-afb2d81f837d4d28e68cbc7f20721b9c79ec5d6f.zip
games-emulation/sdlmame: attempt some fixes. Still fails here...
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'games-emulation/sdlmame/files')
-rw-r--r--games-emulation/sdlmame/files/sdlmame-0.174-string.patch10
-rw-r--r--games-emulation/sdlmame/files/sdlmame-0.174-tostring.patch11
2 files changed, 21 insertions, 0 deletions
diff --git a/games-emulation/sdlmame/files/sdlmame-0.174-string.patch b/games-emulation/sdlmame/files/sdlmame-0.174-string.patch
new file mode 100644
index 00000000..85077265
--- /dev/null
+++ b/games-emulation/sdlmame/files/sdlmame-0.174-string.patch
@@ -0,0 +1,10 @@
+--- 1/src/osd/modules/render/bgfx/effect.h
++++ 1/src/osd/modules/render/bgfx/effect.h
+@@ -15,6 +15,7 @@
+
+ #include <vector>
+ #include <map>
++#include <string>
+
+ class bgfx_uniform;
+
diff --git a/games-emulation/sdlmame/files/sdlmame-0.174-tostring.patch b/games-emulation/sdlmame/files/sdlmame-0.174-tostring.patch
new file mode 100644
index 00000000..431856ac
--- /dev/null
+++ b/games-emulation/sdlmame/files/sdlmame-0.174-tostring.patch
@@ -0,0 +1,11 @@
+--- 1/scripts/build/msgfmt.py
++++ 1/scripts/build/msgfmt.py
+@@ -112,7 +112,7 @@
+ 7*4, # start of key index
+ 7*4+len(keys)*8, # start of value index
+ 0, 0) # size and offset of hash table
+- output += array.array("i", offsets).tostring()
++ output += array.array("i", offsets).tobytes()
+ output += ids
+ output += strs
+ return output