pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/cal Fix Interix build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bb0146c7e176
branches: trunk
changeset: 488119:bb0146c7e176
user: tv <tv%pkgsrc.org@localhost>
date: Tue Jan 25 03:37:29 2005 +0000
description:
Fix Interix build.
diffstat:
time/cal/distinfo | 4 ++--
time/cal/patches/patch-ab | 12 ++++++------
2 files changed, 8 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r dd2c5356acd9 -r bb0146c7e176 time/cal/distinfo
--- a/time/cal/distinfo Tue Jan 25 03:30:40 2005 +0000
+++ b/time/cal/distinfo Tue Jan 25 03:37:29 2005 +0000
@@ -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 -r dd2c5356acd9 -r bb0146c7e176 time/cal/patches/patch-ab
--- a/time/cal/patches/patch-ab Tue Jan 25 03:30:40 2005 +0000
+++ b/time/cal/patches/patch-ab Tue Jan 25 03:37:29 2005 +0000
@@ -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 @@
#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) {
Home |
Main Index |
Thread Index |
Old Index