mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
MFH: r546155
games/libretro-uae: fix build on powerpc* ifdef powerpc needs to be added to prevent compiling code with bad assembly. Approved by: portmgr (fix build blanket)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- sources/src/machdep/m68kops.h.orig 2020-08-25 11:26:10 UTC
|
||||
+++ sources/src/machdep/m68kops.h
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#ifndef ANDROID
|
||||
|
||||
-#if defined(__CELLOS_LV2__) || defined(_WIN32) || defined(__x86_64__) || defined(ARM) || defined(WIIU)
|
||||
+#if defined(__CELLOS_LV2__) || defined(_WIN32) || defined(__x86_64__) || defined(ARM) || defined(WIIU) || defined(__powerpc__)
|
||||
|
||||
#ifdef WIIU
|
||||
#define FLAGBIT_N 31
|
||||
@@ -0,0 +1,11 @@
|
||||
--- sources/src/machdep/maccess.h.orig 2020-08-25 11:25:48 UTC
|
||||
+++ sources/src/machdep/maccess.h
|
||||
@@ -6,7 +6,7 @@
|
||||
* Copyright 1996 Bernd Schmidt
|
||||
*/
|
||||
|
||||
-#if defined(__CELLOS_LV2__) || defined(WIIU)
|
||||
+#if defined(__CELLOS_LV2__) || defined(WIIU) || defined(__powerpc__)
|
||||
|
||||
STATIC_INLINE uae_u32 do_get_mem_long (uae_u32 *a)
|
||||
{
|
||||
Reference in New Issue
Block a user