FreeBSD Bugzilla – Attachment 230723 Details for
Bug 260654
textproc/php-mecab: Upgrade to support active PHP version
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
0001-textproc-php-mecab-Add-build-for-PHP-7.4.patch (text/plain), 1.70 KB, created by
Gasol Wu
on 2022-01-05 07:18:29 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Gasol Wu
Created:
2022-01-05 07:18:29 UTC
Size:
1.70 KB
patch
obsolete
>From 5a024507c2152a1a5eed4078a3b07660e2e670a0 Mon Sep 17 00:00:00 2001 >From: Gasol Wu <gasol.wu@gmail.com> >Date: Wed, 5 Jan 2022 04:00:16 +0800 >Subject: [PATCH] textproc/php-mecab: Add build for PHP 7.4 > >To resolve bugs #260654 and fix problems by portlint > >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260654 >--- > textproc/php-mecab/Makefile | 6 +++--- > textproc/php-mecab/files/patch-mecab7.c | 11 +++++++++++ > 2 files changed, 14 insertions(+), 3 deletions(-) > create mode 100644 textproc/php-mecab/files/patch-mecab7.c > >diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile >index 16dc343e608..8c3ef5e2bbe 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 <bsd.port.mk> >diff --git a/textproc/php-mecab/files/patch-mecab7.c b/textproc/php-mecab/files/patch-mecab7.c >new file mode 100644 >index 00000000000..8e58ce50ad3 >--- /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); >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
gasol.wu
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 260654
: 230723 |
230724