pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-sk1libs build fix following the freetype2 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae8e0c5956cd
branches: trunk
changeset: 632296:ae8e0c5956cd
user: spz <spz%pkgsrc.org@localhost>
date: Sat Mar 22 15:57:07 2014 +0000
description:
build fix following the freetype2 update
diffstat:
graphics/py-sk1libs/distinfo | 3 +-
graphics/py-sk1libs/patches/patch-src_imaging_libimagingft___imagingft.c | 21 ++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 0d7121f755c8 -r ae8e0c5956cd graphics/py-sk1libs/distinfo
--- a/graphics/py-sk1libs/distinfo Sat Mar 22 13:47:53 2014 +0000
+++ b/graphics/py-sk1libs/distinfo Sat Mar 22 15:57:07 2014 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/01/12 07:57:58 adam Exp $
+$NetBSD: distinfo,v 1.2 2014/03/22 15:57:07 spz Exp $
SHA1 (sk1libs-0.9.1.tar.gz) = dd948558128bb6547b1f277087bf3066104912da
RMD160 (sk1libs-0.9.1.tar.gz) = 38f22205e0b5b6078e31ec6dc4c1d93845533046
Size (sk1libs-0.9.1.tar.gz) = 1019443 bytes
+SHA1 (patch-src_imaging_libimagingft___imagingft.c) = a52035a0601193114b98472c1a6c69e033ecb15d
diff -r 0d7121f755c8 -r ae8e0c5956cd graphics/py-sk1libs/patches/patch-src_imaging_libimagingft___imagingft.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-sk1libs/patches/patch-src_imaging_libimagingft___imagingft.c Sat Mar 22 15:57:07 2014 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_imaging_libimagingft___imagingft.c,v 1.1 2014/03/22 15:57:07 spz Exp $
+
+make it deal gracefully with both freetype 2.4.* and 2.5.*
+
+--- src/imaging/libimagingft/_imagingft.c.orig 2009-11-01 00:44:12.000000000 +0000
++++ src/imaging/libimagingft/_imagingft.c
+@@ -70,7 +70,14 @@ struct {
+ const char* message;
+ } ft_errors[] =
+
++#if defined(USE_FREETYPE_2_1)
++/* freetype 2.1 and newer */
++#include <ft2build.h>
++#include FT_ERRORS_H
++#else
++/* freetype 2.0 */
+ #include <freetype/fterrors.h>
++#endif
+
+ /* -------------------------------------------------------------------- */
+ /* font objects */
Home |
Main Index |
Thread Index |
Old Index