aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2011-10-21 16:02:31 +0000
committerPawel Pekala <pawel@FreeBSD.org>2011-10-21 16:02:31 +0000
commit0ebb65cbba99afa379561ad0fd6757f2cd920f82 (patch)
tree5746602d4f24f05b0ca6781d0b13ccc16b7d71a5 /emulators
parent5a29638c6b5012aac80f9b46045c16ecb53a808a (diff)
downloadports-0ebb65cbba99afa379561ad0fd6757f2cd920f82.tar.gz
ports-0ebb65cbba99afa379561ad0fd6757f2cd920f82.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/dosbox/Makefile1
-rw-r--r--emulators/dosbox/files/patch-include-dos_inc.h11
-rw-r--r--emulators/dosbox/files/patch-include-setup.h11
3 files changed, 23 insertions, 0 deletions
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index b216ead873c3..3858ef30b345 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dosbox
PORTVERSION= 0.74
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF
diff --git a/emulators/dosbox/files/patch-include-dos_inc.h b/emulators/dosbox/files/patch-include-dos_inc.h
new file mode 100644
index 000000000000..71d0fbc91b70
--- /dev/null
+++ b/emulators/dosbox/files/patch-include-dos_inc.h
@@ -0,0 +1,11 @@
+--- include/dos_inc.h.orig 2010-05-10 13:43:54.000000000 -0400
++++ include/dos_inc.h 2011-10-18 12:05:51.186449095 -0400
+@@ -28,6 +28,8 @@
+ #include "mem.h"
+ #endif
+
++#include <stddef.h>
++
+ #ifdef _MSC_VER
+ #pragma pack (1)
+ #endif
diff --git a/emulators/dosbox/files/patch-include-setup.h b/emulators/dosbox/files/patch-include-setup.h
new file mode 100644
index 000000000000..e49ad22f0154
--- /dev/null
+++ b/emulators/dosbox/files/patch-include-setup.h
@@ -0,0 +1,11 @@
+--- include/setup.h.orig 2011-10-18 12:06:07.227092555 -0400
++++ include/setup.h 2011-10-18 12:06:26.200853712 -0400
+@@ -21,6 +21,8 @@
+ #ifndef DOSBOX_SETUP_H
+ #define DOSBOX_SETUP_H
+
++#include <stdio.h>
++
+ #ifdef _MSC_VER
+ #pragma warning ( disable : 4786 )
+ #pragma warning ( disable : 4290 )