diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-21 16:02:31 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-10-21 16:02:31 +0000 |
commit | 0ebb65cbba99afa379561ad0fd6757f2cd920f82 (patch) | |
tree | 5746602d4f24f05b0ca6781d0b13ccc16b7d71a5 | |
parent | - Add missing PORTEPOCH. It is present on previous version of opera-devel (diff) |
Fix build with gcc 4.6
PR: ports/161782
Submitted by: Christian Mangin <cmangin@arobas.net>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=284069
-rw-r--r-- | emulators/dosbox/Makefile | 1 | ||||
-rw-r--r-- | emulators/dosbox/files/patch-include-dos_inc.h | 11 | ||||
-rw-r--r-- | emulators/dosbox/files/patch-include-setup.h | 11 |
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 ) |