From owner-svn-ports-all@freebsd.org Wed Mar 10 16:03:07 2021 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 6224756FAAE; Wed, 10 Mar 2021 16:03:07 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DwcLM2LSPz3nD9; Wed, 10 Mar 2021 16:03:07 +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 4343B12487; Wed, 10 Mar 2021 16:03:07 +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 12AG37JQ067964; Wed, 10 Mar 2021 16:03:07 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12AG371X067963; Wed, 10 Mar 2021 16:03:07 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202103101603.12AG371X067963@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Wed, 10 Mar 2021 16:03:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568012 - head/net/tightvnc X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/net/tightvnc X-SVN-Commit-Revision: 568012 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: Wed, 10 Mar 2021 16:03:07 -0000 Author: pkubaj Date: Wed Mar 10 16:03:06 2021 New Revision: 568012 URL: https://svnweb.freebsd.org/changeset/ports/568012 Log: net/tightvnc: fix build on powerpc64* and probably also on aarch64 and riscv64 Clang can't build this, use GCC: In file included from ./cfbmskbits.h:39: ../hw/xfree86/common/compiler.h:437:8: error: invalid output constraint '=a' in asm "=a" (ret) : Modified: head/net/tightvnc/Makefile Modified: head/net/tightvnc/Makefile ============================================================================== --- head/net/tightvnc/Makefile Wed Mar 10 15:00:42 2021 (r568011) +++ head/net/tightvnc/Makefile Wed Mar 10 16:03:06 2021 (r568012) @@ -14,8 +14,6 @@ COMMENT= Enhanced version of VNC LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENCE.TXT -BROKEN_aarch64= Fails to build: invokes x86 asm -BROKEN_riscv64= Fails to build: invokes x86 asm RUN_DEPENDS= showrgb:x11/rgb \ xauth:x11/xauth \ @@ -32,6 +30,7 @@ WRKSRC= ${WRKDIR}/vnc_unixsrc SHEBANG_FILES= vncserver CFLAGS+= -Wno-return-type ALL_TARGET= World +MAKE_ARGS= CC=${CC} OPTIONS_DEFINE= JVNC_VIEWER OPTIONS_SUB= yes @@ -44,6 +43,10 @@ PREFIX=${TIGHTVNC_BASE} .endif .include + +.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*} || ${ARCH} == riscv64 +USE_GCC= any +.endif .if exists(${PREFIX}/share/vnc/classes/index.vnc) IGNORE= vnc has already been installed, please uninstall it first