From nobody Wed Jul 26 15:04:19 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 4R9xxv6mltz4pSNY; Wed, 26 Jul 2023 15:04:19 +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 4R9xxv4nBtz3qpj; Wed, 26 Jul 2023 15:04:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690383859; 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=udOVEH3VkRfFHyp3PXhiGKa/HRdAyVlKpGIrdvZ0Rbw=; b=SaPaGGCXxQYlE4uOZ2rIaQksZnS3e6ofWinX3YRwl0qFCOUe5RALuxn1monKsvDpLiWFwO czgsnZGCGYNdqv0oK1SyFKSqGOA4xkOH/BmV1ZnI8mxLWipJAooHrcDAvaWfW+yK/9BvyN XLrpM3FfVnQ9/gczgONds00Vga9H9o/MfXXaTJyJ19+bdbcE5zGFPNX9ZoUEy63xAwytD4 dX/kLV+pxk8JYdKrLqzRNHOyw1VCrO8Oly+RmpoAjOzr0Uz3AEOa4uobcsQMVix7/wjdi7 bOe7Lk9VGYaeIuWT6n16pMQTA0H8/UBeRFQqgyc0zO0qnlTJkX+x0onz0vtpnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690383859; 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=udOVEH3VkRfFHyp3PXhiGKa/HRdAyVlKpGIrdvZ0Rbw=; b=uqvPFL4oUknlpFtNOIEQJqyhOfhl+4yaOPF1FM1fg6Gdlvuz14c/vANTqeIzlOussxauqi Pppr8/anODA+DmWgt0y8rL/WfsINly4EPgZYFbn6FvFAVMfdSIxs5xCAjATj2l9xPLufnl 8q12wAFxQIlXssUkH4WfZR79zvp/kL24Fj9FxTgBf+4YrBeidzY3z/JgK3QWYRWrMJn1jD Jtt2Omd4BP8iR9QPWMAWomdU1bgrgrQpeWGeAXOmD0y5okaRlnAT0k+cGgVJ09fQ8ZeCWx Uik0+ucjQdsgbP7AO1OjaPsj9j22HoastjRlFjHwRlH1YYnFLUcHPAPy9/z8iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690383859; a=rsa-sha256; cv=none; b=yDa5PGWOHWESqYt+iHYxBIxKDR1abbERJRZ9t0HedbwQB1u79kjn8YxshSrUIjNyjhxXBF DJcPEUxo8Jex8zPUTNF9AY3Ez277CtlySnx+oX2vN+aQ1cKZ04icieLvBYrDnUWjWoTja8 7DmuJk95LuNB/vZInEfH9CCQPBvKBKpwrn85DAknJ7LT535MzF6UGqgvl3tMS2dXQbY27P jWJB3119gXuVJcZJarMetIK+M3IEtIhHGP0d3b4IIne7ruQhfDLrwjPaIZMqT+skIUTovu 8M8FMhhIzt2BP00Lp+Dfbq8JEPJgh1VwLjx2XrP8C4hUs25ik6s0rwLLneWFLQ== 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 4R9xxv3vKszn7s; Wed, 26 Jul 2023 15:04:19 +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 36QF4J2F087885; Wed, 26 Jul 2023 15:04:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36QF4J6W087884; Wed, 26 Jul 2023 15:04:19 GMT (envelope-from git) Date: Wed, 26 Jul 2023 15:04:19 GMT Message-Id: <202307261504.36QF4J6W087884@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: df92eba69a94 - main - cad/electric: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: df92eba69a94d2a7eb83472f2dd9f99fd38ef5db Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=df92eba69a94d2a7eb83472f2dd9f99fd38ef5db commit df92eba69a94d2a7eb83472f2dd9f99fd38ef5db Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 15:03:37 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 15:04:03 +0000 cad/electric: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- cad/electric/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cad/electric/Makefile b/cad/electric/Makefile index de787f23236b..f5c593f45fd5 100644 --- a/cad/electric/Makefile +++ b/cad/electric/Makefile @@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= yes -USES= motif +USES= motif xorg +USE_XORG= ice sm x11 xext xmu xt FEATURES= MOTIF @@ -28,6 +29,12 @@ NLS_USES= gettext NLS_VARS= FEATURES+=INT OPTIMIZED_CFLAGS_VARS= FEATURES+=OPT +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types -Dregister= +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/share/electric/lib/|${DATADIR}/lib/|; \ s|/usr/share/electric/doc/|${DOCSDIR}/|; \