summaryrefslogtreecommitdiff
path: root/games-simulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-21 18:00:10 +0100
commit265dbe5dbc14c199299496c6db8fce3f76647015 (patch)
treeab18b5617d138f6684566b619405090989d55a2c /games-simulation
parent586819755b4dbfdffdc8a725ab7c0f86095b8489 (diff)
gentoo resync : 21.09.2018
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/Manifest.gzbin3233 -> 3230 bytes
-rw-r--r--games-simulation/openttd/Manifest3
-rw-r--r--games-simulation/openttd/files/openttd-1.8.0-icu62.patch99
-rw-r--r--games-simulation/openttd/openttd-1.8.0.ebuild1
4 files changed, 102 insertions, 1 deletions
diff --git a/games-simulation/Manifest.gz b/games-simulation/Manifest.gz
index 89a1581c0c05..2aabca412f87 100644
--- a/games-simulation/Manifest.gz
+++ b/games-simulation/Manifest.gz
Binary files differ
diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest
index 73a757516aa8..b02ceb429c44 100644
--- a/games-simulation/openttd/Manifest
+++ b/games-simulation/openttd/Manifest
@@ -1,5 +1,6 @@
AUX openttd-1.6.0-cflags.patch 1028 BLAKE2B bc71e2620a834b37f5957d3da885dcd5e692fcca238c7e87949a36e24029677f036da9773d786b44022e4f8d920ea25f881ed782ec107f9c963558e9411b9d98 SHA512 e29ef624562c717b37496ca2e8353c1c065f776548878e3863420df5431743a6dc80f952699c3738f3fa1dbe77c9a6bf457a7c21241c723db5b1f7865afa180f
AUX openttd-1.8.0-icu61.patch 2009 BLAKE2B a48deea2af2433ffbca27636687c5310da93410af557310fc86cfc0ec0a1dc249b7436a09a995c7f16a1dafb69399bb5c12b9b25f1eeb4e7b0abe481cf9b4158 SHA512 db470433bcc68688b1a4cf71a514879c139300a778feb3f832bff0400b578d4b7720df6e259a86013334a661fce56c66d74aaf709d0027cf9638f006bebca10e
+AUX openttd-1.8.0-icu62.patch 4036 BLAKE2B d90afd00fbc8f20f2a71f317d31952711a038d909c6d5ecd81a383a99d37db4607138251ae3c0563cea06f04332c9b233505dc48f01f3882f614c97f87a74734 SHA512 da67257f56dd9a8812a9fdd5a2535ddbd0f23eca931d426500dc762313197ff941f50a39a5a1fd2e47aa12bd5a3eb2a2bb3978a3748dbf06e8c63c7a010f6a1b
AUX openttd.initd 412 BLAKE2B 04a18d4a8cd30a600b2e033792714f2a8bee16e0b9207d6609a3c1ef2101a611cf17d028af23c61fcaef3233c7199e45612b90a5c9af14e992a5d7d74b1695f6 SHA512 eb14a32baa8a6601945e5f0cd844e2dc9620661ee4ab841d5085b75a0fb4a1ea8698b9292a489d63792d1163a13c7843795ef843fe0babdeac0a0468313667a3
AUX openttd.initd-r1 306 BLAKE2B d36e2f405a1b8808c708edd0c66e23d9976c2f5ef0fc2af3430bb8ba287c237dffe3d11cde6428b8ab668886ac4ff5eb4bc4fe5b39f205da4bf3d7773f66f7ef SHA512 bd04f9d812d5d68eebd953e9a667e5138d8e440139eb9c07f8da089495774b7d45e3b23bfb2af38ed053b333d4ead5f4be5c5fa877ad9f9bb0effee5c4a499dc
DIST openttd-1.7.1-source.tar.gz 10090311 BLAKE2B 339171cd2895398ee1fedcfd24d1126fbc060b6d4530b267310b3f220448f8e6469a726e71e9882bea117585ea7b9f7271205f576ee2b26de6dec079f57f1620 SHA512 4a0d2ee424374b50fe0d089b86ff16b5de3159848a38143ca6745e349b6126567f1e4beda9afe2e6bc21ffffce1166acf719d3f5c95703a14c1379f8857e83d3
@@ -7,6 +8,6 @@ DIST openttd-1.7.2-source.tar.gz 10097175 BLAKE2B a027b6ca6d3116dc3e6ad6ae439656
DIST openttd-1.8.0-source.tar.xz 6521016 BLAKE2B b3a608fd21d21f861af6eba235c028a59f071ab4698cfdcdd499b6ea7ece853679b064935368d95330414a24ac90aaa3c426afc12a2e135d5b0a48170879b807 SHA512 a2d61b3c94a550c8f3a581127df8c3459b1ddff5ba924942c468cbc70e88e0bf4405cecb68a91243b544ead64f215aa8d489a07b38dce507ae7d59e8ec155d7a
EBUILD openttd-1.7.1-r1.ebuild 4811 BLAKE2B 0a362bab76f8ffd48b5f565111aeee4517dc0e3b5c6b93e823189dd314ca83649827173611fca36ca529375c60ceebd654c4f5959dc0c959d0c38a5ba684cf40 SHA512 e54396fa54e8e065be21964fea386b1b734c72395e156b343eec1e2789393bf381093e7212e8ff673dfb849d9d36afc4c11bfc70620543dda7462bda9ccc8787
EBUILD openttd-1.7.2.ebuild 4811 BLAKE2B 1ff782a7493162f1c76b93c45bbe5509c2d5f090d518e41428b0d04adeb3205ca9ced894b85011c92bc65ce67fe6c581b5685da9c7233d03e0e5f291d1d979ad SHA512 586fcfd067dc19abf56d3064fd7478ea2c7cb4cc38a870bee7d79fc615056b8183b420908897d3739686dcd4f5d5054b3e836d8410ca85a8d0cce92228dc86ee
-EBUILD openttd-1.8.0.ebuild 4903 BLAKE2B 3d34ca3139c66f71e0db937ca24d1ebe76ced17a6b41a83fc1b439902c55c7a3074b399e3e5ae9a0995466b7dbce90c48b54e9705be73fdf05ff7d7e8aa8c019 SHA512 3254c304b4b1a6cd4202bdbba7e25604931e5d066cceae19736dc5d310b1e674e95bc54d44bfc057a154cd1743f5dac2641302e019ad4b18cbe78ab4b7263122
+EBUILD openttd-1.8.0.ebuild 4942 BLAKE2B 2ceb5e797c44317559daa6e051a98338aba0fda1cdcf01edb8132ede0f8a648d06491833b0764d0973ac2041c8642619a225b2d90839da44a6c75ab808bc265e SHA512 17185feba1d39f17bf150f95e087f5d31be94cc6c57ef9f62da9de78b6375052a09ea3aed26d4bf4d47a39ff6759752a77281d0fd117c3a459f76ac733dfbe90
EBUILD openttd-9999.ebuild 4938 BLAKE2B 588a3bf43ba454ecf67dfdf979a33360c51ed5af550380ee3d8931222fdd39acd84911b65011252b64f4c5bd3baac0c10c9f4ad76840cc5b2c11bd26b7d4aac6 SHA512 baab0384b8eb72d5852739727e373d529ab69d8aa36ef9b710ab14d9b7978b3195fa09ba7a3cf8e56d4bf88054f3796472589d11a5e8550c8e0086ac733380d6
MISC metadata.xml 752 BLAKE2B 85476f4dbf68d94a5d95e35cff935edfe35caee4bd2a253c7bad747b0915b80f0f7009bf78e419417a05345210bed17dff8f82ce603480c96781323d7d5a89fd SHA512 ddb1fbbe98d5e0bc1e23385b38502603819b89bd1d9285b0193a55efe2263b8ab6e045c7befdc908303eea27de8c9148dbcc8e7b6c035b267f5c8ff0f16b4b56
diff --git a/games-simulation/openttd/files/openttd-1.8.0-icu62.patch b/games-simulation/openttd/files/openttd-1.8.0-icu62.patch
new file mode 100644
index 000000000000..9ba907fa47e5
--- /dev/null
+++ b/games-simulation/openttd/files/openttd-1.8.0-icu62.patch
@@ -0,0 +1,99 @@
+From 55bf7628e299ef2c143e9ac97e87817b5eda3239 Mon Sep 17 00:00:00 2001
+From: Stefan Strogin <stefan.strogin@gmail.com>
+Date: Wed, 19 Sep 2018 23:52:10 +0300
+Subject: [PATCH] Fix #6854: Compilation with ICU 62
+
+---
+ src/gfx_layout.cpp | 18 +++++++++---------
+ src/gfx_layout.h | 2 +-
+ 2 files changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp
+index f5463d401..e13ece0e7 100644
+--- a/src/gfx_layout.cpp
++++ b/src/gfx_layout.cpp
+@@ -126,7 +126,7 @@ static size_t AppendToBuffer(UChar *buff, const UChar *buffer_last, WChar c)
+ * Wrapper for doing layouts with ICU.
+ */
+ class ICUParagraphLayout : public AutoDeleteSmallVector<ParagraphLayouter::Line *, 4>, public ParagraphLayouter {
+- ParagraphLayout *p; ///< The actual ICU paragraph layout.
++ icu::ParagraphLayout *p; ///< The actual ICU paragraph layout.
+ public:
+ /** Helper for GetLayouter, to get the right type. */
+ typedef UChar CharType;
+@@ -135,10 +135,10 @@ public:
+
+ /** Visual run contains data about the bit of text with the same font. */
+ class ICUVisualRun : public ParagraphLayouter::VisualRun {
+- const ParagraphLayout::VisualRun *vr; ///< The actual ICU vr.
++ const icu::ParagraphLayout::VisualRun *vr; ///< The actual ICU vr.
+
+ public:
+- ICUVisualRun(const ParagraphLayout::VisualRun *vr) : vr(vr) { }
++ ICUVisualRun(const icu::ParagraphLayout::VisualRun *vr) : vr(vr) { }
+
+ const Font *GetFont() const { return (const Font*)vr->getFont(); }
+ int GetGlyphCount() const { return vr->getGlyphCount(); }
+@@ -150,10 +150,10 @@ public:
+
+ /** A single line worth of VisualRuns. */
+ class ICULine : public AutoDeleteSmallVector<ICUVisualRun *, 4>, public ParagraphLayouter::Line {
+- ParagraphLayout::Line *l; ///< The actual ICU line.
++ icu::ParagraphLayout::Line *l; ///< The actual ICU line.
+
+ public:
+- ICULine(ParagraphLayout::Line *l) : l(l)
++ ICULine(icu::ParagraphLayout::Line *l) : l(l)
+ {
+ for (int i = 0; i < l->countRuns(); i++) {
+ *this->Append() = new ICUVisualRun(l->getVisualRun(i));
+@@ -173,13 +173,13 @@ public:
+ }
+ };
+
+- ICUParagraphLayout(ParagraphLayout *p) : p(p) { }
++ ICUParagraphLayout(icu::ParagraphLayout *p) : p(p) { }
+ ~ICUParagraphLayout() { delete p; }
+ void Reflow() { p->reflow(); }
+
+ ParagraphLayouter::Line *NextLine(int max_width)
+ {
+- ParagraphLayout::Line *l = p->nextLine(max_width);
++ icu::ParagraphLayout::Line *l = p->nextLine(max_width);
+ return l == NULL ? NULL : new ICULine(l);
+ }
+ };
+@@ -196,7 +196,7 @@ static ParagraphLayouter *GetParagraphLayout(UChar *buff, UChar *buff_end, FontM
+ }
+
+ /* Fill ICU's FontRuns with the right data. */
+- FontRuns runs(fontMapping.Length());
++ icu::FontRuns runs(fontMapping.Length());
+ for (FontMap::iterator iter = fontMapping.Begin(); iter != fontMapping.End(); iter++) {
+ runs.add(iter->second, iter->first);
+ }
+@@ -204,7 +204,7 @@ static ParagraphLayouter *GetParagraphLayout(UChar *buff, UChar *buff_end, FontM
+ LEErrorCode status = LE_NO_ERROR;
+ /* ParagraphLayout does not copy "buff", so it must stay valid.
+ * "runs" is copied according to the ICU source, but the documentation does not specify anything, so this might break somewhen. */
+- ParagraphLayout *p = new ParagraphLayout(buff, length, &runs, NULL, NULL, NULL, _current_text_dir == TD_RTL ? UBIDI_DEFAULT_RTL : UBIDI_DEFAULT_LTR, false, status);
++ icu::ParagraphLayout *p = new icu::ParagraphLayout(buff, length, &runs, NULL, NULL, NULL, _current_text_dir == TD_RTL ? UBIDI_DEFAULT_RTL : UBIDI_DEFAULT_LTR, false, status);
+ if (status != LE_NO_ERROR) {
+ delete p;
+ return NULL;
+diff --git a/src/gfx_layout.h b/src/gfx_layout.h
+index 0a21d9b0c..028f5be63 100644
+--- a/src/gfx_layout.h
++++ b/src/gfx_layout.h
+@@ -21,7 +21,7 @@
+
+ #ifdef WITH_ICU_LAYOUT
+ #include "layout/ParagraphLayout.h"
+-#define ICU_FONTINSTANCE : public LEFontInstance
++#define ICU_FONTINSTANCE : public icu::LEFontInstance
+ #else /* WITH_ICU_LAYOUT */
+ #define ICU_FONTINSTANCE
+ #endif /* WITH_ICU_LAYOUT */
+--
+2.19.0
+
diff --git a/games-simulation/openttd/openttd-1.8.0.ebuild b/games-simulation/openttd/openttd-1.8.0.ebuild
index 2d97c8bf0810..7daebea4a2cc 100644
--- a/games-simulation/openttd/openttd-1.8.0.ebuild
+++ b/games-simulation/openttd/openttd-1.8.0.ebuild
@@ -52,6 +52,7 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${PN}-1.6.0-cflags.patch
"${FILESDIR}"/${PN}-1.8.0-icu61.patch
+ "${FILESDIR}"/${PN}-1.8.0-icu62.patch
)
src_configure() {