From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 18 21:00:19 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A94B41065674 for ; Tue, 18 Oct 2011 21:00:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 55B8C8FC14 for ; Tue, 18 Oct 2011 21:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9IL0JTJ045657 for ; Tue, 18 Oct 2011 21:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9IL0JVl045656; Tue, 18 Oct 2011 21:00:19 GMT (envelope-from gnats) Resent-Date: Tue, 18 Oct 2011 21:00:19 GMT Resent-Message-Id: <201110182100.p9IL0JVl045656@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christian Mangin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D92F106566C for ; Tue, 18 Oct 2011 20:50:22 +0000 (UTC) (envelope-from cmangin@arobas.net) Received: from mx3.b2b2c.ca (mx3.b2b2c.ca [66.158.128.32]) by mx1.freebsd.org (Postfix) with ESMTP id BD2188FC12 for ; Tue, 18 Oct 2011 20:50:21 +0000 (UTC) Received: from titan.lan (cable-10-153-142.b2b2c.ca [72.10.153.142]) by mx3.b2b2c.ca (8.13.8/8.13.8) with SMTP id p9IKfpqY022830 for ; Tue, 18 Oct 2011 16:41:51 -0400 Received: by titan.lan (sSMTP sendmail emulation); Tue, 18 Oct 2011 16:41:51 -0400 Message-Id: <201110182041.p9IKfpqY022830@mx3.b2b2c.ca> Date: Tue, 18 Oct 2011 16:41:51 -0400 From: "Christian Mangin" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/161782: [PATCH] emulators/dosbox: Fix build with gcc46 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Christian Mangin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Oct 2011 21:00:19 -0000 >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 ++ + #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 ++ + #ifdef _MSC_VER + #pragma warning ( disable : 4786 ) + #pragma warning ( disable : 4290 ) --- patch.dosbox ends here --- >Release-Note: >Audit-Trail: >Unformatted: