summaryrefslogtreecommitdiff
path: root/databases/db/patches
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-02-27 21:42:42 +0000
committerjschauma <jschauma@pkgsrc.org>2005-02-27 21:42:42 +0000
commitaf6cf2fcff946099ab7a93aa056c59e7df3a34f2 (patch)
treea4e2caee1da8f0260132e6ffae3c251f5396d450 /databases/db/patches
parente64be73dbfe201e31b118852f4505a00deb9d20d (diff)
downloadpkgsrc-af6cf2fcff946099ab7a93aa056c59e7df3a34f2.tar.gz
make this work on (even older) IRIX: check for __sgi rather than sgi
This was originally reported in PR 28819 by Georg Schwarz for db4 and also noted by Georg to apply to this package.
Diffstat (limited to 'databases/db/patches')
-rw-r--r--databases/db/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/db/patches/patch-ab b/databases/db/patches/patch-ab
new file mode 100644
index 00000000000..e21c8c3aa3e
--- /dev/null
+++ b/databases/db/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/02/27 21:42:42 jschauma Exp $
+
+--- ../include/db_185.h.orig Sun Feb 27 16:27:52 2005
++++ ../include/db_185.h Sun Feb 27 16:28:05 2005
+@@ -76,7 +76,7 @@
+ * XXX
+ * SGI/IRIX already has a pgno_t.
+ */
+-#ifdef sgi
++#ifdef __sgi
+ #define pgno_t db_pgno_t
+ #endif
+