Date: Tue, 18 Oct 2011 16:41:51 -0400 From: "Christian Mangin" <cmangin@arobas.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/161782: [PATCH] emulators/dosbox: Fix build with gcc46 Message-ID: <201110182041.p9IKfpqY022830@mx3.b2b2c.ca> Resent-Message-ID: <201110182100.p9IL0JVl045656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161782 >Category: ports >Synopsis: [PATCH] emulators/dosbox: Fix build with gcc46 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 18 21:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Christian Mangin >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD titan 8.2-STABLE FreeBSD 8.2-STABLE #5: Thu Oct 6 12:36:11 EDT 2011 cmangin@titan:/usr/obj/usr/src/sys/TITAN amd64 >Description: This port fails to build with USE_GCC=4.6 >How-To-Repeat: >Fix: Patch attached with submission. --- patch.dosbox begins here --- diff -ruN dosbox.orig/files/patch-include-dos_inc.h dosbox/files/patch-include-dos_inc.h --- dosbox.orig/files/patch-include-dos_inc.h 1969-12-31 19:00:00.000000000 -0500 +++ dosbox/files/patch-include-dos_inc.h 2011-10-18 12:07:45.085017000 -0400 @@ -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 -ruN dosbox.orig/files/patch-include-setup.h dosbox/files/patch-include-setup.h --- dosbox.orig/files/patch-include-setup.h 1969-12-31 19:00:00.000000000 -0500 +++ dosbox/files/patch-include-setup.h 2011-10-18 12:07:45.085017000 -0400 @@ -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 ) --- patch.dosbox ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110182041.p9IKfpqY022830>