diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 04:39:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-15 04:39:16 +0100 |
commit | 80765b090d10ae3f68b00e3befe5859f7212e536 (patch) | |
tree | d624666bb07bce025925d07a966e0fa276bc00c4 /games-emulation/snes9x/files | |
parent | 9f1c285c267548022db687a4fe85501b006d68b7 (diff) |
gentoo auto-resync : 15:07:2023 - 04:39:16
Diffstat (limited to 'games-emulation/snes9x/files')
3 files changed, 0 insertions, 103 deletions
diff --git a/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch b/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch deleted file mode 100644 index 7a0fe8a8bde8..000000000000 --- a/games-emulation/snes9x/files/snes9x-1.53-cross-compile.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/unix/configure.ac -+++ b/unix/configure.ac -@@ -4,7 +4,7 @@ AC_REVISION([$Revision: 1.1 $]) - - AC_CONFIG_SRCDIR([unix.cpp]) - --AC_CANONICAL_TARGET -+AC_CANONICAL_HOST - - AC_PROG_CC - AC_PROG_CXX -@@ -38,7 +38,7 @@ AC_DEFUN([AC_S9X_COMPILER_FLAG], - return (argc); - } - ], -- [snes9x_cv_option_$2="yes"], [snes9x_cv_option_$2="no"]) -+ [snes9x_cv_option_$2="yes"], [snes9x_cv_option_$2="no"], [snes9x_cv_option_$2="yes"]) - ]) - - CXXFLAGS="[$]OLD_CXXFLAGS" -@@ -94,7 +94,7 @@ AC_MSG_CHECKING([whether the OS is Linux]) - - AC_CACHE_VAL([snes9x_cv_linux_os], - [ -- case "$target" in -+ case "$host" in - *-*-linux*) - snes9x_cv_linux_os="yes" - ;; -@@ -332,7 +332,7 @@ AC_DEFUN([AC_S9X_CHECK_SAR], - return (i < 0 ? 0 : 1); - } - ], -- [snes9x_sar_$1="yes"], [snes9x_sar_$1="no"]) -+ [snes9x_sar_$1="yes"], [snes9x_sar_$1="no"], [snes9x_sar_$1=$GCC]) - - CXXFLAGS="[$]OLD_CXXFLAGS" - diff --git a/games-emulation/snes9x/files/snes9x-1.59-build-system.patch b/games-emulation/snes9x/files/snes9x-1.59-build-system.patch deleted file mode 100644 index 2d8f9f05e59f..000000000000 --- a/games-emulation/snes9x/files/snes9x-1.59-build-system.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- snes9x-1.59/unix/configure.ac -+++ snes9x-1.59/unix/configure.ac -@@ -56,37 +56,6 @@ - # *** Execution begins here *** - # ***************************** - --# Test what compiler flags we should use. -- --AC_ARG_ENABLE([debug], -- [AS_HELP_STRING([--enable-debug], -- [leave debug information in the final binary (default: no)])], -- [], [enable_debug="no"]) -- --if test "x$enable_debug" = "xyes"; then -- AC_S9X_COMPILER_FLAG([-g], [g]) -- AC_S9X_COMPILER_FLAG([-O0], [o0]) --else -- AC_S9X_COMPILER_FLAG([-O3], [o3], [ -- AC_S9X_COMPILER_FLAG([-O2], [o2], [ -- AC_S9X_COMPILER_FLAG([-O1], [o1])])]) -- AC_S9X_COMPILER_FLAG([-fomit-frame-pointer], [omit_frame_pointer]) --fi -- --AC_ARG_ENABLE([mtune], -- [AS_HELP_STRING([--enable-mtune], -- [use the specified value for the -mtune/-mcpu flag (default: no)])], -- [], [enable_mtune="no"]) -- --if test "x$enable_mtune" != "xno"; then -- AC_S9X_COMPILER_FLAG([-mtune="$enable_mtune"], [mtune], -- [ -- AC_MSG_WARN([-mtune failed, trying -mcpu...]) -- AC_S9X_COMPILER_FLAG([-mcpu="$enable_mtune"], [mcpu], -- [AC_MSG_ERROR([Please specify a working value for --enable-mtune.])]) -- ]) --fi -- - AC_S9X_COMPILER_FLAG([-fno-exceptions], [no_exceptions]) - AC_S9X_COMPILER_FLAG([-fno-rtti], [no_rtti]) - AC_S9X_COMPILER_FLAG([-pedantic], [pedantic]) diff --git a/games-emulation/snes9x/files/snes9x-1.61-libretro-flags.patch b/games-emulation/snes9x/files/snes9x-1.61-libretro-flags.patch deleted file mode 100644 index 297c7d78257d..000000000000 --- a/games-emulation/snes9x/files/snes9x-1.61-libretro-flags.patch +++ /dev/null @@ -1,25 +0,0 @@ -CXXFLAGS is used as a "common" flags variable and passed to CFLAGS, -but want to use user's CFLAGS for CC rather than CXXFLAGS. Workaround -with a temporary variable and also drop -O3/lto from defaults. ---- a/libretro/Makefile -+++ b/libretro/Makefile -@@ -4,3 +4,5 @@ - --LTO ?= -flto -+LTO := -+ORIG_CXXFLAGS := $(CXXFLAGS) -+CXXFLAGS := - SPACE := -@@ -580,4 +582,4 @@ - else -- CFLAGS += -O3 -DNDEBUG -- CXXFLAGS += -O3 -DNDEBUG -+ CFLAGS += -DNDEBUG -+ CXXFLAGS += -DNDEBUG - endif -@@ -612,3 +614,4 @@ - CXXFLAGS += -DRIGHTSHIFT_IS_SAR -D__LIBRETRO__ -DALLOW_CPU_OVERCLOCK --CFLAGS := $(CXXFLAGS) -+CFLAGS := $(CXXFLAGS) $(CFLAGS) -+CXXFLAGS += $(ORIG_CXXFLAGS) - CFLAGS += -DHAVE_STDINT_H |