summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-04 17:10:04 +0000
committertv <tv@pkgsrc.org>2005-11-04 17:10:04 +0000
commitce6272715c1c635a74eeb2a089c9bb1ee7bdb5a8 (patch)
tree04d16d9668acdb5adc0aa3cd6168928319ca4f5d /graphics
parent91417a9553d99c8de2ef3e00b11f6f181a1e4d6a (diff)
downloadpkgsrc-ce6272715c1c635a74eeb2a089c9bb1ee7bdb5a8.tar.gz
Interix has neither <stdint.h> nor <inttypes.h>.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glitz/distinfo3
-rw-r--r--graphics/glitz/patches/patch-ac23
2 files changed, 25 insertions, 1 deletions
diff --git a/graphics/glitz/distinfo b/graphics/glitz/distinfo
index 7d5ddc1900f..a22b0ba794b 100644
--- a/graphics/glitz/distinfo
+++ b/graphics/glitz/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2005/11/03 01:47:08 rillig Exp $
+$NetBSD: distinfo,v 1.11 2005/11/04 17:10:04 tv Exp $
SHA1 (glitz-0.4.4.tar.gz) = 53d5df02aaf7c156ad62787a1ad9b3072f8dbd25
RMD160 (glitz-0.4.4.tar.gz) = ffbdc0467c8ac727747eb430bcdde226f8fcce42
Size (glitz-0.4.4.tar.gz) = 425742 bytes
SHA1 (patch-aa) = d725f03f96082b6d9b31c608a0e4c1beb71e87f1
SHA1 (patch-ab) = 6394ccfb9b0096ce33111cb7ca6b7afff1075be0
+SHA1 (patch-ac) = b28f7ed4458ffcf1192eb2db9733b7d00d05a5e2
diff --git a/graphics/glitz/patches/patch-ac b/graphics/glitz/patches/patch-ac
new file mode 100644
index 00000000000..c59324ec808
--- /dev/null
+++ b/graphics/glitz/patches/patch-ac
@@ -0,0 +1,23 @@
+$NetBSD: patch-ac,v 1.1 2005/11/04 17:10:04 tv Exp $
+
+--- src/glitz.h.orig 2005-07-04 06:33:01.000000000 -0400
++++ src/glitz.h
+@@ -28,12 +28,13 @@
+
+ #if defined(__SVR4) && defined(__sun)
+ # include <sys/int_types.h>
++#elif defined(__OpenBSD__)
++# include <inttypes.h>
++#elif defined(__INTERIX)
++# include <sys/types.h>
++# define uint64_t u_int64_t
+ #else
+-# if defined(__OpenBSD__)
+-# include <inttypes.h>
+-# else
+-# include <stdint.h>
+-# endif
++# include <stdint.h>
+ #endif
+
+ #define GLITZ_MAJOR 0