summaryrefslogtreecommitdiff
path: root/user/dosbox
diff options
context:
space:
mode:
Diffstat (limited to 'user/dosbox')
-rw-r--r--user/dosbox/APKBUILD8
-rw-r--r--user/dosbox/posix-headers.patch10
2 files changed, 15 insertions, 3 deletions
diff --git a/user/dosbox/APKBUILD b/user/dosbox/APKBUILD
index f346f79fb..88436520d 100644
--- a/user/dosbox/APKBUILD
+++ b/user/dosbox/APKBUILD
@@ -14,6 +14,7 @@ makedepends="ncurses-dev zlib-dev libxkbfile-dev libpng-dev libpcap-dev fluidsyn
source="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-wip-20180513-1316.tar.gz
porttalk-fix.patch
asmfix.patch
+ posix-headers.patch
"
builddir="$srcdir/dosbox-x-dosbox-x-wip-20180513-1316"
@@ -29,6 +30,7 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="38b7423b695f3b0dfd26f8c8913f26afba73ea6235bb205ec3a5d7f08ef3c74a9b6ce2577f0ea8eb49724b548e3386332256d13f27469b165986702650638992 dosbox-x-wip-20180513-1316.tar.gz
-daf0efea03d6295f5a20d8d197f7d0ba38e0608edcfe8be19fc6091b783885d523557674f0f7df83b88186b77794723106cf7a0e02125d2cc75ecfd7d51fa91d porttalk-fix.patch
-266ede57d21030f7752287f18660b47e9185a9aef9d022337dded9c9ce93e572691b41aca878f8a28c67bf5d217c7e84912336c21aacf594085dc31d99862ebf asmfix.patch" \ No newline at end of file
+sha512sums="38b7423b695f3b0dfd26f8c8913f26afba73ea6235bb205ec3a5d7f08ef3c74a9b6ce2577f0ea8eb49724b548e3386332256d13f27469b165986702650638992 dosbox-x-wip-20180513-1316.tar.gz
+daf0efea03d6295f5a20d8d197f7d0ba38e0608edcfe8be19fc6091b783885d523557674f0f7df83b88186b77794723106cf7a0e02125d2cc75ecfd7d51fa91d porttalk-fix.patch
+266ede57d21030f7752287f18660b47e9185a9aef9d022337dded9c9ce93e572691b41aca878f8a28c67bf5d217c7e84912336c21aacf594085dc31d99862ebf asmfix.patch
+462e84d5bac8fb2c1317b303d1bdda72a50e9eedfb5251450cb8d0f98f4297d6a483eb2c95624cbc8d25e917788032dd1e7d8b0d06d82dad6600f8bd6eec85f4 posix-headers.patch"
diff --git a/user/dosbox/posix-headers.patch b/user/dosbox/posix-headers.patch
new file mode 100644
index 000000000..3ed6bb07a
--- /dev/null
+++ b/user/dosbox/posix-headers.patch
@@ -0,0 +1,10 @@
+--- dosbox/src/dos/drive_local.cpp 2018-05-13 14:52:17.000000000 -0500
++++ dosbox/src/dos/drive_local.cpp 2018-05-27 02:24:20.057150551 -0500
+@@ -22,6 +22,7 @@
+ #include <string.h>
+ #include <time.h>
+ #include <errno.h>
++#include <limits.h>
+
+ #include "dosbox.h"
+ #include "dos_inc.h"