From owner-svn-ports-all@freebsd.org Sat Dec 12 17:30:10 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71FAC4BAE7E; Sat, 12 Dec 2020 17:30:10 +0000 (UTC) (envelope-from pkubaj@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CtZRQ2sLZz3hRm; Sat, 12 Dec 2020 17:30:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 551E521035; Sat, 12 Dec 2020 17:30:10 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BCHUAO9033075; Sat, 12 Dec 2020 17:30:10 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BCHUAhV033074; Sat, 12 Dec 2020 17:30:10 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202012121730.0BCHUAhV033074@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Sat, 12 Dec 2020 17:30:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557842 - head/multimedia/wlrobs X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/multimedia/wlrobs X-SVN-Commit-Revision: 557842 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2020 17:30:10 -0000 Author: pkubaj Date: Sat Dec 12 17:30:09 2020 New Revision: 557842 URL: https://svnweb.freebsd.org/changeset/ports/557842 Log: multimedia/wlrobs: fix build on powerpc64 elfv2 Clang can't build this port, build with GCC: /usr/lib/clang/11.0.0/include/mmintrin.h:50:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size return (__m64)__builtin_ia32_vec_init_v2si(__i, 0); Modified: head/multimedia/wlrobs/Makefile Modified: head/multimedia/wlrobs/Makefile ============================================================================== --- head/multimedia/wlrobs/Makefile Sat Dec 12 17:09:23 2020 (r557841) +++ head/multimedia/wlrobs/Makefile Sat Dec 12 17:30:09 2020 (r557842) @@ -16,12 +16,19 @@ LICENSE_FILE= ${WRKSRC}/COPYING.md LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libobs.so:multimedia/obs-studio -USES= compiler:c11 gl meson pkgconfig +USES= gl meson pkgconfig USE_GL= egl DATADIR= ${PREFIX}/lib/obs-plugins PORTDATA= lib${PORTNAME}.so +.include + +.if ${ARCH} == powerpc64 +USES+= compiler:gcc-c++11-lib # XXX Move to "pkg-config --cflags libobs" -CFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx +CFLAGS+= -DNO_WARN_X86_INTRINSICS -maltivec -mvsx +.else +USES+= compiler:c11 +.endif .include