summaryrefslogtreecommitdiff
path: root/graphics/py-imaging
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2013-12-11 23:55:11 +0000
committermarkd <markd@pkgsrc.org>2013-12-11 23:55:11 +0000
commit7ff8c52d7e166d321fac60150a2f4c7b4cf03c99 (patch)
tree426c7f2a72be8bc76257dce6a1ea1146f2859af2 /graphics/py-imaging
parent6e3e5cc9ecb1989b179e590e995594680b4bae9e (diff)
downloadpkgsrc-7ff8c52d7e166d321fac60150a2f4c7b4cf03c99.tar.gz
Fix a freetype 2.0 hangover. Allows build with freetype 2.5.x.
Diffstat (limited to 'graphics/py-imaging')
-rw-r--r--graphics/py-imaging/distinfo3
-rw-r--r--graphics/py-imaging/patches/patch-_imagingft.c18
2 files changed, 20 insertions, 1 deletions
diff --git a/graphics/py-imaging/distinfo b/graphics/py-imaging/distinfo
index c15709eb76d..280a4f839db 100644
--- a/graphics/py-imaging/distinfo
+++ b/graphics/py-imaging/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.14 2011/01/03 12:17:30 adam Exp $
+$NetBSD: distinfo,v 1.15 2013/12/11 23:55:11 markd Exp $
SHA1 (python/Imaging-1.1.7.tar.gz) = 76c37504251171fda8da8e63ecb8bc42a69a5c81
RMD160 (python/Imaging-1.1.7.tar.gz) = 9af570fe100e250a4860314341fe3e6d695d7fde
Size (python/Imaging-1.1.7.tar.gz) = 498749 bytes
+SHA1 (patch-_imagingft.c) = b935ce5ebdd57061ace324f7b53055113782f89c
SHA1 (patch-ab) = 4d6b80cf6792c860baf7650b22263c441f057c89
SHA1 (patch-ac) = 2ad2a988c7fdddb34812959ddfd60442282a48ea
diff --git a/graphics/py-imaging/patches/patch-_imagingft.c b/graphics/py-imaging/patches/patch-_imagingft.c
new file mode 100644
index 00000000000..97233b5b599
--- /dev/null
+++ b/graphics/py-imaging/patches/patch-_imagingft.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-_imagingft.c,v 1.1 2013/12/11 23:55:11 markd Exp $
+
+fix a freetype 2.0 hangover
+
+--- _imagingft.c.orig 2009-11-01 00:44:12.000000000 +0000
++++ _imagingft.c
+@@ -70,7 +70,11 @@ struct {
+ const char* message;
+ } ft_errors[] =
+
++#if defined(USE_FREETYPE_2_1)
++#include FT_ERRORS_H
++#else
+ #include <freetype/fterrors.h>
++#endif
+
+ /* -------------------------------------------------------------------- */
+ /* font objects */