From nobody Sun Jun 25 21:43:18 2023 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 4Qq4Gb443Vz4gDHk; Sun, 25 Jun 2023 21:43: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 4Qq4Gb2zRxz4Gym; Sun, 25 Jun 2023 21:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729399; 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=Io+zRCrj1T257rJAZZZs5EVLX755yKm3E1stzNnPo/A=; b=NY2ofPYUtTuPbhuKAGoqpHdz0sqOU97ITf7XQ0g/MiTQrx3rq112BFDZnXCMaA14OgTmbY 9eoBIHnjme7/EvngGPoTu/6Iio9mGAFbHFjb5M+/d48aEdKDhENeEsf6iJ0HHhctWuLLoI wCQvSCFhGtfwEklbJtjzYn0BARpDGHD+IOhldNRWGRGHoIJQIJzrj/V6r/eqDswBmHIPtM rYj01FIGWxImL8tvUV1owKSxewLfTCAQpxufdu7tVAsdn0NB2r7sfcsuJJThjWTW/dSRA0 MX/owBGFz4DvrVBHgatB0ISnczkNjd03nM2eA08Gyf7eTdpX79G9eA2RKUjYtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687729399; 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=Io+zRCrj1T257rJAZZZs5EVLX755yKm3E1stzNnPo/A=; b=DYzSDyHJvjSXhyYHu1RKwRaIWYSc7Ad26Vu2Gd8j6JAIibBMy89xFhkbRm73RihK58c61h HLHb9cLXpDZAWw+6b/G5VAeFtnodl9rtikgnCGeDkWK0MQxpE4n0S6hkFlffdDnBkL06zR t5YQrAKR04NpGJ4xf+J5+ZITGVbMcKeJeDjGJG4TwJRLmQpcBhbxyPU3XEiMZdY89l/NFd jdRE8ndzrRQrWx68Ar+o1Xzw6g029HtPc57RXtfoEAIiwiH+9yGnneQTpjg6gbDDQIWbu5 RnutKoW1LZ0n0Z5AEd0JrBg4jw3h4j7e/8uHcJsUULmdm3sbl14We3p8JedaJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687729399; a=rsa-sha256; cv=none; b=B4qq5NgyCwY3RbVbK/IQSHxHyHxyXMPA8osx3R+2DLVA8hL/+JPdrRw9j7xQAcykHs7FvX ncjPeot1vlBOAQ6ZtEDwGbMTXXO+e0Lo5nrANCInYdIKKTe3iFF1U1jV5T0gz6Xlll2pDL szHt9Buwa3d2iiIPvT7WWgh6BySjEI4Q04oDXc7onT60n/jK7warp0/ndp9Qcd0NOT4GSJ fJ8XuOxQRs8MgNu5xWIIjw4Gz7FFZnLe5mifDZqHG4dKx8kwIaGUJfid0py7Dza+Rs+r2w iDiv+Ow4KNz87Cc9XxZZm+/ib358XIIe6cC7ZUyLXlTM2tmkQ+iwVwA+7POi/g== 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 4Qq4Gb1GQCzjgR; Sun, 25 Jun 2023 21:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35PLhIxH057107; Sun, 25 Jun 2023 21:43:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35PLhIbR057106; Sun, 25 Jun 2023 21:43:18 GMT (envelope-from git) Date: Sun, 25 Jun 2023 21:43:18 GMT Message-Id: <202306252143.35PLhIbR057106@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: 063fe7a48e3c - main - www/p5-CGI-SpeedyCGI: Fix build with llvm16 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 063fe7a48e3c782129e474b804566ed1484ab9da Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=063fe7a48e3c782129e474b804566ed1484ab9da commit 063fe7a48e3c782129e474b804566ed1484ab9da Author: Muhammad Moinur Rahman AuthorDate: 2023-06-25 21:41:37 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-25 21:42:46 +0000 www/p5-CGI-SpeedyCGI: Fix build with llvm16 - Replace deprecated @exec/@unexec with @postexec/@postunexec Sponsored by: The FreeBSD Foundation --- www/p5-CGI-SpeedyCGI/Makefile | 6 ++++++ www/p5-CGI-SpeedyCGI/pkg-plist | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/www/p5-CGI-SpeedyCGI/Makefile b/www/p5-CGI-SpeedyCGI/Makefile index b0302a218d73..30c9f3d0d221 100644 --- a/www/p5-CGI-SpeedyCGI/Makefile +++ b/www/p5-CGI-SpeedyCGI/Makefile @@ -23,6 +23,12 @@ OPTIONS_SUB= yes APACHE_USES= apache APACHE_CONFIGURE_ENV_OFF= WITHOUT_APACHE=yes +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's/__inline__//g' \ ${WRKSRC}/src/speedy_inc.h diff --git a/www/p5-CGI-SpeedyCGI/pkg-plist b/www/p5-CGI-SpeedyCGI/pkg-plist index 78972b3fea5b..319060ba8904 100644 --- a/www/p5-CGI-SpeedyCGI/pkg-plist +++ b/www/p5-CGI-SpeedyCGI/pkg-plist @@ -4,5 +4,5 @@ bin/speedy_dump bin/speedy_suidperl %%SITE_PERL%%/CGI/SpeedyCGI.pm %%APACHE%%%%APACHEMODDIR%%/mod_speedycgi.so -%%APACHE%%@exec %D/sbin/apxs -e -a -n speedycgi %D/%F -%%APACHE%%@unexec %D/sbin/apxs -e -A -n speedycgi %D/%F +%%APACHE%%@postexec %D/sbin/apxs -e -a -n speedycgi %D/%F +%%APACHE%%@postunexec %D/sbin/apxs -e -A -n speedycgi %D/%F