~ruther/guix-local

516277cb146b528a3686c5d7d5ce0bd349095af3 — Andreas Enge 11 years ago f944fbf
gnu: python2-pil: Adapt to newer Freetype.

* gnu/packages/python.scm (python2-pil): Add snippet.
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/python.scm
M gnu/packages/python.scm => gnu/packages/python.scm +8 -1
@@ 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)