1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix build with gcc 4.6

PR:		ports/161782
Submitted by:	Christian Mangin <cmangin@arobas.net>
Approved by:	maintainer
This commit is contained in:
Pawel Pekala 2011-10-21 16:02:31 +00:00
parent 5a29638c6b
commit 0ebb65cbba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284069
3 changed files with 23 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= dosbox
PORTVERSION= 0.74
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= SF

View File

@ -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

View File

@ -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 )