ports/159190: [PATCH] devel/pecl-intl: [SUMMARIZE CHANGES]
Alex Samorukov
samm at os2.kiev.ua
Mon Jul 25 19:30:12 UTC 2011
>Number: 159190
>Category: ports
>Synopsis: [PATCH] devel/pecl-intl: [SUMMARIZE CHANGES]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 25 19:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Alex Samorukov
>Release: FreeBSD 7.3-RELEASE-p4 i386
>Organization:
Net-Art
>Environment:
System: FreeBSD s1.sdv.com.ua 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #7: Wed Apr 20 02:46:10 EEST 2011
>Description:
Fix build failure. I`m running php52 and port failing to link.
I found that it works fine if "static" related patches are removed (why do we need them?)
Removed file(s):
- files/patch-collator__collator_class.c
- files/patch-dateformat__dateformat_class.c
- files/patch-formatter__formatter_class.c
- files/patch-locale__locale_class.c
- files/patch-msgformat__msgformat_class.c
- files/patch-normalizer__normalizer_class.c
Port maintainer (miwi at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- pecl-intl-1.1.2_4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/Makefile /root/tmp/pecl-intl/Makefile
--- /usr/ports/devel/pecl-intl/Makefile 2011-07-11 00:06:37.000000000 +0300
+++ /root/tmp/pecl-intl/Makefile 2011-07-25 22:18:42.000000000 +0300
@@ -7,7 +7,7 @@
PORTNAME= intl
PORTVERSION= 1.1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel pear
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
@@ -17,10 +17,10 @@
MAINTAINER= miwi at FreeBSD.org
COMMENT= A PECL extension to support Internationalization(ICU)
-LIB_DEPENDS= icui18n.48:${PORTSDIR}/devel/icu
-
LICENSE= PHP301
+LIB_DEPENDS= icui18n.48:${PORTSDIR}/devel/icu
+
USE_PHP= yes
USE_PHPEXT= yes
IGNORE_WITH_PHP=4
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-collator__collator_class.c /root/tmp/pecl-intl/files/patch-collator__collator_class.c
--- /usr/ports/devel/pecl-intl/files/patch-collator__collator_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-collator__collator_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,25 +0,0 @@
---- ./collator/collator_class.c.orig 2010-03-15 18:03:30.000000000 -0400
-+++ ./collator/collator_class.c 2010-04-13 10:31:54.000000000 -0400
-@@ -88,22 +88,18 @@
- modify approptiate 'collator_XX_args' for
- the procedural API.
- */
--static
- ZEND_BEGIN_ARG_INFO_EX( collator_0_args, 0, 0, 0 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( collator_1_arg, 0, 0, 1 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( collator_2_args, 0, 0, 2 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_ARG_INFO( 0, arg2 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( collator_sort_args, 0, 0, 1 )
- ZEND_ARG_ARRAY_INFO( 1, arr, 0 )
- ZEND_ARG_INFO( 0, flags )
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-dateformat__dateformat_class.c /root/tmp/pecl-intl/files/patch-dateformat__dateformat_class.c
--- /usr/ports/devel/pecl-intl/files/patch-dateformat__dateformat_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-dateformat__dateformat_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,46 +0,0 @@
---- ./dateformat/dateformat_class.c.orig 2010-04-13 10:34:55.000000000 -0400
-+++ ./dateformat/dateformat_class.c 2010-04-13 10:35:14.000000000 -0400
-@@ -84,42 +84,35 @@
- */
-
- /* {{{ arginfo */
--static ZEND_BEGIN_ARG_INFO_EX(datefmt_parse_args, 0, 0, 1)
-+ZEND_BEGIN_ARG_INFO_EX(datefmt_parse_args, 0, 0, 1)
- ZEND_ARG_INFO(0, string)
- ZEND_ARG_INFO(1, position)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter_format, 0, 0, 0)
- ZEND_ARG_INFO(0, args)
- ZEND_ARG_INFO(0, array)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO(arginfo_intldateformatter_getdatetype, 0)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter_settimezoneid, 0, 0, 1)
- ZEND_ARG_INFO(0, zone)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter_setpattern, 0, 0, 1)
- ZEND_ARG_INFO(0, pattern)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter_setlenient, 0, 0, 1)
- ZEND_ARG_INFO(0, lenient)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter_setcalendar, 0, 0, 1)
- ZEND_ARG_INFO(0, which)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_intldateformatter___construct, 0, 0, 3)
- ZEND_ARG_INFO(0, locale)
- ZEND_ARG_INFO(0, datetype)
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-formatter__formatter_class.c /root/tmp/pecl-intl/files/patch-formatter__formatter_class.c
--- /usr/ports/devel/pecl-intl/files/patch-formatter__formatter_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-formatter__formatter_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,68 +0,0 @@
---- ./formatter/formatter_class.c.orig 2010-03-15 18:03:30.000000000 -0400
-+++ ./formatter/formatter_class.c 2010-04-13 10:31:54.000000000 -0400
-@@ -80,63 +80,54 @@
- */
-
- /* {{{ arginfo */
--static ZEND_BEGIN_ARG_INFO_EX(number_parse_arginfo, 0, 0, 1)
-+ZEND_BEGIN_ARG_INFO_EX(number_parse_arginfo, 0, 0, 1)
- ZEND_ARG_INFO(0, string)
- ZEND_ARG_INFO(0, type)
- ZEND_ARG_INFO(1, position)
- ZEND_END_ARG_INFO()
-
--static ZEND_BEGIN_ARG_INFO_EX(number_parse_currency_arginfo, 0, 0, 2)
-+ZEND_BEGIN_ARG_INFO_EX(number_parse_currency_arginfo, 0, 0, 2)
- ZEND_ARG_INFO(0, string)
- ZEND_ARG_INFO(1, currency)
- ZEND_ARG_INFO(1, position)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_getattribute, 0, 0, 1)
- ZEND_ARG_INFO(0, attr)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setattribute, 0, 0, 2)
- ZEND_ARG_INFO(0, attr)
- ZEND_ARG_INFO(0, value)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setsymbol, 0, 0, 2)
- ZEND_ARG_INFO(0, attr)
- ZEND_ARG_INFO(0, symbol)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO(arginfo_numberformatter_getpattern, 0)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setpattern, 0, 0, 1)
- ZEND_ARG_INFO(0, pattern)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_getlocale, 0, 0, 0)
- ZEND_ARG_INFO(0, type)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter___construct, 0, 0, 2)
- ZEND_ARG_INFO(0, locale)
- ZEND_ARG_INFO(0, style)
- ZEND_ARG_INFO(0, pattern)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_formatcurrency, 0, 0, 2)
- ZEND_ARG_INFO(0, num)
- ZEND_ARG_INFO(0, currency)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_format, 0, 0, 1)
- ZEND_ARG_INFO(0, num)
- ZEND_ARG_INFO(0, type)
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-locale__locale_class.c /root/tmp/pecl-intl/files/patch-locale__locale_class.c
--- /usr/ports/devel/pecl-intl/files/patch-locale__locale_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-locale__locale_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,32 +0,0 @@
---- ./locale/locale_class.c.orig 2010-04-13 10:34:14.000000000 -0400
-+++ ./locale/locale_class.c 2010-04-13 10:34:27.000000000 -0400
-@@ -35,29 +35,24 @@
- * approptiate 'locale_XX_args' for the procedural API!
- */
-
--static
- ZEND_BEGIN_ARG_INFO_EX( locale_0_args, 0, 0, 0 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( locale_1_arg, 0, 0, 1 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( locale_2_args, 0, 0, 2 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_ARG_INFO( 0, arg2 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( locale_3_args, 0, 0, 3 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_ARG_INFO( 0, arg2 )
- ZEND_ARG_INFO( 0, arg3 )
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX( locale_4_args, 0, 0, 4 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_ARG_INFO( 0, arg2 )
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-msgformat__msgformat_class.c /root/tmp/pecl-intl/files/patch-msgformat__msgformat_class.c
--- /usr/ports/devel/pecl-intl/files/patch-msgformat__msgformat_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-msgformat__msgformat_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,37 +0,0 @@
---- ./msgformat/msgformat_class.c.orig 2010-04-13 10:35:58.000000000 -0400
-+++ ./msgformat/msgformat_class.c 2010-04-13 10:36:15.000000000 -0400
-@@ -77,34 +77,28 @@
- */
-
- /* {{{ arginfo */
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_messageformatter___construct, 0, 0, 2)
- ZEND_ARG_INFO(0, locale)
- ZEND_ARG_INFO(0, pattern)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO(arginfo_messageformatter_geterrormessage, 0)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_messageformatter_formatmessage, 0, 0, 3)
- ZEND_ARG_INFO(0, locale)
- ZEND_ARG_INFO(0, pattern)
- ZEND_ARG_INFO(0, args)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_messageformatter_format, 0, 0, 1)
- ZEND_ARG_INFO(0, args)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_messageformatter_setpattern, 0, 0, 1)
- ZEND_ARG_INFO(0, pattern)
- ZEND_END_ARG_INFO()
-
--static
- ZEND_BEGIN_ARG_INFO_EX(arginfo_messageformatter_parse, 0, 0, 1)
- ZEND_ARG_INFO(0, source)
- ZEND_END_ARG_INFO()
diff -ruN --exclude=CVS /usr/ports/devel/pecl-intl/files/patch-normalizer__normalizer_class.c /root/tmp/pecl-intl/files/patch-normalizer__normalizer_class.c
--- /usr/ports/devel/pecl-intl/files/patch-normalizer__normalizer_class.c 2010-04-13 17:43:29.000000000 +0300
+++ /root/tmp/pecl-intl/files/patch-normalizer__normalizer_class.c 1970-01-01 03:00:00.000000000 +0300
@@ -1,10 +0,0 @@
---- ./normalizer/normalizer_class.c.orig 2010-04-13 10:33:36.000000000 -0400
-+++ ./normalizer/normalizer_class.c 2010-04-13 10:33:47.000000000 -0400
-@@ -29,7 +29,6 @@
-
- /* {{{ Normalizer methods arguments info */
-
--static
- ZEND_BEGIN_ARG_INFO_EX( normalizer_3_args, 0, 0, 3 )
- ZEND_ARG_INFO( 0, arg1 )
- ZEND_ARG_INFO( 0, arg2 )
--- pecl-intl-1.1.2_4.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list