summaryrefslogtreecommitdiff
path: root/time/cal/patches
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2004-09-05 20:37:27 +0000
committerjschauma <jschauma@pkgsrc.org>2004-09-05 20:37:27 +0000
commitb479540a2c5010d50292b61fda5df4ae8d5ed425 (patch)
treeeef187f57286601d2a8693d4f0df7eca50059bfc /time/cal/patches
parentd5fbd67ecfc951c9ede64b3e69144dcf864e4bd8 (diff)
downloadpkgsrc-b479540a2c5010d50292b61fda5df4ae8d5ed425.tar.gz
Do the stricmp dance under IRIX as well.
Fix provided by Georg Schwarz in PR pkg/26851.
Diffstat (limited to 'time/cal/patches')
-rw-r--r--time/cal/patches/patch-ab8
1 files changed, 4 insertions, 4 deletions
diff --git a/time/cal/patches/patch-ab b/time/cal/patches/patch-ab
index c7451d70a9d..cb044d4f68a 100644
--- a/time/cal/patches/patch-ab
+++ b/time/cal/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.3 2003/09/24 10:53:36 jmmv Exp $
+$NetBSD: patch-ab,v 1.4 2004/09/05 20:37:27 jschauma Exp $
---- cal.c.orig Thu Jul 11 20:36:33 1996
-+++ cal.c Wed Sep 24 11:30:56 2003
+--- cal.c.orig 1996-07-11 15:36:33.000000000 -0400
++++ cal.c 2004-09-05 13:52:11.000000000 -0400
@@ -122,6 +122,7 @@
#include <ctype.h>
#include <string.h>
@@ -14,7 +14,7 @@ $NetBSD: patch-ab,v 1.3 2003/09/24 10:53:36 jmmv Exp $
/* Note: Other unix systems may require this next re-define to work. */
/* I believe that SCO is one such system. Please send in any fixes */
/* needed to get your system running. */
-+#if (defined(BSD) && BSD >= 199306) || defined (sun)
++#if (defined(BSD) && BSD >= 199306) || defined (sun) || defined(__sgi)
+#define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
+#endif
+