summaryrefslogtreecommitdiff
path: root/graphics/lilypond/patches
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2014-12-12 00:52:14 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-13 10:35:41 +0700
commitcd74c15930a3fd5fe14d4555937ec55fc337e922 (patch)
treed643eb7cb726bdb34de0b7a15721509f8228b9e7 /graphics/lilypond/patches
parent158949367c827185ec652cb474a0e3668a716d13 (diff)
downloadslackbuilds-cd74c15930a3fd5fe14d4555937ec55fc337e922.tar.gz
graphics/lilypond: Fix building against fontforge-20141014.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'graphics/lilypond/patches')
-rw-r--r--graphics/lilypond/patches/detect-fontforge.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/lilypond/patches/detect-fontforge.diff b/graphics/lilypond/patches/detect-fontforge.diff
new file mode 100644
index 0000000000..1d3e546dc5
--- /dev/null
+++ b/graphics/lilypond/patches/detect-fontforge.diff
@@ -0,0 +1,12 @@
+diff --git a/configure b/configure
+--- a/configure
++++ b/configure
+@@ -9810,7 +9810,7 @@
+
+ if test -z "$_ver"; then
+ ## If empty, try date [fontforge]
+- eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep '[0-9]\{6,8\}' \
++ eval _ver=\"\`("$exe" --version || "$exe" -V) 2>&1 | grep 'libfontforge [0-9]\{6,8\}' \
+ | head -n 1 \
+ | sed -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\"
+ fi