gnu: python2-pil: Adapt to newer Freetype.
* gnu/packages/python.scm (python2-pil): Add snippet.
This commit is contained in:
parent
f944fbf185
commit
516277cb14
|
@ -3146,7 +3146,14 @@ libxml2 and libxslt.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("freetype" ,freetype)
|
`(("freetype" ,freetype)
|
||||||
|
|
Loading…
Reference in New Issue