aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/dosbox-x/files/sys-perm.patch')
-rw-r--r--games-emulation/dosbox-x/files/sys-perm.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-emulation/dosbox-x/files/sys-perm.patch b/games-emulation/dosbox-x/files/sys-perm.patch
new file mode 100644
index 0000000..43f1ba5
--- /dev/null
+++ b/games-emulation/dosbox-x/files/sys-perm.patch
@@ -0,0 +1,12 @@
+--- a/src/libs/porttalk/porttalk.cpp 2020-03-01 10:25:52.000000000 +0800
++++ b/src/libs/porttalk/porttalk.cpp 2020-03-01 21:06:30.937404111 +0800
+@@ -239,7 +239,7 @@
+ #ifdef LINUX
+ # if defined(__i386__) || defined(__amd64__) || defined(__x86_64__)
+ // This Linux ioperm only works up to port 0x3FF
+-#include <sys/perm.h>
++#include <sys/io.h>
+ // For musl-libc based toolchain, use <sys/io.h> instead of <sys/perm.h>
+ //#include <sys/io.h>
+
+