git: 2efdd7b5cb59 - main - multimedia/musikcube: fix build on powerpc64le
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Apr 6 12:28:29 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2efdd7b5cb59bf6e747f77722b0e0b8cf0e4dac2
commit 2efdd7b5cb59bf6e747f77722b0e0b8cf0e4dac2
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-06 12:29:00 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-06 12:29:00 +0000
multimedia/musikcube: fix build on powerpc64le
Same issue as audio/deadbeef.
---
.../files/patch-src_plugins_gmedecoder_gme_blargg__endian.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/multimedia/musikcube/files/patch-src_plugins_gmedecoder_gme_blargg__endian.h b/multimedia/musikcube/files/patch-src_plugins_gmedecoder_gme_blargg__endian.h
new file mode 100644
index 000000000000..7613a988e0f7
--- /dev/null
+++ b/multimedia/musikcube/files/patch-src_plugins_gmedecoder_gme_blargg__endian.h
@@ -0,0 +1,13 @@
+--- src/plugins/gmedecoder/gme/blargg_endian.h.orig 2021-04-05 20:58:30 UTC
++++ src/plugins/gmedecoder/gme/blargg_endian.h
+@@ -34,9 +34,7 @@
+ #if defined (LSB_FIRST) || defined (__LITTLE_ENDIAN__) || BLARGG_CPU_X86 || \
+ (defined (LITTLE_ENDIAN) && LITTLE_ENDIAN+0 != 1234)
+ #define BLARGG_LITTLE_ENDIAN 1
+-#endif
+-
+-#if defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
++#elif defined (MSB_FIRST) || defined (__BIG_ENDIAN__) || defined (WORDS_BIGENDIAN) || \
+ defined (__sparc__) || BLARGG_CPU_POWERPC || \
+ (defined (BIG_ENDIAN) && BIG_ENDIAN+0 != 4321)
+ #define BLARGG_BIG_ENDIAN 1
More information about the dev-commits-ports-all
mailing list