Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2021 12:28:28 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2efdd7b5cb59 - main - multimedia/musikcube: fix build on powerpc64le
Message-ID:  <202104061228.136CSSiB035488@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2efdd7b5cb59bf6e747f77722b0e0b8cf0e4dac2

commit 2efdd7b5cb59bf6e747f77722b0e0b8cf0e4dac2
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-04-06 12:29:00 +0000
Commit:     Piotr Kubaj <pkubaj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104061228.136CSSiB035488>