From 3edce2c9f9b14c2cd49c54abc5abb6d651c2ed23 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 13 Mar 2015 09:33:33 +0100 Subject: [PATCH] gnu: libgnomeprint: adapt to newer freetype. * gnu/packages/gnome.scm (freetype): Change "freetype" to "freetype2" in snippet. --- gnu/packages/gnome.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 52be520df5..b547b81f43 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -1089,7 +1089,14 @@ widgets built in the loading process.") name "-" version ".tar.bz2")) (sha256 (base32 - "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")))) + "129ka3nn8gx9dlfry17ib79azxk45wzfv5rgqzw6dwx2b5ns8phm")) + (modules '((guix build utils))) + (snippet + ;; Adapt to newer freetype. As the package is deprecated, there + ;; is no use in creating a patch and reporting it. + '(substitute* '("libgnomeprint/gnome-font-face.c" + "libgnomeprint/gnome-rfont.c") + (("freetype/") "freetype2/"))))) (build-system gnu-build-system) (inputs `(("popt" ,popt)