svn commit: r546155 - head/games/libretro-uae/files

Piotr Kubaj pkubaj at FreeBSD.org
Tue Aug 25 11:38:18 UTC 2020


Author: pkubaj
Date: Tue Aug 25 11:38:17 2020
New Revision: 546155
URL: https://svnweb.freebsd.org/changeset/ports/546155

Log:
  games/libretro-uae: fix build on powerpc*
  
  ifdef powerpc needs to be added to prevent compiling code with bad assembly.
  
  MFH:		2020Q3 (fix build blanket)

Added:
  head/games/libretro-uae/files/patch-sources_src_machdep_m68kops.h   (contents, props changed)
  head/games/libretro-uae/files/patch-sources_src_machdep_maccess.h   (contents, props changed)

Added: head/games/libretro-uae/files/patch-sources_src_machdep_m68kops.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-uae/files/patch-sources_src_machdep_m68kops.h	Tue Aug 25 11:38:17 2020	(r546155)
@@ -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

Added: head/games/libretro-uae/files/patch-sources_src_machdep_maccess.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/libretro-uae/files/patch-sources_src_machdep_maccess.h	Tue Aug 25 11:38:17 2020	(r546155)
@@ -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)
+ {


More information about the svn-ports-head mailing list