aboutsummaryrefslogtreecommitdiff
path: root/textproc/rubygem-charlock_holmes
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2018-04-04 08:21:13 +0000
committerJan Beich <jbeich@FreeBSD.org>2018-04-04 08:21:13 +0000
commit29eba89b447dbcee09b97a2bdbf1cacb4ed4a1d8 (patch)
tree31fd00d9e46dfa679f3ae50a1584320b25a2f3ac /textproc/rubygem-charlock_holmes
parentcb711064e071182782a6d5ea73ee2a3ae17051c2 (diff)
downloadports-29eba89b447dbcee09b97a2bdbf1cacb4ed4a1d8.tar.gz
ports-29eba89b447dbcee09b97a2bdbf1cacb4ed4a1d8.zip
textproc/rubygem-charlock_holmes: unbreak with ICU 61
transliterator.cpp:39:3: error: unknown type name 'StringEnumeration'; did you mean 'icu::StringEnumeration'? StringEnumeration *id_list; ^~~~~~~~~~~~~~~~~ icu::StringEnumeration /usr/local/include/unicode/strenum.h:57:20: note: 'icu::StringEnumeration' declared here class U_COMMON_API StringEnumeration : public UObject { ^ transliterator.cpp:47:13: error: use of undeclared identifier 'Transliterator'; did you mean 'icu::Transliterator'? id_list = Transliterator::getAvailableIDs(status); ^~~~~~~~~~~~~~ icu::Transliterator /usr/local/include/unicode/translit.h:243:18: note: 'icu::Transliterator' declared here class U_I18N_API Transliterator : public UObject { ^ transliterator.cpp:81:3: error: unknown type name 'Transliterator'; did you mean 'UTransliterator'? Transliterator *trans; ^~~~~~~~~~~~~~ UTransliterator /usr/local/include/unicode/utrans.h:70:15: note: 'UTransliterator' declared here typedef void* UTransliterator; ^ transliterator.cpp:86:3: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'? UnicodeString *u_txt; ^~~~~~~~~~~~~ icu::UnicodeString /usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here class U_COMMON_API UnicodeString : public Replaceable ^ transliterator.cpp:101:11: error: use of undeclared identifier 'Transliterator'; did you mean 'icu::Transliterator'? trans = Transliterator::createInstance(UnicodeString(id, id_len), UTRANS_FORWARD, p_error, status); ^~~~~~~~~~~~~~ icu::Transliterator /usr/local/include/unicode/translit.h:243:18: note: 'icu::Transliterator' declared here class U_I18N_API Transliterator : public UObject { ^ transliterator.cpp:101:42: error: use of undeclared identifier 'UnicodeString' trans = Transliterator::createInstance(UnicodeString(id, id_len), UTRANS_FORWARD, p_error, status); ^ transliterator.cpp:106:15: error: unknown type name 'UnicodeString'; did you mean 'icu::UnicodeString'? u_txt = new UnicodeString(txt, txt_len); ^~~~~~~~~~~~~ icu::UnicodeString /usr/local/include/unicode/unistr.h:286:20: note: 'icu::UnicodeString' declared here class U_COMMON_API UnicodeString : public Replaceable ^ transliterator.cpp:107:8: error: member reference base type 'UTransliterator' (aka 'void *') is not a structure or union trans->transliterate(*u_txt); ~~~~~^ ~~~~~~~~~~~~~ transliterator.cpp:108:3: error: no template named 'StringByteSink'; did you mean 'icu::StringByteSink'? StringByteSink<std::string> sink(&result); ^~~~~~~~~~~~~~ icu::StringByteSink /usr/local/include/unicode/bytestream.h:232:7: note: 'icu::StringByteSink' declared here class StringByteSink : public ByteSink { ^ https://ssl.icu-project.org/trac/changeset/40705 PR: 227042 Reported by: antoine (via exp-run) Obtained from: upstream
Notes
Notes: svn path=/head/; revision=466399
Diffstat (limited to 'textproc/rubygem-charlock_holmes')
-rw-r--r--textproc/rubygem-charlock_holmes/Makefile3
-rw-r--r--textproc/rubygem-charlock_holmes/distinfo2
2 files changed, 5 insertions, 0 deletions
diff --git a/textproc/rubygem-charlock_holmes/Makefile b/textproc/rubygem-charlock_holmes/Makefile
index a30bf2ae73ef..8fe0796f01d8 100644
--- a/textproc/rubygem-charlock_holmes/Makefile
+++ b/textproc/rubygem-charlock_holmes/Makefile
@@ -6,6 +6,9 @@ PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
+PATCH_SITES= https://github.com/brianmario/charlock_holmes/commit/
+PATCHFILES= 018be8532670.patch:-p1
+
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Gems for character encoding detection
diff --git a/textproc/rubygem-charlock_holmes/distinfo b/textproc/rubygem-charlock_holmes/distinfo
index ad4e12bbc1c4..da1c9023df9d 100644
--- a/textproc/rubygem-charlock_holmes/distinfo
+++ b/textproc/rubygem-charlock_holmes/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1504489308
SHA256 (rubygem/charlock_holmes-0.7.5.gem) = 9e942575e702c96e3747f494756a72eee008a185d6c7ebd1049c4dd0b529b625
SIZE (rubygem/charlock_holmes-0.7.5.gem) = 10752
+SHA256 (rubygem/018be8532670.patch) = f54871c047f27ad057720c1f3ef7578bb87edc2c9e5ee3623a3d26b9dde40f13
+SIZE (rubygem/018be8532670.patch) = 2324