summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-11-18 11:52:25 +0100
committerPacho Ramos <pacho@gentoo.org>2018-11-18 11:52:51 +0100
commit621b8551914d97f4c034654b5adc1909a7248db4 (patch)
tree845c1c47a773f179306ae1007fba0f7c4991f4d0 /media-fonts
parentnet-print/cndrvcups-lb: Drop old (diff)
downloadgentoo-621b8551914d97f4c034654b5adc1909a7248db4.tar.gz
gentoo-621b8551914d97f4c034654b5adc1909a7248db4.tar.bz2
gentoo-621b8551914d97f4c034654b5adc1909a7248db4.zip
media-fonts/noto-emoji: Use proper png.py when building
Thanks-to: ILMostro Thanks-to: Mike Gilbert Closes: https://bugs.gentoo.org/671290 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-fonts')
-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() {