gnu: python2-pil: Adapt to newer Freetype.

* gnu/packages/python.scm (python2-pil): Add snippet.
This commit is contained in:
Andreas Enge 2015-03-07 00:56:43 +01:00
parent f944fbf185
commit 516277cb14
1 changed files with 8 additions and 1 deletions

View File

@ -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)