From nobody Sat Aug 12 01:38:15 2023 X-Original-To: dev-commits-ports-all@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 4RN3Fz4mRLz4q4hn; Sat, 12 Aug 2023 01:38:15 +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 4RN3Fz3kzPz4X5G; Sat, 12 Aug 2023 01:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691804295; 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=MXigpilZzNea9HXSzB/98+XdrXN7bOFkcYlDmeCMIEQ=; b=iC6brIHL7wCPSZwVi3sKH0X6+5fsCstfmeVvDxw2oeVIc66GVaOKhMblzx3v758t0OajXd D5iXzro/CyOu3/xguNAvfAzvyTx1S6ueXjCjp/OYea3kOFxFZqmdljhY4kPvkddphgJjtr Ot2JK7toz1DefwIRl9nhEUcQ8zB0JaL5eAcrurbCMgPB+nluMr3B8QzA1y6DmfUt3cPcp5 AyDs+TVu8Afq9b4FYKaoNNZKA3AkKuIuPGMyUCAMkBjSxFAUlkUuMVMHPdDiiaKwfcimRX eKwgUwrS9AKYhJvGIpF4NSfqRT9bM6Xgwc/0m1Wrin8LPMHqc+KNU5Fv07oxeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691804295; 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=MXigpilZzNea9HXSzB/98+XdrXN7bOFkcYlDmeCMIEQ=; b=P+/BRxIgEWyKkgA5y8/HPed2/1BMtxSKXcA/IoQKNTUTeRBipncta6itkxQr3OTWvpQite 3wyNB6X5UEGRJAP9atNlAoOGw0kqScUSazIRudOLabxPExohzgWT6JCfN+6tcshcfbaCl7 8wrKU0UIpbtg4rEgYrg4SEVmDudNIEu7sODTOz5U5x40aH67NbJHGBLy0vCCXD0ZccRppL ahP7ZqLcZierQFeDTzoZsfS+I6foagrYl14mF3djSZzxFrYIjsj5UnRLeYtgqsn7Rrt6Fn dmUAGAlK+INu09YSyIZtrvgCqX3NChLcvThm3TK5G9W5PyDfXEIk4I0DDBdGKw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691804295; a=rsa-sha256; cv=none; b=AnJ05QfD95TN7YlOxN/hP6rv7Kar+jGP6K1xNSDSjG0MuAJHvdO+IyhdAn+IGzW1TjQDQo SUZkA2+BrMZxxC8grFt4JQhr78+yj7yBPbZqYI0YVWbwln8KV6E8Z0TdKQtDQmUZ7Qk8rB scFiqQCeTh7iiLECkjJmCIMq+fCznkH6xHbgGwpbZwd1A5xb3VjsOpnmX4xf/jb3+uAjWi Af4uqvhfE6UbLMO8PB6aJx7S2mFOODsExeHuWVilq+xdjqVF0FyPuYjNRTGXuZztCATAx4 0qE/tJYDdf3D5u36Cp5ojIaeGuKG36T9Xm/0dwlLlXl5WaXzvu9aTsW/HPSGMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RN3Fz2lh8z1210; Sat, 12 Aug 2023 01:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37C1cFM4038896; Sat, 12 Aug 2023 01:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37C1cF88038893; Sat, 12 Aug 2023 01:38:15 GMT (envelope-from git) Date: Sat, 12 Aug 2023 01:38:15 GMT Message-Id: <202308120138.37C1cF88038893@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: ba1796ef177b - main - x11/babl: fix build on powerpc List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: ba1796ef177be725eff5319198ecb1c3bdf52184 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ba1796ef177be725eff5319198ecb1c3bdf52184 commit ba1796ef177be725eff5319198ecb1c3bdf52184 Author: Piotr Kubaj AuthorDate: 2023-08-11 16:10:30 +0000 Commit: Piotr Kubaj CommitDate: 2023-08-12 01:37:44 +0000 x11/babl: fix build on powerpc Clang miscompiles babl-html-dump: pid 27736 (babl-html-dump), jid 963, uid 65534: exited on signal 11 (core dumped) Also, -Wno-error=incompatible-function-pointer-types is not compatible with GCC. --- Mk/Uses/vala.mk | 2 ++ x11/babl/Makefile | 10 +++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/vala.mk b/Mk/Uses/vala.mk index 402e0338d67c..f80bc07529c9 100644 --- a/Mk/Uses/vala.mk +++ b/Mk/Uses/vala.mk @@ -24,6 +24,8 @@ BUILD_DEPENDS+= ${_VALA_BINARY}:${_VALA_PORT} . endif # remove after https://gitlab.gnome.org/GNOME/vala/-/issues/1408 is fixed +.if ${ARCH} != powerpc CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif .endif diff --git a/x11/babl/Makefile b/x11/babl/Makefile index 91d29b698080..c15881474fb0 100644 --- a/x11/babl/Makefile +++ b/x11/babl/Makefile @@ -12,7 +12,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= liblcms2.so:graphics/lcms2 -USES= compiler:c11 gnome libtool localbase meson pathfix pkgconfig tar:xz vala:build +USES= gnome libtool localbase meson pathfix pkgconfig tar:xz vala:build USE_LDCONFIG= yes USE_GNOME= introspection:build @@ -29,6 +29,14 @@ BABL_SHLIB= 0.205.1 BABL_VER= 0.1 PLIST_SUB+= BABL_SHLIB=${BABL_SHLIB} BABL_VER=${BABL_VER} +.include + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c11 +.endif + .include .if ${ARCH} == "amd64"