pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libgdiplus Make this package build on NetBSD ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c72d92767157
branches:  trunk
changeset: 495728:c72d92767157
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sun Jun 19 02:59:41 2005 +0000

description:
Make this package build on NetBSD 1.6:
* Fix C99-isms
* Remove -Werror

diffstat:

 graphics/libgdiplus/Makefile         |   4 +++-
 graphics/libgdiplus/distinfo         |   3 ++-
 graphics/libgdiplus/patches/patch-aa |  16 ++++++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r a1e67693b443 -r c72d92767157 graphics/libgdiplus/Makefile
--- a/graphics/libgdiplus/Makefile      Sun Jun 19 02:49:23 2005 +0000
+++ b/graphics/libgdiplus/Makefile      Sun Jun 19 02:59:41 2005 +0000
@@ -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.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 -r a1e67693b443 -r c72d92767157 graphics/libgdiplus/distinfo
--- a/graphics/libgdiplus/distinfo      Sun Jun 19 02:49:23 2005 +0000
+++ b/graphics/libgdiplus/distinfo      Sun Jun 19 02:59:41 2005 +0000
@@ -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 -r a1e67693b443 -r c72d92767157 graphics/libgdiplus/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/libgdiplus/patches/patch-aa      Sun Jun 19 02:59:41 2005 +0000
@@ -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;
+ }



Home | Main Index | Thread Index | Old Index