From nobody Mon Jun 03 15:12:35 2024 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 4VtHK158ZJz5Mgdh; Mon, 03 Jun 2024 15:12:37 +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 4VtHK00MJ0z4sy3; Mon, 3 Jun 2024 15:12:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717427556; 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=nGDT9FGB2tElkPyIX6TJvqy13Cib3i6mEutz3FQTjB0=; b=JLJKd9hSstOM870ZeQKzS46lCabpZdk7z+lgiAO9d7UnR2aQUKis/Hp5Jc8RVrvZmDoQbe 0gBoAgEJY4a0hkLA2+7U/6TWsGADj7Z/i4ewJo9Gz422yAAtexUx5OruLqfeZqA+HZWEKg O3WZBd590arAZ4CLRXb2ANmQyAmFXHWRec1KWl2n/u3NXMGRUd1F4BzqXiauOqdPnjONlI h5xzM6ryODbvhhrZpFlS0m73Kd9LYeYM5zQpY6LhUOlmrc+0L4JeghlgLyprd/cCFOq1h/ uTIwfpn5gqhOMijWwtANjUvBeP0q0HNj/zNnhN3/p4zt8ftYNbc5W9gQ+lCo4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717427556; a=rsa-sha256; cv=none; b=PdlmwFIqyThKePiRYxEV6w/z1oI6+jPWJ6tBtmOD2mcjeUuaoAMTNxPSl8d9lh6+5bQw2y nrds0py/jnOUl8xfSosNxJNiugv7/yBcsrz1AjESzDt6JG5UMoMCRM7JFr3zDWnzs8hEmy icgLNrbapdej9mN+eENzc4PKwwnRBOMPkGVRu/kHR8RSIr3wtLGlr/A6pvzjSLdyOZXTje JbQWum1OVuDJ+48sJTBU3NLiQe4vs//Pl7O3JCQLDP73NESHQ3ZpqruQKgeVCxuO0qTzRz 6n833Rov82rOa/dLljQiuVUxUHvTmzb264N2YVmmbLyw8rlXtH7MyxVMqKQo1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717427556; 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=nGDT9FGB2tElkPyIX6TJvqy13Cib3i6mEutz3FQTjB0=; b=CgOMawyDdGGBnYl5pK3lyt37tfe/gf+4Iwq3EshoBtFUcEI11KW39aNzKqHWENfTM4LmQN isNiuSYfMmfTrk1J8n48PBVxqwySrPbd6/J21j/8NzQ+ts4Sx8mz7BIWvH4Tk3WoxyYwup Hvy+PSiO2Hq886fRIhHn+o2iQ1fzBqB56yzWVmbnC5Ow+VE5BmkBqLEwyKER2Klf72jBA8 MggNrMfdVO62mWXnPHZzQRBOBwzFwabhGTAwWfArFfJwHjjIXAg7+dIrY7oaPzBFWCvb28 IZOxio2ZvGhjCSof2J50cTH2H/Kk+REgW3s1GwJ0hCqG5F9I23pwyBpTN/3pLw== 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 4VtHJz6R2SzgV5; Mon, 3 Jun 2024 15:12:35 +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 453FCZPZ042764; Mon, 3 Jun 2024 15:12:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 453FCZPq042761; Mon, 3 Jun 2024 15:12:35 GMT (envelope-from git) Date: Mon, 3 Jun 2024 15:12:35 GMT Message-Id: <202406031512.453FCZPq042761@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: aa317719dce6 - main - security/botan3: fix build on 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-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: aa317719dce6823865184565afe1d0540fe43036 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa317719dce6823865184565afe1d0540fe43036 commit aa317719dce6823865184565afe1d0540fe43036 Author: Piotr Kubaj AuthorDate: 2024-06-03 06:32:01 +0000 Commit: Piotr Kubaj CommitDate: 2024-06-03 15:11:59 +0000 security/botan3: fix build on powerpc64 In file included from src/lib/block/aes/aes_power8/aes_power8.cpp:16: /usr/lib/clang/18/include/altivec.h:17365:10: error: '__builtin_altivec_crypto_vcipher' needs target feature power8-vector 17365 | return __builtin_altivec_crypto_vcipher(__a, __b); --- security/botan3/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/botan3/Makefile b/security/botan3/Makefile index 645b97f019a2..1580c5aafdb1 100644 --- a/security/botan3/Makefile +++ b/security/botan3/Makefile @@ -68,6 +68,9 @@ SQLITE3_CONFIGURE_WITH= sqlite3 CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto" .elif ${ARCH:Mpowerpc64*} CONFIGURE_ARGS+= --cpu="ppc64" +.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_ABI:Mvsx2}) +CONFIGURE_ARGS+= --disable-powercrypto +.endif .endif .if ${ARCH} == i386 || ${ARCH} == amd64