pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/php56



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Dec  9 00:13:07 UTC 2021

Modified Files:
        pkgsrc/lang/php56: distinfo
        pkgsrc/lang/php56/patches:
            patch-ext_intl_breakiterator_codepointiterator__internal.cpp
Added Files:
        pkgsrc/lang/php56/patches:
            patch-ext_intl_breakiterator_codepointiterator__internal.h

Log Message:
php56-intl: fix icu>=70 fallout. Backport from php74-intl.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/lang/php56/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/php56/distinfo
diff -u pkgsrc/lang/php56/distinfo:1.60 pkgsrc/lang/php56/distinfo:1.61
--- pkgsrc/lang/php56/distinfo:1.60     Tue Oct 26 10:51:47 2021
+++ pkgsrc/lang/php56/distinfo  Thu Dec  9 00:13:07 2021
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.60 2021/10/26 10:51:47 nia Exp $
+$NetBSD: distinfo,v 1.61 2021/12/09 00:13:07 tnn Exp $
 
 BLAKE2s (PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch) = 9eaf6505d80e90147fd0b993fb501620030eea24ccd69e42c49d8faf50d47775
 SHA512 (PHP-5.6.31-OpenSSL-1.1.0-compatibility-20170801.patch) = bbe39ad27a5a82c705692c921b214c5630227ed9852f0432340f74533b5e618d9bea01bff75a4b7a1f1b72876b6d092d2db4533758d9a927f274cff7361f3eb4
@@ -11,7 +11,8 @@ SHA1 (patch-configure) = a5623b0cbb3331f
 SHA1 (patch-disable-filter-url) = a2b08912d81f2872bf1834fa4cefddb044c9d0f8
 SHA1 (patch-ext_gd_config.m4) = b92ab4c7fe8aceaef7787a607a7d2eac258fee19
 SHA1 (patch-ext_imap_config.m4) = 9c6ed6966366c4fe1b7cfd34b5910e2ff0e68577
-SHA1 (patch-ext_intl_breakiterator_codepointiterator__internal.cpp) = f4cf2a1cc650ed9a4291924c2ed9fcbd7061e33b
+SHA1 (patch-ext_intl_breakiterator_codepointiterator__internal.cpp) = 98ff92cbc5e4a92310a168e9959dd702b18e0783
+SHA1 (patch-ext_intl_breakiterator_codepointiterator__internal.h) = 01424bd7758505d9800b7f7e9e09d153b908506f
 SHA1 (patch-ext_intl_collator_collator__convert.c) = 91f5b8458eebc0c2f3871f76a522f627e4cf4fbf
 SHA1 (patch-ext_intl_collator_collator__error.c) = 94a26ee166506f7f77dd762e9c789d0e803f2b3c
 SHA1 (patch-ext_intl_collator_collator__locale.c) = ab48d5fac5a80b1c4c25fef61993a889a8014e3f

Index: pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp
diff -u pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp:1.1 pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp:1.2
--- pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp:1.1  Mon Nov 16 12:10:05 2020
+++ pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.cpp      Thu Dec  9 00:13:07 2021
@@ -1,4 +1,6 @@
-$NetBSD: patch-ext_intl_breakiterator_codepointiterator__internal.cpp,v 1.1 2020/11/16 12:10:05 ryoon Exp $
+$NetBSD: patch-ext_intl_breakiterator_codepointiterator__internal.cpp,v 1.2 2021/12/09 00:13:07 tnn Exp $
+
+php56-intl: fix icu>=70 fallout. Backport from php74-intl.
 
 --- ext/intl/breakiterator/codepointiterator_internal.cpp.orig 2019-01-09 09:54:13.000000000 +0000
 +++ ext/intl/breakiterator/codepointiterator_internal.cpp
@@ -11,8 +13,15 @@ $NetBSD: patch-ext_intl_breakiterator_co
  
        //don't bother copying the character iterator, getText() is deprecated
        clearCurrentCharIter();
-@@ -75,17 +75,17 @@ CodePointBreakIterator::~CodePointBreakI
+@@ -72,20 +72,24 @@ CodePointBreakIterator::~CodePointBreakI
+       clearCurrentCharIter();
+ }
+ 
++#if U_ICU_VERSION_MAJOR_NUM >= 70
++bool CodePointBreakIterator::operator==(const BreakIterator& that) const
++#else
  UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
++#endif
  {
        if (typeid(*this) != typeid(that)) {
 -              return FALSE;
@@ -32,7 +41,7 @@ $NetBSD: patch-ext_intl_breakiterator_co
  }
  
  CodePointBreakIterator* CodePointBreakIterator::clone(void) const
-@@ -106,7 +106,7 @@ CharacterIterator& CodePointBreakIterato
+@@ -106,7 +110,7 @@ CharacterIterator& CodePointBreakIterato
  
  UText *CodePointBreakIterator::getUText(UText *fillIn, UErrorCode &status) const
  {
@@ -41,7 +50,7 @@ $NetBSD: patch-ext_intl_breakiterator_co
  }
  
  void CodePointBreakIterator::setText(const UnicodeString &text)
-@@ -125,7 +125,7 @@ void CodePointBreakIterator::setText(UTe
+@@ -125,7 +129,7 @@ void CodePointBreakIterator::setText(UTe
                return;
        }
  
@@ -50,7 +59,7 @@ $NetBSD: patch-ext_intl_breakiterator_co
  
        clearCurrentCharIter();
  }
-@@ -277,7 +277,7 @@ CodePointBreakIterator &CodePointBreakIt
+@@ -277,7 +281,7 @@ CodePointBreakIterator &CodePointBreakIt
        }
  
        int64_t pos = utext_getNativeIndex(this->fText);

Added files:

Index: pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.h
diff -u /dev/null pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.h:1.1
--- /dev/null   Thu Dec  9 00:13:07 2021
+++ pkgsrc/lang/php56/patches/patch-ext_intl_breakiterator_codepointiterator__internal.h        Thu Dec  9 00:13:07 2021
@@ -0,0 +1,18 @@
+$NetBSD: patch-ext_intl_breakiterator_codepointiterator__internal.h,v 1.1 2021/12/09 00:13:07 tnn Exp $
+
+php73-intl: fix icu>=70 fallout. Backport from php74-intl.
+
+--- ext/intl/breakiterator/codepointiterator_internal.h.orig   2019-01-09 09:54:13.000000000 +0000
++++ ext/intl/breakiterator/codepointiterator_internal.h
+@@ -36,7 +36,11 @@ namespace PHP {
+ 
+               virtual ~CodePointBreakIterator();
+ 
++#if U_ICU_VERSION_MAJOR_NUM >= 70
++              virtual bool operator==(const BreakIterator& that) const;
++#else
+               virtual UBool operator==(const BreakIterator& that) const;
++#endif
+ 
+               virtual CodePointBreakIterator* clone(void) const;
+ 



Home | Main Index | Thread Index | Old Index