summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-05-07 07:51:24 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-05-07 10:23:05 -0400
commit90a97a9afc8ec509ea164c7e91bb6ff0f4a3e772 (patch)
treef88c7d44bd31cf508be09b535912e542913715dd /app-emulation
parentapp-emulation/dxvk: drop 2.2-r1, 2.3 (diff)
downloadgentoo-90a97a9afc8ec509ea164c7e91bb6ff0f4a3e772.tar.gz
gentoo-90a97a9afc8ec509ea164c7e91bb6ff0f4a3e772.tar.bz2
gentoo-90a97a9afc8ec509ea164c7e91bb6ff0f4a3e772.zip
app-emulation/dxvk: fix build with gcc14
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/dxvk/dxvk-2.3.1-r1.ebuild1
-rw-r--r--app-emulation/dxvk/dxvk-9999.ebuild1
-rw-r--r--app-emulation/dxvk/files/dxvk-2.3.1-gcc14.patch7
3 files changed, 9 insertions, 0 deletions
diff --git a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
index 71e43a8fd5eb..83b5127b668d 100644
--- a/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
+++ b/app-emulation/dxvk/dxvk-2.3.1-r1.ebuild
@@ -55,6 +55,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.10.3-wow64-setup.patch
+ "${FILESDIR}"/${PN}-2.3.1-gcc14.patch
)
pkg_pretend() {
diff --git a/app-emulation/dxvk/dxvk-9999.ebuild b/app-emulation/dxvk/dxvk-9999.ebuild
index 210cfcc0e294..d5c49f045d48 100644
--- a/app-emulation/dxvk/dxvk-9999.ebuild
+++ b/app-emulation/dxvk/dxvk-9999.ebuild
@@ -55,6 +55,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.10.3-wow64-setup.patch
+ "${FILESDIR}"/${PN}-2.3.1-gcc14.patch
)
pkg_pretend() {
diff --git a/app-emulation/dxvk/files/dxvk-2.3.1-gcc14.patch b/app-emulation/dxvk/files/dxvk-2.3.1-gcc14.patch
new file mode 100644
index 000000000000..957735b1909e
--- /dev/null
+++ b/app-emulation/dxvk/files/dxvk-2.3.1-gcc14.patch
@@ -0,0 +1,7 @@
+for std::remove_if
+--- a/src/d3d9/d3d9_mem.cpp
++++ b/src/d3d9/d3d9_mem.cpp
+@@ -5,2 +5,3 @@
+ #include "../util/util_likely.h"
++#include <algorithm>
+ #include <utility>