From nobody Wed Jan 5 07:58:52 2022 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 9C0C81926685; Wed, 5 Jan 2022 07:58:52 +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 4JTMLh2d3rz4TbZ; Wed, 5 Jan 2022 07:58:52 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 358D2BCF; Wed, 5 Jan 2022 07:58:52 +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 2057wqW5036883; Wed, 5 Jan 2022 07:58:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2057wq9E036882; Wed, 5 Jan 2022 07:58:52 GMT (envelope-from git) Date: Wed, 5 Jan 2022 07:58:52 GMT Message-Id: <202201050758.2057wq9E036882@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: abbdd562d85f - main - textproc/php-mecab: Add support for php74 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: abbdd562d85f30900450f23cf52283b92bcb3792 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641369532; 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=KL0SEX2i6yHOvWvYTJ2RFhqWAa2TzM6+odf/hdPdU1o=; b=IXukVjJMaO/oxsTxiGCSWreHszC1j3taNag+ygv9xbKUcL+KiKSUodV6Ykxu4uENXprU6q 7/C7Rx+i/5gva8oUQmqLgrwS7WQtqC4U/fnfDdyB28OSVc3uQQySmApSMZb0eMBRzB46mc B6i4XM6y9Jwpy24B9CjChzEESQ+Xl7f5g4kmFo2FWcui3Pmu3FRYvYbX03Q3ldoWGekxVl wW1uN8AweVqiROiczz6czn5Cvlvkc/FsKlnPT7O1e653jEhHtt0IAgMx8tIx1ZM3CyJn3Q GS0zcv4FSKE323KurWG0E7TRs6YCQYGzwXnUfnQ2AElzHV3qfJdbn7R6mOrjFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641369532; a=rsa-sha256; cv=none; b=s8MVHRJ0XnmCei+9cnqoC6gawW1B2t3efnpSRyh89g1J+tOFCA/IN28fxqU0hqa5+c+xdC ralV/9Lhy0o6rwp1NrQfGc7tITmOOO4n5fa/dfZiNjyWhoIiXkm9aR7mm8ytsNbVVkQhTq 1Srsogt3viXdsyO1QclBjzR+J/7snKk4zWa7SENm6MvcwXhJHI/l6rrEepnj9ahwx++fAY JqcyvrCKr3rqvWSWiOalM2AmkDKwc3LxgVr3+HkShuAs4fMrC64h4UMWzxNQWCQ3gsVIGC 9aG4OBARHJ/yGPAlM6wT79mObrO/BtRHCMkYxS0LsD+Tk4cxDrzdakuf9a0EPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=abbdd562d85f30900450f23cf52283b92bcb3792 commit abbdd562d85f30900450f23cf52283b92bcb3792 Author: Gasol Wu AuthorDate: 2022-01-05 07:56:02 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2022-01-05 07:58:40 +0000 textproc/php-mecab: Add support for php74 - Pet portlint PR: 260654 Approved by: gasol.wu@gmail.com --- textproc/php-mecab/Makefile | 6 +++--- textproc/php-mecab/files/patch-mecab7.c | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile index 16dc343e608c..8c3ef5e2bbe5 100644 --- a/textproc/php-mecab/Makefile +++ b/textproc/php-mecab/Makefile @@ -2,8 +2,8 @@ PORTNAME= mecab PORTVERSION= 0.6.0 -PORTREVISION= 1 DISTVERSIONPREFIX= v +PORTREVISION= 2 CATEGORIES= textproc PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} @@ -14,13 +14,13 @@ LICENSE= MIT LIB_DEPENDS= libmecab.so:japanese/mecab +IGNORE_WITH_PHP= 80 +USES= php:ext USE_GITHUB= yes GH_ACCOUNT= rsky GH_PROJECT= php-${PORTNAME} WRKSRC_SUBDIR= mecab CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config -USES= php:ext -IGNORE_WITH_PHP= 74 80 .include diff --git a/textproc/php-mecab/files/patch-mecab7.c b/textproc/php-mecab/files/patch-mecab7.c new file mode 100644 index 000000000000..8e58ce50ad35 --- /dev/null +++ b/textproc/php-mecab/files/patch-mecab7.c @@ -0,0 +1,11 @@ +--- mecab7.c.orig 2015-12-05 16:08:55 UTC ++++ mecab7.c +@@ -1456,7 +1456,7 @@ static PHP_FUNCTION(mecab_new) + if (zoptions != NULL) { + int getopt_result = 0; + zend_string *key; +- ulong num_key; ++ zend_ulong num_key; + zval *entry; + + ALLOC_HASHTABLE(options);