summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2007-01-30 20:53:23 +0000
committertv <tv@pkgsrc.org>2007-01-30 20:53:23 +0000
commit2897aab1f23fe899b29f6788a5d2ebc44110eebd (patch)
tree0d0fee102ed5aa6b67e666e4173e381f59aa1e90
parent5bc513457b33c67ee6c576f6fb1d82aa443abaea (diff)
downloadpkgsrc-2897aab1f23fe899b29f6788a5d2ebc44110eebd.tar.gz
Fix uint64_t on Interix.
-rw-r--r--graphics/glitz/distinfo4
-rw-r--r--graphics/glitz/patches/patch-ab21
2 files changed, 17 insertions, 8 deletions
diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo
index 3d37577e82b..a1f6ce58e70 100644
--- a/graphics/glitz/distinfo
+++ b/graphics/glitz/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.15 2006/08/03 19:33:55 rillig Exp $
+$NetBSD: distinfo,v 1.16 2007/01/30 20:53:23 tv Exp $
SHA1 (glitz-0.5.6.tar.gz) = 81604bf02ceda85ea32b52423f78a883aaec6dc6
RMD160 (glitz-0.5.6.tar.gz) = 547ef1be273856942e0fa36c097c4acb367336b2
Size (glitz-0.5.6.tar.gz) = 459224 bytes
SHA1 (patch-aa) = d725f03f96082b6d9b31c608a0e4c1beb71e87f1
-SHA1 (patch-ab) = 5f2462b4414d8afedd0206444bb127ccd9924f31
+SHA1 (patch-ab) = 1eb96f935320fb1046276c3417ca041b633ef068
diff --git a/graphics/glitz/patches/patch-ab b/graphics/glitz/patches/patch-ab
index f0e03659417..90a8466c202 100644
--- a/graphics/glitz/patches/patch-ab
+++ b/graphics/glitz/patches/patch-ab
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.5 2006/08/03 19:33:55 rillig Exp $
+$NetBSD: patch-ab,v 1.6 2007/01/30 20:53:23 tv Exp $
---- src/glitzint.h.orig 2006-03-13 14:43:57.000000000 +0100
-+++ src/glitzint.h 2006-08-03 20:59:16.783689410 +0200
-@@ -56,7 +56,7 @@
+--- src/glitzint.h.orig 2006-03-13 08:43:57.000000000 -0500
++++ src/glitzint.h
+@@ -51,12 +51,16 @@
+ #else
+ # if defined(__OpenBSD__)
+ # include <inttypes.h>
++# elif defined(__INTERIX)
++# include <sys/types.h>
++# undef uint64_t
++# define uint64_t u_int64_t /* not typedef in case it does exist already */
+ # else
+ # include <stdint.h>
# endif
#endif
@@ -11,7 +20,7 @@ $NetBSD: patch-ab,v 1.5 2006/08/03 19:33:55 rillig Exp $
# define floorf(a) floor (a)
# define ceilf(a) ceil (a)
# define sinf(a) sin (a)
-@@ -69,7 +69,7 @@
+@@ -69,7 +73,7 @@
# define sqrtf(a) sqrt (a)
#endif
@@ -20,7 +29,7 @@ $NetBSD: patch-ab,v 1.5 2006/08/03 19:33:55 rillig Exp $
# define slim_hidden_proto(name) slim_hidden_proto1(name, INT_##name)
# define slim_hidden_def(name) slim_hidden_def1(name, INT_##name)
# define slim_hidden_proto1(name, internal) \
-@@ -89,7 +89,7 @@
+@@ -89,7 +93,7 @@
# define slim_hidden_def(name)
#endif