mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| 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"
 | |
| 
 |