summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2006-11-21 21:26:03 +0000
committertv <tv@pkgsrc.org>2006-11-21 21:26:03 +0000
commit55a0b12b5858a4a3709226db3473460191d20f4f (patch)
tree72b5af16b4bc313ad1de262dba6f6df0fc8aa68b /graphics/MesaLib/patches
parent61598aca67761361d63a98c6802bcf4dd330bf0b (diff)
downloadpkgsrc-55a0b12b5858a4a3709226db3473460191d20f4f.tar.gz
Interix doesn't have <inttypes.h>, but <stdlib.h> is guaranteed to pull
in [u]intptr_t.
Diffstat (limited to 'graphics/MesaLib/patches')
-rw-r--r--graphics/MesaLib/patches/patch-ak13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/MesaLib/patches/patch-ak b/graphics/MesaLib/patches/patch-ak
new file mode 100644
index 00000000000..c56e7739efd
--- /dev/null
+++ b/graphics/MesaLib/patches/patch-ak
@@ -0,0 +1,13 @@
+$NetBSD: patch-ak,v 1.4 2006/11/21 21:26:03 tv Exp $
+
+--- src/mesa/main/glheader.h.orig 2005-11-27 13:16:31.000000000 -0500
++++ src/mesa/main/glheader.h
+@@ -77,6 +77,8 @@
+ # if _MSC_VER == 1200
+ typedef UINT_PTR uintptr_t;
+ # endif
++#elif defined(__INTERIX)
++# include <stdlib.h>
+ #else
+ # include <inttypes.h>
+ #endif