diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-18 17:53:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-18 17:53:18 +0000 |
commit | 425cba5434c46a359e965039b7858fe100350f75 (patch) | |
tree | d5cbe8a2a486a13cd0100cf8bbb7cde8aeef9e2c /editors | |
parent | e0ddd4c856059fe559bdee32c7945b98e9c695a0 (diff) | |
download | pkgsrc-425cba5434c46a359e965039b7858fe100350f75.tar.gz |
Limit stack use when compiling with clang.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/Sigil/distinfo | 5 | ||||
-rw-r--r-- | editors/Sigil/patches/patch-src_Misc_Language.cpp | 116 |
2 files changed, 119 insertions, 2 deletions
diff --git a/editors/Sigil/distinfo b/editors/Sigil/distinfo index 8de0ce28639..578f4235776 100644 --- a/editors/Sigil/distinfo +++ b/editors/Sigil/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.43 2019/06/23 10:35:05 wiz Exp $ +$NetBSD: distinfo,v 1.44 2020/03/18 17:53:18 joerg Exp $ SHA1 (Sigil-0.9.14.tar.gz) = ed90736968747a5e65f31f883ab2f1b045fc8a20 RMD160 (Sigil-0.9.14.tar.gz) = 39dd812eaa26ec139d75ca038dcf398125d46186 SHA512 (Sigil-0.9.14.tar.gz) = 8bf0d887d96fa9ee5ff372dae58b36b699c468fc1d2a163aa5be14a39e744ea634f38e465acb686df603dc82d5d4949c8fd0dfe1a92789fbda2596058222e2f1 Size (Sigil-0.9.14.tar.gz) = 18253774 bytes SHA1 (patch-3rdparty_minizip_ioapi.c) = a68dead89687529b7022cda3bc8a079e5f5c1459 -SHA1 (patch-CMakeLists.txt) = f7dc6af8449fb79b378dc5f6b78d5c5e6beaf7db +SHA1 (patch-CMakeLists.txt) = 335610a65ffc97fdb18c75ea0e64b0b4ff8cccd7 +SHA1 (patch-src_Misc_Language.cpp) = 5ae2fc9b76b1a706efd05eecad95d5a6760a6357 diff --git a/editors/Sigil/patches/patch-src_Misc_Language.cpp b/editors/Sigil/patches/patch-src_Misc_Language.cpp new file mode 100644 index 00000000000..fb525361abf --- /dev/null +++ b/editors/Sigil/patches/patch-src_Misc_Language.cpp @@ -0,0 +1,116 @@ +$NetBSD: patch-src_Misc_Language.cpp,v 1.1 2020/03/18 17:53:18 joerg Exp $ + +Workaround excessive stack use in clang during codegen. + +--- src/Misc/Language.cpp.orig 2020-03-18 13:57:20.504966123 +0000 ++++ src/Misc/Language.cpp +@@ -127,7 +127,8 @@ void Language::SetLanguageMap() + "ca-ES" << tr("Catalan") + QString(" - ") + tr("Spain") << + "km" << tr("Central Khmer") << + "ch" << tr("Chamorro") << +- "ce" << tr("Chechen") << ++ "ce" << tr("Chechen"); ++ data << + "zh" << tr("Chinese") << + "zh-CN" << tr("Chinese") + QString(" - ") + tr("China") << + "zh-HK" << tr("Chinese") + QString(" - ") + tr("Hong Kong") << +@@ -178,7 +179,8 @@ void Language::SetLanguageMap() + "gd-IE" << tr("Gaelic") + QString(" - ") + tr("Ireland") << + "gl" << tr("Galician") << + "lg" << tr("Ganda") << +- "ka" << tr("Georgian") << ++ "ka" << tr("Georgian"); ++ data << + "de" << tr("German") << + "de-AT" << tr("German") + QString(" - ") + tr("Austria") << + "de-DE" << tr("German") + QString(" - ") + tr("Germany") << +@@ -226,7 +228,8 @@ void Language::SetLanguageMap() + "kj" << tr("Kuanyama") << + "ku" << tr("Kurdish") << + "lo" << tr("Lao") << +- "la" << tr("Latin") << ++ "la" << tr("Latin"); ++ data << + "lv" << tr("Latvian") << + "lv-LV" << tr("Latvian") + QString(" - ") + tr("Latvia") << + "li" << tr("Limburgan") << +@@ -275,7 +278,8 @@ void Language::SetLanguageMap() + "ro-MO" << tr("Romanian") + QString(" - ") + tr("Moldova") << + "ro-RO" << tr("Romanian") + QString(" - ") + tr("Romania") << + "rm" << tr("Romansh") << +- "rn" << tr("Rundi") << ++ "rn" << tr("Rundi"); ++ data << + "ru" << tr("Russian") << + "ru-MO" << tr("Russian") + QString(" - ") + tr("Moldova") << + "sm" << tr("Samoan") << +@@ -326,7 +330,8 @@ void Language::SetLanguageMap() + "te" << tr("Telugu") << + "th" << tr("Thai") << + "bo" << tr("Tibetan") << +- "ti" << tr("Tigrinya") << ++ "ti" << tr("Tigrinya"); ++ data << + "to" << tr("Tonga") << + "ts" << tr("Tsonga") << + "tn" << tr("Tswana") << +@@ -376,7 +381,8 @@ void Language::SetLanguageMap() + "awa" << tr("Awadhi") << + "ban" << tr("Balinese") << + "bat" << tr("Baltic languages") << +- "bal" << tr("Baluchi") << ++ "bal" << tr("Baluchi"); ++ data << + "bai" << tr("Bamileke languages") << + "bad" << tr("Banda languages") << + "bnt" << tr("Bantu languages") << +@@ -425,7 +431,8 @@ void Language::SetLanguageMap() + "doi" << tr("Dogri") << + "dgr" << tr("Dogrib") << + "dra" << tr("Dravidian languages") << +- "dua" << tr("Duala") << ++ "dua" << tr("Duala"); ++ data << + "dum" << tr("Dutch- Middle (ca.1050-1350)") << + "dyu" << tr("Dyula") << + "frs" << tr("Eastern Frisian") << +@@ -474,7 +481,8 @@ void Language::SetLanguageMap() + "inc" << tr("Indic languages") << + "ine" << tr("Indo-European languages") << + "inh" << tr("Ingush") << +- "ira" << tr("Iranian languages") << ++ "ira" << tr("Iranian languages"); ++ data << + "mga" << tr("Irish- Middle (900-1200)") << + "sga" << tr("Irish- Old (to 900)") << + "iro" << tr("Iroquoian languages") << +@@ -524,7 +532,8 @@ void Language::SetLanguageMap() + "mai" << tr("Maithili") << + "mak" << tr("Makasar") << + "mnc" << tr("Manchu") << +- "mdr" << tr("Mandar") << ++ "mdr" << tr("Mandar"); ++ data << + "man" << tr("Mandingo") << + "mni" << tr("Manipuri") << + "mno" << tr("Manobo languages") << +@@ -573,7 +582,8 @@ void Language::SetLanguageMap() + "pap" << tr("Papiamento") << + "paa" << tr("Papuan languages") << + "gug" << tr("Paraguayan GuaranĂ") << +- "peo" << tr("Persian- Old (ca.600-400 B.C.)") << ++ "peo" << tr("Persian- Old (ca.600-400 B.C.)"); ++ data << + "phi" << tr("Philippine languages") << + "phn" << tr("Phoenician") << + "pon" << tr("Pohnpeian") << +@@ -623,7 +633,8 @@ void Language::SetLanguageMap() + "tet" << tr("Tetum") << + "tig" << tr("Tigre") << + "tem" << tr("Timne") << +- "tiv" << tr("Tiv") << ++ "tiv" << tr("Tiv"); ++ data << + "tli" << tr("Tlingit") << + "tpi" << tr("Tok Pisin") << + "tkl" << tr("Tokelau") << |