[lfs-patches] r3043 - trunk/dosbox

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Fri Oct 17 12:54:31 PDT 2014


Author: igor
Date: Fri Oct 17 12:54:31 2014
New Revision: 3043

Log:
dosbox build fix patch

Added:
   trunk/dosbox/
   trunk/dosbox/dosbox-0.74-gcc46-1.patch

Added: trunk/dosbox/dosbox-0.74-gcc46-1.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/dosbox/dosbox-0.74-gcc46-1.patch	Fri Oct 17 12:54:31 2014	(r3043)
@@ -0,0 +1,19 @@
+Submitted By:            Igor Živković
+Date:                    2014-10-17
+Initial Package Version: 0.74
+Upstream Status:         Fixed
+Origin:                  Upstream
+Description:             Fixes build with gcc version >= 4.6.
+
+diff -Naur dosbox-0.74.orig/include/dos_inc.h dosbox-0.74/include/dos_inc.h
+--- dosbox-0.74.orig/include/dos_inc.h	2010-05-10 19:43:54.000000000 +0200
++++ dosbox-0.74/include/dos_inc.h	2014-10-17 21:44:03.666520211 +0200
+@@ -28,6 +28,8 @@
+ #include "mem.h"
+ #endif
+ 
++#include <stddef.h>
++
+ #ifdef _MSC_VER
+ #pragma pack (1)
+ #endif


More information about the patches mailing list