From nobody Wed Jan 26 00:17:44 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 330171960B01; Wed, 26 Jan 2022 00:17:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jk46x0P52z3MDd; Wed, 26 Jan 2022 00:17:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643156265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MTXJzHzBGXPgPIaiWKFIQ79/YkmR8E44mLgfNvPvGj4=; b=O1ApeC/Z2thzP2jBCuM2dAxx4bW+6/4zz+TfidyFTf5cK5LuzeNixCypsT8u6xX1I5jwUa oDR71e3iN3U+78/hQ1wUViHpiI7+Z8vOp3VxFxnrNbU6fciTI1Hjydf3pYWUCB59LGGqj3 bDfXlMXUQg4nX/xQAu4IvgSWVrqLcZsTf0uAHnMOBSGy7VnkidlabXLHs297djvUt3Cnye OXL89mBqvKFrutSFnLY+z+qiHMmziz0c8zLufXlzE77wrHkZZu53HN86h+0dZtjoh9zHaU 4THJN+majNHVJqi9cztlj6IcddPj83fLMdHWetL77RMAGHeEUCXDtUL+Iu6z3A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D30C6136A4; Wed, 26 Jan 2022 00:17:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20Q0Hifq073477; Wed, 26 Jan 2022 00:17:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20Q0HirV073476; Wed, 26 Jan 2022 00:17:44 GMT (envelope-from git) Date: Wed, 26 Jan 2022 00:17:44 GMT Message-Id: <202201260017.20Q0HirV073476@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 159b44b2fb70 - main - audio/jack: fix build on powerpc and powerpc64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 159b44b2fb70889722fbf810f22aea435848684d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1643156265; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MTXJzHzBGXPgPIaiWKFIQ79/YkmR8E44mLgfNvPvGj4=; b=k6ECd2owYekxU9jMYEIQe4h/ckPVpHlcrZLjuSCGenZprwsYixSdhu6+hjUmlG1fkI2rWM froAPFu29S85L5FAkRtkqfa0pVZ8IjQXobmSTmtZ/tUsQ36zcrLRLiOYZFUE1S918T5oUs UEu2g8iC6rhG1tVKTEPlsGBSbiiIGg9RW3ryp04/Z700g1oDyLUZU3cb3gevF8KG05NA9S spOCETotyeUj7IKI883SEi8lB/Ivpu+exi4YiSDsNY4hdNxpc8W3LiGZ6lSrl/VVQJ9+Oi V1ilStS8YA7WHEscZ6NkVCIxoZJrhzPdSoLcPm0MNncYTOFMzZOcs97tIYRXsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1643156265; a=rsa-sha256; cv=none; b=j/8FXtVp3ylg/QHs7hftPyKCg7EAIlQ9HRUzU/Bf4OEXliBz+VQ4TYFClDOinaIjCiq5XB +ldRvbdIWBQHqJcsDY/vNwfEkFJTgsde5Jcl5fl6vp8Y9tSvQhSkmAArxkwht3fmo5JVh2 ItHWAQSpDQshLWKg2qcoc/Fl01EeEbJYgc5Qvci4qLnBs8l+DFLt5YO6BIhiUa2Y2bRDEZ Z0O9XQNEXnBAX1J9QMkZTgxoVEKHMFJBGBXfk8ZA9ibr/W+mWQLsog8BqGrOJ86Rrr054t aPEOfVVwoaV404/H0I7MayYYwz20/RT4pciM6vu92SFHrQXaLXk/+ndCbr/jAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=159b44b2fb70889722fbf810f22aea435848684d commit 159b44b2fb70889722fbf810f22aea435848684d Author: Piotr Kubaj AuthorDate: 2022-01-26 00:05:53 +0000 Commit: Piotr Kubaj CommitDate: 2022-01-26 00:05:53 +0000 audio/jack: fix build on powerpc and powerpc64 Use GCC: 09:13:58 runner ['c++', '-O2', '-pipe', '-fPIC', '-fstack-protector-strong', '-fno-strict-aliasing', '-Wall', '-Wno-invalid-offsetof', '-std=gnu++11', '-fPIC', '-Ifreebsd', '-I../freebsd', '-Iposix', '-I../posix', '-Icommon', '-I../common', '-Icommon/jack', '-I../common/jack', '-I.', '-I..', '-I../compat/alloca', '-I/usr/local/include/opus', '-I/usr/local/include', '-I/usr/local/include/dbus-1.0', '-I/usr/local/lib/dbus-1.0/include', '-DEXECINFO=1', '-DHAVE_LIBSYSINFO=1', '-DHAVE_DOXYGEN=0', '-DHAVE_ALSA=0', '-DHAVE_FIREWIRE=0', '-DHAVE_IIO=0', '-DHAVE_PORTAUDIO=0', '-DHAVE_WINMME=0', '-DHAVE_CELT=0', '-DHAVE_EXAMPLE_TOOLS=0', '-DHAVE_OPUS_OPUS_CUSTOM_H=1', '-DHAVE_OPUS_PKG=1', '-DHAVE_OPUS=1', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=0', '-DHAVE_READLINE=0', '-DHAVE_SYSTEMD=0', '-DHAVE_DB_H=1', '-DHAVE_DB=0', '-DHAVE_ZALSA=0', '-DHAVE_PPOLL=1', '-DHAVE_EXECINFO_H=1', '-DJACK_VERSION="[]"', '-DHAVE_DBUS_1=1', '-DHAVE_EXPAT=1', '-DUSE_LIBDBUS_AUTOLAUNCH=1', '-DCLIENT_NUM=256', '-DPO RT_NUM_FOR_CLIENT=2048', '-DADDON_DIR="/usr/local/lib/jack"', '-DJACK_LOCATION="/usr/local/bin"', '-DUSE_POSIX_SHM=1', '-DJACKMP=1', '-DJACK_DBUS=1', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '../common/JackDebugClient.cpp', '-c', '-o/wrkdirs/usr/ports/audio/jack/work/jack2-1.9.20/build/common/JackDebugClient.cpp.2.o', '-I/usr/local/include'] In file included from ../common/JackDebugClient.cpp:21: ../common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine' alignas(UInt32) JackTransportEngine fTransport; ^ ../common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer' alignas(UInt32) JackFrameTimer fFrameTimer; ^ 2 errors generated. --- audio/jack/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/audio/jack/Makefile b/audio/jack/Makefile index c33166d1df5d..c655e2d00868 100644 --- a/audio/jack/Makefile +++ b/audio/jack/Makefile @@ -12,7 +12,7 @@ LICENSE_COMB= multi LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \ libsysinfo.so:devel/libsysinfo -USES= compiler:c11 pkgconfig python:3.4+ shebangfix waf +USES= pkgconfig python:3.4+ shebangfix waf USE_LDCONFIG= yes USE_RC_SUBR= jackd @@ -49,6 +49,14 @@ OPUS_CONFIGURE_OFF= --opus=no PROFILING_DESC= Build with profiling information PROFILING_CONFIGURE_ON= --profile +.include + +.if ${ARCH} == powerpc || ${ARCH} == powerpc64 +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c11 +.endif + .include .if ${PORT_OPTIONS:MDBUS}