aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-11-11 08:43:16 +0800
committerKyle Evans <kevans@FreeBSD.org>2020-11-11 08:43:16 +0800
commitb92c58a980d23483a63640e2d48fb1b1128a64be (patch)
tree86f0e184167f1ff96329e66e34c8a6b155981c71 /games
parent119f90d4f4e6b7134b94969fe716add9f3ad7aeb (diff)
downloadfreebsd-ports-gnome-b92c58a980d23483a63640e2d48fb1b1128a64be.tar.gz
freebsd-ports-gnome-b92c58a980d23483a63640e2d48fb1b1128a64be.tar.zst
freebsd-ports-gnome-b92c58a980d23483a63640e2d48fb1b1128a64be.zip
games/libretro-mu: fix -fno-common fallout on armv7
Not yet clear is why this wasn't hit on amd64, because it's clearly an issue. -fno-common became the default in LLVM11/GCC10.
Diffstat (limited to 'games')
-rw-r--r--games/libretro-mu/files/patch-src_pxa260_pxa260__LCD.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/libretro-mu/files/patch-src_pxa260_pxa260__LCD.h b/games/libretro-mu/files/patch-src_pxa260_pxa260__LCD.h
new file mode 100644
index 000000000000..552b80f2cde5
--- /dev/null
+++ b/games/libretro-mu/files/patch-src_pxa260_pxa260__LCD.h
@@ -0,0 +1,11 @@
+--- src/pxa260/pxa260_LCD.h.orig 2020-11-11 00:36:26 UTC
++++ src/pxa260/pxa260_LCD.h
+@@ -4,7 +4,7 @@
+ #include "pxa260_CPU.h"
+ #include "pxa260_IC.h"
+
+-uint16_t* pxa260Framebuffer;
++extern uint16_t* pxa260Framebuffer;
+
+ /*
+ PXA260 OS LCD controller