pkgsrc/databases/db/patches/patch-ab
jschauma af6cf2fcff 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.
2005-02-27 21:42:42 +00:00

13 lines
291 B
Text

$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