From nobody Sat Aug 05 11:53:35 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 4RJ1FD0mR1z4gwmt; Sat, 5 Aug 2023 11:53:36 +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 4RJ1FD07qcz3Q3R; Sat, 5 Aug 2023 11:53:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236416; 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=4G4OVQ7SpPM9m+J0ZPM4iHTepGC5oSgSwQtmrnUPryk=; b=x42/SRCgiWhAJK5fpuencjKCsbNDiqDLpvKPuVuhaARuQvEZH6r1te8xsqsGIOy9IDqK4H zILRJa4M9iEyiuWJQJPmrdDeUuqQ03kJM798YKvbR4ai37SmN9II93PJStM8JjgaJHAp/6 A2XsuS7+UC9RyaCI+D7eS1eOy3ZZJLmzWq2HhnGFJeRE6scfnPbN2yQnfXv7W6dKYl+eRU KsNIKcNREVv3NtnLD6c3a2hGgzRaK2uBT71mtEKJVxursZ01oRQRHxwVMM3prVhh4BTQCn w/aVyZHvo0zUyYMY97+lQDc2mukAdXPqC6OfmE57Cr0PCIZiKmIDbKcgBY2ZOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236416; 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=4G4OVQ7SpPM9m+J0ZPM4iHTepGC5oSgSwQtmrnUPryk=; b=l7jtXb97agliFziCSxoo9EqCedNqtfenmeoE4k/Pg1Ifi+JBo8MKfs1Yqilc+SZyMplHf7 4VDAX40eqLHR9uVfAecN2zKDuaasayaRV5OtjwudoUhaYPWCNplG2ghtNnhJZKli/3Mdoh 60mANmig/1Te2ZzTO0JraB6wiqqRZN+3fIyE8/15hYrx7xQZ6AQ1cNq8k8pv/uJzb6Fgjy vWlGuGfXNip7hn3sTwd2QuOHCF41lXrIBVnXfDJ41ZM0H9QeLCVd6XjLealgTII9hIQiRL 40k84SSeXKG/fA36VwekLon6+a10oY02w6Frvxj9fjgMqjD4tMYYCMcDJoLhfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691236416; a=rsa-sha256; cv=none; b=WVECV4+SNwThkZy6w2liDASXUc6MgANdJP2VciW5nb9obuIEvApmUzRbtxww/jycYGBM+i DU2KResecdr+5je7C6QLmbI6cU32LGooMx60bZ2HzzxQJLQFkGoN+i5ClHkPHiNoNxIenW Zem2M1D0wMmG5Gk4V+san6Q/Lqq0hN6cw/URylZl7famUgHTJVHHwazDwpBTsPzPdC90I8 732si8DuUaIwlifDAtQBowLwYKd31sETwNOqnPA8P1QLXGRyWgBHvpTLfuSU5JfA9xHHBt FDO3gk8uY9j3eKTID+80tpcqQymFLtesgReU1lr2933uxntgRGjn6jU+DfU1gQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ1FC6Fr4zCym; Sat, 5 Aug 2023 11:53: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 375BrZ6G075161; Sat, 5 Aug 2023 11:53:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375BrZMA075160; Sat, 5 Aug 2023 11:53:35 GMT (envelope-from git) Date: Sat, 5 Aug 2023 11:53:35 GMT Message-Id: <202308051153.375BrZMA075160@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: a556d7b3f35a - main - databases/mdcached: 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: a556d7b3f35a75bd4897444c8e4a09831d4c1319 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a556d7b3f35a75bd4897444c8e4a09831d4c1319 commit a556d7b3f35a75bd4897444c8e4a09831d4c1319 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 11:27:43 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 11:53:19 +0000 databases/mdcached: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- databases/mdcached/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/databases/mdcached/Makefile b/databases/mdcached/Makefile index 2c31c9e0d144..7d849de30e72 100644 --- a/databases/mdcached/Makefile +++ b/databases/mdcached/Makefile @@ -11,15 +11,22 @@ WWW= http://mdcached.sourceforge.net/ LICENSE= BSD2CLAUSE USES= tar:tgz -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME} + PORTDOCS= UserGuide.txt mdcached.txt OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=dynamic-exception-spec +.endif + post-patch: - @${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3 -march=native|ADDCFLAGS = ${CFLAGS}|' \ + @${REINPLACE_CMD} 's|ADDCFLAGS = -Wall -g -O3|ADDCFLAGS = ${CFLAGS}|' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \ ${WRKSRC}/FreeBSD/${PORTNAME}