guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python2-pil: Adapt to newer Freetype.


From: Andreas Enge
Subject: 01/01: gnu: python2-pil: Adapt to newer Freetype.
Date: Fri, 06 Mar 2015 23:57:32 +0000

andreas pushed a commit to branch master
in repository guix.

commit 516277cb146b528a3686c5d7d5ce0bd349095af3
Author: Andreas Enge <address@hidden>
Date:   Sat Mar 7 00:56:43 2015 +0100

    gnu: python2-pil: Adapt to newer Freetype.
    
    * gnu/packages/python.scm (python2-pil): Add snippet.
---
 gnu/packages/python.scm |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 58132b3..c28d389 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]