diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-06-19 02:59:41 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-06-19 02:59:41 +0000 |
commit | 13fa54f5c7577bad90fb7fbe55dc67a0cfecefd7 (patch) | |
tree | 1ed896d5f466fe8c8ecac2aa357dc875eb77b72b | |
parent | 22d911ce3a96008b1a3a980067a90035865afd93 (diff) | |
download | pkgsrc-13fa54f5c7577bad90fb7fbe55dc67a0cfecefd7.tar.gz |
Make this package build on NetBSD 1.6:
* Fix C99-isms
* Remove -Werror
-rw-r--r-- | graphics/libgdiplus/Makefile | 4 | ||||
-rw-r--r-- | graphics/libgdiplus/distinfo | 3 | ||||
-rw-r--r-- | graphics/libgdiplus/patches/patch-aa | 16 |
3 files changed, 21 insertions, 2 deletions
diff --git a/graphics/libgdiplus/Makefile b/graphics/libgdiplus/Makefile index ce9e1153242..e2d63ef549f 100644 --- a/graphics/libgdiplus/Makefile +++ b/graphics/libgdiplus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/06/01 20:08:00 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2005/06/19 02:59:41 kristerw Exp $ # DISTNAME= libgdiplus-1.1.5 @@ -23,6 +23,8 @@ BUILDLINK_DEPENDS.freetype2+= freetype2>=2.1.5 BUILDLINK_DEPENDS.Xft2+= Xft2>=2.1.2 BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8 +BUILDLINK_TRANSFORM+= rm:-Werror + .include "../../devel/pkgconfig/buildlink3.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../fonts/Xft2/buildlink3.mk" diff --git a/graphics/libgdiplus/distinfo b/graphics/libgdiplus/distinfo index f20b7580a0e..299e9674caa 100644 --- a/graphics/libgdiplus/distinfo +++ b/graphics/libgdiplus/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.9 2005/03/27 10:29:20 recht Exp $ +$NetBSD: distinfo,v 1.10 2005/06/19 02:59:41 kristerw Exp $ SHA1 (libgdiplus-1.1.5.tar.gz) = 51cb2664c5fd62c59b58fb418d994c9d2e0089d2 RMD160 (libgdiplus-1.1.5.tar.gz) = 8455224cd5934d623b3752ba3cdd66dd2576b434 Size (libgdiplus-1.1.5.tar.gz) = 1316565 bytes +SHA1 (patch-aa) = f6e01763bdc6ece7bf237500903ebdfe2392d86c SHA1 (patch-ac) = fc505ada943a1cdbb9c9d101c40a01aafdfd6bcb diff --git a/graphics/libgdiplus/patches/patch-aa b/graphics/libgdiplus/patches/patch-aa new file mode 100644 index 00000000000..ab4f8bb3382 --- /dev/null +++ b/graphics/libgdiplus/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.4 2005/06/19 02:59:41 kristerw Exp $ + +--- src/tiffcodec.c.orig Sun Jun 19 04:45:51 2005 ++++ src/tiffcodec.c Sun Jun 19 04:46:11 2005 +@@ -102,9 +102,10 @@ + toff_t + gdip_tiff_filesize (thandle_t clientData) + { ++ long ret; + long cur_pos = ftell ((FILE*)clientData); + fseek ((FILE*)clientData, 0, SEEK_END); +- long ret = ftell ((FILE*)clientData); ++ ret = ftell ((FILE*)clientData); + fseek ((FILE*)clientData, cur_pos, SEEK_SET); + return (toff_t)ret; + } |