diff options
Diffstat (limited to 'games-emulation/gens-gs/files')
-rw-r--r-- | games-emulation/gens-gs/files/amd64.patch | 44 | ||||
-rw-r--r-- | games-emulation/gens-gs/files/gtk_build_fix.patch | 14 | ||||
-rw-r--r-- | games-emulation/gens-gs/files/libtool.patch | 9 |
3 files changed, 67 insertions, 0 deletions
diff --git a/games-emulation/gens-gs/files/amd64.patch b/games-emulation/gens-gs/files/amd64.patch new file mode 100644 index 0000000..c70890e --- /dev/null +++ b/games-emulation/gens-gs/files/amd64.patch @@ -0,0 +1,44 @@ +diff -ur ./gens-gs-r7/src/cbob/Makefile.am ./gens-gs-r7-amd64/src/cbob/Makefile.am +--- ./gens-gs-r7/src/cbob/Makefile.am 2009-10-12 01:08:43.000000000 +0400 ++++ ./gens-gs-r7-amd64/src/cbob/Makefile.am 2014-03-21 21:35:03.188561520 +0400 +@@ -10,7 +10,7 @@ + # cross-compiling for Win32. + # NOTE: This will only work with gcc. + cbob.o: cbob.c +- $(build_alias)-gcc -o cbob.o -c ${srcdir}/cbob.c ++ $(CC) -o cbob.o -c ${srcdir}/cbob.c + + cbob$(EXEEXT): cbob.o +- $(build_alias)-gcc -o cbob$(EXEEXT) cbob.o ++ $(CC) -o cbob$(EXEEXT) cbob.o +diff -ur ./gens-gs-r7/src/starscream/Makefile.am ./gens-gs-r7-amd64/src/starscream/Makefile.am +--- ./gens-gs-r7/src/starscream/Makefile.am 2009-11-02 03:11:43.000000000 +0300 ++++ ./gens-gs-r7-amd64/src/starscream/Makefile.am 2014-03-21 21:34:36.571017240 +0400 +@@ -17,9 +17,9 @@ + # cross-compiling for Win32. + # NOTE: This will only work with gcc. + star_m68k$(EXEEXT): +- $(build_alias)-gcc -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c ++ $(CC) -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c + star_s68k$(EXEEXT): +- $(build_alias)-gcc -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c ++ $(CC) -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c + + main68k.asm: star_m68k$(EXEEXT) + ./star_m68k$(EXEEXT) main68k.asm -hog -name main68k_ +diff -ur ./gens-gs-r7/src/starscream/Makefile.in ./gens-gs-r7-amd64/src/starscream/Makefile.in +--- ./gens-gs-r7/src/starscream/Makefile.in 2014-03-21 21:34:10.838491057 +0400 ++++ ./gens-gs-r7-amd64/src/starscream/Makefile.in 2014-03-21 21:34:36.571017240 +0400 +@@ -642,9 +642,9 @@ + # cross-compiling for Win32. + # NOTE: This will only work with gcc. + star_m68k$(EXEEXT): +- $(build_alias)-gcc -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c ++ $(CC) -o star_m68k$(EXEEXT) ${srcdir}/star_m68k.c + star_s68k$(EXEEXT): +- $(build_alias)-gcc -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c ++ $(CC) -o star_s68k$(EXEEXT) ${srcdir}/star_s68k.c + + main68k.asm: star_m68k$(EXEEXT) + ./star_m68k$(EXEEXT) main68k.asm -hog -name main68k_ +Только в ./gens-gs-r7-amd64/src/starscream: Makefile.in.orig diff --git a/games-emulation/gens-gs/files/gtk_build_fix.patch b/games-emulation/gens-gs/files/gtk_build_fix.patch new file mode 100644 index 0000000..faa5419 --- /dev/null +++ b/games-emulation/gens-gs/files/gtk_build_fix.patch @@ -0,0 +1,14 @@ +diff --git a/configure.ac b/configure.ac +index 7a5bac4..92a150b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -195,9 +195,6 @@ ifdef( + ) + AC_DEFINE(GENS_UI_GTK, 1, Enable the GTK+ UI) + +-# TODO: Disable deprecated GTK+ features. +-GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_DEPRECATED -DDISABLE_DEPRECATED -DGSEAL_ENABLE" +- + #elif test x$ui = xqt4; then + # + # Qt4 diff --git a/games-emulation/gens-gs/files/libtool.patch b/games-emulation/gens-gs/files/libtool.patch new file mode 100644 index 0000000..088ef17 --- /dev/null +++ b/games-emulation/gens-gs/files/libtool.patch @@ -0,0 +1,9 @@ +diff -ur ./gens-gs-r7/src/gens/Makefile.unix.inc.am ./gens-gs-r7-r1/src/gens/Makefile.unix.inc.am +--- ./gens-gs-r7/src/gens/Makefile.unix.inc.am 2009-11-22 20:42:02.000000000 +0300 ++++ ./gens-gs-r7-r1/src/gens/Makefile.unix.inc.am 2014-03-22 22:33:10.758229054 +0400 +@@ -139,3 +139,5 @@ + if GENS_OPENGL + gens_LDADD += @GL_LIBS@ + endif ++ ++gens_LDADD += -ldl -lX11 |