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:
parent
5a29638c6b
commit
0ebb65cbba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284069
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= dosbox
|
||||
PORTVERSION= 0.74
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
11
emulators/dosbox/files/patch-include-dos_inc.h
Normal file
11
emulators/dosbox/files/patch-include-dos_inc.h
Normal 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
|
11
emulators/dosbox/files/patch-include-setup.h
Normal file
11
emulators/dosbox/files/patch-include-setup.h
Normal 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 )
|
Loading…
Reference in New Issue
Block a user