Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2021 12:19:42 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: de86a3033c90 - main - audio/inscore: fix build on powerpc64
Message-ID:  <202111071219.1A7CJgH5095238@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=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



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