summaryrefslogtreecommitdiff
path: root/time/cal
diff options
context:
space:
mode:
authortv <tv>2005-01-25 03:37:29 +0000
committertv <tv>2005-01-25 03:37:29 +0000
commit377b0145be676f699e8fe5cab78e4b13973740f2 (patch)
tree6b7d77213722d9e9a6cac0bb4ac914488ed834d4 /time/cal
parent5f4dd417a99bc28c2ca29b4c08d77e1fb13d8b44 (diff)
downloadpkgsrc-377b0145be676f699e8fe5cab78e4b13973740f2.tar.gz
Fix Interix build.
Diffstat (limited to 'time/cal')
-rw-r--r--time/cal/distinfo4
-rw-r--r--time/cal/patches/patch-ab12
2 files changed, 8 insertions, 8 deletions
diff --git a/time/cal/distinfo b/time/cal/distinfo
index fdf0511ce08..3643ddf4f82 100644
--- a/time/cal/distinfo
+++ b/time/cal/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2004/09/05 20:37:27 jschauma Exp $
+$NetBSD: distinfo,v 1.6 2005/01/25 03:37:29 tv Exp $
SHA1 (cal-3.5.tar.gz) = 4be982ce4576db6e2db8f8006b7bffa016d6af9d
Size (cal-3.5.tar.gz) = 47645 bytes
SHA1 (patch-aa) = 59faa366d366cf9ed265c7f0664b5d09e1c671d1
-SHA1 (patch-ab) = d9e07d4b758269c1f586cc7b2dea3e33dbdbce05
+SHA1 (patch-ab) = 7d7da6560743f1163b0524bbd47755437bd4776c
diff --git a/time/cal/patches/patch-ab b/time/cal/patches/patch-ab
index cb044d4f68a..ed9fea5a4c0 100644
--- a/time/cal/patches/patch-ab
+++ b/time/cal/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.4 2004/09/05 20:37:27 jschauma Exp $
+$NetBSD: patch-ab,v 1.5 2005/01/25 03:37:29 tv Exp $
--- 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 @@
++++ cal.c
+@@ -122,6 +122,7 @@ BASIC DATA STRUCTURE:
#include <ctype.h>
#include <string.h>
#include <sys/types.h>
@@ -10,18 +10,18 @@ $NetBSD: patch-ab,v 1.4 2004/09/05 20:37:27 jschauma Exp $
#ifndef max
#define max(a,b) (((a)>(b))?(a):(b))
-@@ -130,6 +131,10 @@
+@@ -130,6 +131,10 @@ BASIC DATA STRUCTURE:
/* 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) || defined(__sgi)
++#if (defined(BSD) && BSD >= 199306) || defined (sun) || defined(__sgi) || defined(__INTERIX)
+#define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
+#endif
+
#ifdef __linux__ /* Make linux compatible with stricmp() */
#define stricmp(a,b) strcasecmp(a,b) /* case-insensitive string comparison */
#endif
-@@ -1401,8 +1406,8 @@
+@@ -1401,8 +1406,8 @@ FILE *efopen(const char *file, const cha
strcpy(str, ".");
strcpy(str, file);
if ((fp = fopen(str, mode)) == NULL) {