summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-01 20:31:13 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-01 20:31:13 +0000
commit69473632be0066e1c00c3c7fb55870dc6c7f5cac (patch)
tree41d62b93b45a0cf0989174f2a17ed002eb132c06 /graphics/MesaLib/patches
parent00b713a4e0a6dd63441378e90599d982d5fd2114 (diff)
downloadpkgsrc-69473632be0066e1c00c3c7fb55870dc6c7f5cac.tar.gz
added support for IRIX 5. Including inttypes.h, as introduced through patch-am,
is necessary on IRIX 5 to have int64_t defined whereas it is not needed on IRIX 6, but should not hurt there either.
Diffstat (limited to 'graphics/MesaLib/patches')
-rw-r--r--graphics/MesaLib/patches/patch-am17
1 files changed, 13 insertions, 4 deletions
diff --git a/graphics/MesaLib/patches/patch-am b/graphics/MesaLib/patches/patch-am
index 32e255ff197..78810323238 100644
--- a/graphics/MesaLib/patches/patch-am
+++ b/graphics/MesaLib/patches/patch-am
@@ -1,8 +1,8 @@
-$NetBSD: patch-am,v 1.3 2006/07/06 12:27:43 markd Exp $
+$NetBSD: patch-am,v 1.4 2006/10/01 20:31:13 schwarz Exp $
---- include/GL/glxext.h.orig 2005-11-08 10:20:29.000000000 +1300
-+++ include/GL/glxext.h
-@@ -334,7 +334,7 @@ typedef struct {
+--- include/GL/glxext.h.orig 2005-11-07 22:20:29.000000000 +0100
++++ include/GL/glxext.h 2006-10-01 17:27:07.000000000 +0200
+@@ -334,7 +334,7 @@
#if defined(__sun__)
#include <inttypes.h>
#if defined(__STDC__)
@@ -11,3 +11,12 @@ $NetBSD: patch-am,v 1.3 2006/07/06 12:27:43 markd Exp $
typedef long int int64_t;
#else
typedef long long int int64_t;
+@@ -343,7 +343,7 @@
+ #elif defined(__UNIXOS2__) || defined(__SOL64__)
+ typedef long int int32_t;
+ typedef long long int int64_t;
+-#elif defined( __VMS )
++#elif defined( __VMS ) || defined(__sgi)
+ #include <inttypes.h>
+ #elif defined(__SCO__) || defined(__USLC__)
+ #include <stdint.h>