summaryrefslogtreecommitdiff
path: root/community/dosbox/gcc46.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-17 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2011-11-17 23:14:48 +0000
commit029ccb02a25d48cdc39a7e749c17fa8bc9fb84e3 (patch)
tree908f9408ef6f7dbb40964c3d7000ff4668efe6af /community/dosbox/gcc46.patch
parentb3531e5acd3f55613eddde5591eb2e880fa96ed8 (diff)
Thu Nov 17 23:14:48 UTC 2011
Diffstat (limited to 'community/dosbox/gcc46.patch')
-rw-r--r--community/dosbox/gcc46.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/dosbox/gcc46.patch b/community/dosbox/gcc46.patch
new file mode 100644
index 000000000..eae9ae63e
--- /dev/null
+++ b/community/dosbox/gcc46.patch
@@ -0,0 +1,12 @@
+diff -aur dosbox-0.74/include/dos_inc.h dosbox-0.74.new//include/dos_inc.h
+--- dosbox-0.74/include/dos_inc.h 2010-05-10 17:43:54.000000000 +0000
++++ dosbox-0.74.new//include/dos_inc.h 2011-06-17 20:42:43.982548979 +0000
+@@ -28,6 +28,8 @@
+ #include "mem.h"
+ #endif
+
++#include <stddef.h> //for offsetof
++
+ #ifdef _MSC_VER
+ #pragma pack (1)
+ #endif