summaryrefslogtreecommitdiff
path: root/databases/db
diff options
context:
space:
mode:
authorjschauma <jschauma>2005-02-27 21:42:42 +0000
committerjschauma <jschauma>2005-02-27 21:42:42 +0000
commitd6ea614cae3a078ed7bbf61b200ca8019b696d04 (patch)
treea4e2caee1da8f0260132e6ffae3c251f5396d450 /databases/db
parentbfed98ab168df535d316b93f0c5347930c35b71f (diff)
downloadpkgsrc-d6ea614cae3a078ed7bbf61b200ca8019b696d04.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')
-rw-r--r--databases/db/distinfo3
-rw-r--r--databases/db/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/databases/db/distinfo b/databases/db/distinfo
index 9701dd75d9b..8713a5d01bd 100644
--- a/databases/db/distinfo
+++ b/databases/db/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/23 16:33:05 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/02/27 21:42:42 jschauma Exp $
SHA1 (db-2.7.7.tar.gz) = 786e7f1be5f8d2dbdfa205a22ae9a5d1ead85701
RMD160 (db-2.7.7.tar.gz) = 703dcddb69884c749637e07d592c4d1850981fd1
Size (db-2.7.7.tar.gz) = 1112976 bytes
SHA1 (patch-aa) = 80f46598f0859c0f0b2ed0aa737c5626e99201a2
+SHA1 (patch-ab) = f524ff9a01813c4384b830a860e32db24bf502f3
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
+