diff options
Diffstat (limited to 'app-emulation/gallium-nine-standalone/files')
3 files changed, 44 insertions, 28 deletions
diff --git a/app-emulation/gallium-nine-standalone/files/0.8-cross-files.patch b/app-emulation/gallium-nine-standalone/files/0.8-cross-files.patch new file mode 100644 index 000000000000..7aacc7b8bd9b --- /dev/null +++ b/app-emulation/gallium-nine-standalone/files/0.8-cross-files.patch @@ -0,0 +1,32 @@ +diff --color -Naur a/tools/cross-wine32.in b/tools/cross-wine32.in +--- a/tools/cross-wine32.in 2021-04-24 11:27:05.044134837 +0100 ++++ b/tools/cross-wine32.in 2021-04-24 11:28:55.880227178 +0100 +@@ -5,9 +5,10 @@ + pkgconfig = '@PKG_CONFIG@' + + [properties] +-c_args = ['-m32'] +-c_link_args = ['-m32', '-mwindows', '-L@WINE32_LIBDIR@'] ++c_args = @CFLAGS@ + ['-m32'] ++c_link_args = @LDFLAGS@ + ['-m32', '-mwindows', '-L@WINE32_LIBDIR@'] + needs_exe_wrapper = true ++pkg_config_libdir = '@PKG_CONFIG_LIBDIR@' + + [host_machine] + system = 'linux' +diff --color -Naur a/tools/cross-wine64.in b/tools/cross-wine64.in +--- a/tools/cross-wine64.in 2021-04-24 11:27:05.044134837 +0100 ++++ b/tools/cross-wine64.in 2021-04-24 11:29:14.999766636 +0100 +@@ -5,9 +5,10 @@ + pkgconfig = '@PKG_CONFIG@' + + [properties] +-c_args = ['-m64'] +-c_link_args = ['-m64', '-mwindows', '-L@WINE64_LIBDIR@'] ++c_args = @CFLAGS@ + ['-m64'] ++c_link_args = @LDFLAGS@ + ['-m64', '-mwindows', '-L@WINE64_LIBDIR@'] + needs_exe_wrapper = true ++pkg_config_libdir = '@PKG_CONFIG_LIBDIR@' + + [host_machine] + system = 'linux' diff --git a/app-emulation/gallium-nine-standalone/files/0.9-nine-dll-path.patch b/app-emulation/gallium-nine-standalone/files/0.9-nine-dll-path.patch new file mode 100644 index 000000000000..14c2b30a741f --- /dev/null +++ b/app-emulation/gallium-nine-standalone/files/0.9-nine-dll-path.patch @@ -0,0 +1,12 @@ +diff -Naur a/ninewinecfg/main.c b/ninewinecfg/main.c +--- a/ninewinecfg/main.c 2023-03-10 08:32:25.000000000 +0000 ++++ b/ninewinecfg/main.c 2023-10-29 22:49:15.919529033 +0000 +@@ -28,7 +28,7 @@ + #include "../common/registry.h" + #include "resource.h" + +-static const char * const fn_nine_dll = "d3d9-nine.dll"; ++static const char * const fn_nine_dll = G9DLL; + static const char * const fn_backup_dll = "d3d9-nine.bak"; + static const char * const fn_d3d9_dll = "d3d9.dll"; + static const char * const fn_nine_exe = "ninewinecfg.exe"; diff --git a/app-emulation/gallium-nine-standalone/files/flags.patch b/app-emulation/gallium-nine-standalone/files/flags.patch deleted file mode 100644 index 217dcddf35b9..000000000000 --- a/app-emulation/gallium-nine-standalone/files/flags.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur a/tools/cross-wine32.in b/tools/cross-wine32.in ---- a/tools/cross-wine32.in 2019-01-12 16:45:09.190471883 +0000 -+++ b/tools/cross-wine32.in 2019-01-12 16:48:22.569404982 +0000 -@@ -5,8 +5,8 @@ - pkgconfig = '@PKG_CONFIG@' - - [properties] --c_args = ['-m32', '--no-gnu-unique'] --c_link_args = ['-m32', '-mwindows'] -+c_args = @CFLAGS@ + ['-m32', '--no-gnu-unique'] -+c_link_args = @LDFLAGS@ + ['-m32', '-mwindows'] - needs_exe_wrapper = true - - [host_machine] -diff -Naur a/tools/cross-wine64.in b/tools/cross-wine64.in ---- a/tools/cross-wine64.in 2019-01-12 16:45:09.190471883 +0000 -+++ b/tools/cross-wine64.in 2019-01-12 16:48:19.865349306 +0000 -@@ -5,8 +5,8 @@ - pkgconfig = '@PKG_CONFIG@' - - [properties] --c_args = ['-m64', '--no-gnu-unique'] --c_link_args = ['-m64', '-mwindows'] -+c_args = @CFLAGS@ + ['-m64', '--no-gnu-unique'] -+c_link_args = @LDFLAGS@ + ['-m64', '-mwindows'] - needs_exe_wrapper = true - - [host_machine] |