aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dosbox/pic-fix.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/dosbox/pic-fix.patch
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/dosbox/pic-fix.patch')
-rw-r--r--unmaintained/dosbox/pic-fix.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/unmaintained/dosbox/pic-fix.patch b/unmaintained/dosbox/pic-fix.patch
new file mode 100644
index 0000000000..74d26ff441
--- /dev/null
+++ b/unmaintained/dosbox/pic-fix.patch
@@ -0,0 +1,35 @@
+diff --exclude '*.*o' -ru 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 20:43:54.000000000 -0300
++++ dosbox-0.74/include/dos_inc.h 2014-07-17 11:00:44.418771087 -0300
+@@ -21,6 +21,7 @@
+ #ifndef DOSBOX_DOS_INC_H
+ #define DOSBOX_DOS_INC_H
+
++#include <stddef.h>
+ #ifndef DOSBOX_DOS_SYSTEM_H
+ #include "dos_system.h"
+ #endif
+diff --exclude '*.*o' -ru dosbox-0.74.orig/src/cpu/core_dyn_x86/risc_x86.h dosbox-0.74/src/cpu/core_dyn_x86/risc_x86.h
+--- dosbox-0.74.orig/src/cpu/core_dyn_x86/risc_x86.h 2010-05-10 20:43:54.000000000 -0300
++++ dosbox-0.74/src/cpu/core_dyn_x86/risc_x86.h 2014-07-17 11:00:12.432277706 -0300
+@@ -112,7 +112,7 @@
+ pop ebx
+ mov [retval],eax
+ }
+-#elif defined (MACOSX)
++#elif defined (MACOSX) || defined (__PIC__)
+ register Bit32u tempflags=reg_flags & FMASK_TEST;
+ __asm__ volatile (
+ "pushl %%ebx \n"
+diff --exclude '*.*o' -ru dosbox-0.74.orig/src/cpu/cpu.cpp dosbox-0.74/src/cpu/cpu.cpp
+--- dosbox-0.74.orig/src/cpu/cpu.cpp 2010-05-12 12:57:31.000000000 -0300
++++ dosbox-0.74/src/cpu/cpu.cpp 2014-07-17 10:57:04.226630637 -0300
+@@ -19,6 +19,7 @@
+ /* $Id: cpu.cpp,v 1.116 2009-03-16 18:10:08 c2woody Exp $ */
+
+ #include <assert.h>
++#include <stddef.h>
+ #include <sstream>
+ #include "dosbox.h"
+ #include "cpu.h"
+