From nobody Sun Aug 13 05:11:53 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 4RNly14k21z4mVYV; Sun, 13 Aug 2023 05:11:53 +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 4RNly132FMz3crw; Sun, 13 Aug 2023 05:11:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691903513; 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=bSzFh6JWqohox6WXz20oHBupFek33RvXjDsUY2T2BI8=; b=wbVgxM+TcBYziKR8tfrcfeEk/J3MEiA3uNVJs+4gsgsV1nvG6xE0RdKqbPvQtMPGis8Olh DdCSxdj4SlCOlfftIeO1PUWB0GfuuUmS2FFYSFvvjjfRPQ1RUUgSJJKx2+8y8JVtDYjYof 96hHJAIM2OphkbH6Eyweo7iDAqYOEfMIEQkXhZJ8CH4qYzTJauWwKOAg5Bz/K/aSIefXe0 HffNOGv7t4umBMydlaJ0DD89n3TUtOpPENhurlX92nmSpnuvPVaCl64iF5euTZtdb6LnQ0 645u89c78RUsZSa7ajojOc71DtN5DSECfNdiZ7Br1bcrBEYO+VYiPzBlaJqDqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691903513; 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=bSzFh6JWqohox6WXz20oHBupFek33RvXjDsUY2T2BI8=; b=QZi1M3u01nbAqq9pccPKnWHmed2UsGnEqPBrGoLXvRYNusWulgGrYEvUZTfLRW1JJJj2Cf TvGM3nIaeepd6NQ2cBVcrlBb5OX+FuvdxcWWj95C+L9mnLfpiElhqfNL04WhMEB5gOvmRQ Ra9HOhmgl1OjH3tyO/vV+xp4aiT6YSxzRGjJ/+TEwflyKH73FjxS5OeGICPXs1iZ8Ze/Ti 75Ifj/UFjrWz4URLR2u1+XQmBNTMQJo/OTJjsKRgWPI+bNDYFwgp6TCQvQOE1kmYrfMnqQ kV1AG159J6MleigV5kfaH4MfuHuYiwu8f5n098m7Gc5088c5ZqEeLGsnHWFNWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691903513; a=rsa-sha256; cv=none; b=nRTuc0ApAeOiPr0kEh9Fy8WmxcPsbgMJpkTASvjksOPT/k6avwC6oW0ZVF2VIaxtc+HJ1t KftEfK76Qp3KXmSAZdCF/gLi5QUa49o1OEhLdLeGCHEjFqAKypTXe9mTV0mFNAbVYdGayO L8Wjj7idKPYqNPeB9M46+w6ApRa1PHSELM6f7tkyE7C9kCYUON1l2xidtpiEnodoS1IWpn D+nQrwwwzJGp8bxIUSTqcHvHejqCglK/zcxyP9H4cMtr7EyHS5UX6zMsbl5B6gAo5nHgsz ren+hIyoARpIqPepviooV2fUvV6VVs7jt6uIGAIePTecv4zXs2pcpm+mcyNJtw== 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 4RNly1285szq8H; Sun, 13 Aug 2023 05:11:53 +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 37D5BrIs097470; Sun, 13 Aug 2023 05:11:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37D5BrNZ097467; Sun, 13 Aug 2023 05:11:53 GMT (envelope-from git) Date: Sun, 13 Aug 2023 05:11:53 GMT Message-Id: <202308130511.37D5BrNZ097467@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Xin LI Subject: git: 78ca3ba628f1 - main - net-p2p/opendchub: Fix build with more recent Perl versions. 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: delphij X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78ca3ba628f11ab02a16ce36df5158422ec2f91e Auto-Submitted: auto-generated The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=78ca3ba628f11ab02a16ce36df5158422ec2f91e commit 78ca3ba628f11ab02a16ce36df5158422ec2f91e Author: Xin LI AuthorDate: 2023-08-13 05:00:40 +0000 Commit: Xin LI CommitDate: 2023-08-13 05:01:38 +0000 net-p2p/opendchub: Fix build with more recent Perl versions. PR: ports/264255 --- net-p2p/opendchub/Makefile | 1 + net-p2p/opendchub/files/patch-src_xs__functions.c | 26 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile index 4cf53747c3be..2aad1e2e3f18 100644 --- a/net-p2p/opendchub/Makefile +++ b/net-p2p/opendchub/Makefile @@ -1,5 +1,6 @@ PORTNAME= opendchub PORTVERSION= 0.8.3 +PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/Open%20DC%20Hub/${PORTVERSION} diff --git a/net-p2p/opendchub/files/patch-src_xs__functions.c b/net-p2p/opendchub/files/patch-src_xs__functions.c new file mode 100644 index 000000000000..e0c130dfd683 --- /dev/null +++ b/net-p2p/opendchub/files/patch-src_xs__functions.c @@ -0,0 +1,26 @@ +--- src/xs_functions.c.orig 2014-08-14 15:04:19 UTC ++++ src/xs_functions.c +@@ -277,7 +277,10 @@ XS(xs_check_if_banned) + if(ret != 1) + ret = check_if_banned(user, NICKBAN); + +- (ret == 1) ? XSRETURN_IV(1) : XSRETURN_IV(0); ++ if (ret == 1) ++ XSRETURN_IV(1); ++ else ++ XSRETURN_IV(0); + } + + XS(xs_check_if_allowed) +@@ -297,7 +300,10 @@ XS(xs_check_if_allowed) + + ret = check_if_allowed(user); + +- (ret == 1) ? XSRETURN_IV(1) : XSRETURN_IV(0); ++ if (ret == 1) ++ XSRETURN_IV(1); ++ else ++ XSRETURN_IV(0); + } + + XS(xs_data_to_user)