From 516277cb146b528a3686c5d7d5ce0bd349095af3 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sat, 7 Mar 2015 00:56:43 +0100 Subject: gnu: python2-pil: Adapt to newer Freetype. * gnu/packages/python.scm (python2-pil): Add snippet. --- gnu/packages/python.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 58132b334a..c28d389f88 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3146,7 +3146,14 @@ libxml2 and libxslt.") version ".tar.gz")) (sha256 (base32 - "04aj80jhfbmxqzvmq40zfi4z3cw6vi01m3wkk6diz3lc971cfnw9")))) + "04aj80jhfbmxqzvmq40zfi4z3cw6vi01m3wkk6diz3lc971cfnw9")) + (modules '((guix build utils))) + (snippet + ;; Adapt to newer freetype. As the package is unmaintained upstream, + ;; there is no use in creating a patch and reporting it. + '(substitute* "_imagingft.c" + (("freetype/") + "freetype2/"))))) (build-system python-build-system) (inputs `(("freetype" ,freetype) -- cgit v1.2.3