summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-fonts/noto-emoji/files/noto-emoji-20180823-build-path.patch11
-rw-r--r--media-fonts/noto-emoji/noto-emoji-20180823.ebuild3
2 files changed, 14 insertions, 0 deletions
diff --git a/media-fonts/noto-emoji/files/noto-emoji-20180823-build-path.patch b/media-fonts/noto-emoji/files/noto-emoji-20180823-build-path.patch
new file mode 100644
index 000000000000..151f88251524
--- /dev/null
+++ b/media-fonts/noto-emoji/files/noto-emoji-20180823-build-path.patch
@@ -0,0 +1,11 @@
+--- a/add_glyphs.py.old 2018-11-18 11:11:56.387323302 +0100
++++ b/add_glyphs.py 2018-11-18 11:12:18.203529159 +0100
+@@ -22,7 +22,7 @@
+ import add_emoji_gsub
+ import add_aliases
+
+-sys.path.append(
++sys.path.insert(0,
+ path.join(os.path.dirname(__file__), 'third_party', 'color_emoji'))
+ from png import PNG
+
diff --git a/media-fonts/noto-emoji/noto-emoji-20180823.ebuild b/media-fonts/noto-emoji/noto-emoji-20180823.ebuild
index 847572c4ae70..52be1429c0d6 100644
--- a/media-fonts/noto-emoji/noto-emoji-20180823.ebuild
+++ b/media-fonts/noto-emoji/noto-emoji-20180823.ebuild
@@ -38,6 +38,9 @@ PATCHES=(
# From Fedora
"${FILESDIR}/${PN}-use-system-pngquant.patch"
"${FILESDIR}/${PN}-build-all-flags.patch"
+
+ # https://github.com/googlei18n/noto-emoji/issues/240
+ "${FILESDIR}/${PN}-20180823-build-path.patch"
)
src_prepare() {