git: de86a3033c90 - main - audio/inscore: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Nov 2021 12:19:42 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de86a3033c90d68ce7ecab8c88532269603c8c1d
commit de86a3033c90d68ce7ecab8c88532269603c8c1d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-07 12:14:56 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-07 12:14:56 +0000
audio/inscore: fix build on powerpc64
Doesn't correctly detect endianness:
In file included from /wrkdirs/usr/ports/audio/inscore/work/inscore-128/lib/oscpack/osc/OscOutboundPacketStream.cpp:41:
/wrkdirs/usr/ports/audio/inscore/work/inscore-128/lib/oscpack/osc/OscHostEndianness.h:64:2: error: please edit OSCHostEndianness.h to configure endianness
---
audio/inscore/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/audio/inscore/Makefile b/audio/inscore/Makefile
index cd6d8fe2ef52..3fa27b4277d9 100644
--- a/audio/inscore/Makefile
+++ b/audio/inscore/Makefile
@@ -25,6 +25,7 @@ GH_TUPLE= grame-cncm:guidolib:3cf3d88:guidolib/modules/guidolib # this uses some
CMAKE_SOURCE_PATH= ${WRKSRC}/build
CXXFLAGS+= -I${LOCALBASE}/include/guido -I${LOCALBASE}/include/guidoar
+CXXFLAGS_powerpc64= -DOSC_HOST_BIG_ENDIAN
OPTIONS_DEFINE= DOCS EXAMPLES
OPTIONS_DEFAULT= DOCS EXAMPLES