summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-01-12 13:43:19 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-01-12 13:43:37 +0100
commitd563795787d06818ae1f686d3849f20b61a330ac (patch)
tree071057ddb3333ea44ab4b40e1f7b6df39f541bf2 /media-sound/lilypond
parentx11-terms/tilda: Drop myself from maintainers (diff)
downloadgentoo-d563795787d06818ae1f686d3849f20b61a330ac.tar.gz
gentoo-d563795787d06818ae1f686d3849f20b61a330ac.tar.bz2
gentoo-d563795787d06818ae1f686d3849f20b61a330ac.zip
media-sound/lilypond: updated patch for live
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/lilypond')
-rw-r--r--media-sound/lilypond/files/lilypond-9999-fix-font-size.patch13
-rw-r--r--media-sound/lilypond/lilypond-9999.ebuild4
2 files changed, 15 insertions, 2 deletions
diff --git a/media-sound/lilypond/files/lilypond-9999-fix-font-size.patch b/media-sound/lilypond/files/lilypond-9999-fix-font-size.patch
new file mode 100644
index 000000000000..45a3ad5e22ca
--- /dev/null
+++ b/media-sound/lilypond/files/lilypond-9999-fix-font-size.patch
@@ -0,0 +1,13 @@
+diff --git a/lily/pango-font.cc b/lily/pango-font.cc
+index 053ce17143..0c171bc44e 100644
+--- a/lily/pango-font.cc
++++ b/lily/pango-font.cc
+@@ -382,7 +382,7 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item) const
+ tail = SCM_CDRLOC (*tail);
+ }
+
+- PangoFontDescription *descr = pango_font_describe (pa->font);
++ PangoFontDescription *descr = pango_context_get_font_description (context_);
+ Real size = pango_font_description_get_size (descr)
+ / (static_cast<Real> (PANGO_SCALE));
+ pango_font_description_free (descr);
diff --git a/media-sound/lilypond/lilypond-9999.ebuild b/media-sound/lilypond/lilypond-9999.ebuild
index 89cf464d7f84..03ab64de7f8d 100644
--- a/media-sound/lilypond/lilypond-9999.ebuild
+++ b/media-sound/lilypond/lilypond-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -63,7 +63,7 @@ DEPEND="${RDEPEND}
RESTRICT="test"
PATCHES=(
- "${FILESDIR}"/${PN}-2.21.1-fix-font-size.patch
+ "${FILESDIR}"/${P}-fix-font-size.patch
)
DOCS=( DEDICATION HACKING README.md ROADMAP )