View | Details | Raw Unified | Return to bug 243520 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-19 / +10 lines)
Lines 2-45 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ical
4
PORTNAME=	ical
5
PORTVERSION=	2.3.1
5
PORTVERSION=	3.0.4
6
CATEGORIES=	deskutils tk
6
CATEGORIES=	deskutils tk
7
MASTER_SITES=	http://opal.com/jr/ical/
7
MASTER_SITES=	https://launchpad.net/ical-tcl/+download/ \
8
9
PATCH_SITES=	http://www.isi.edu/~johnh/SOFTWARE/ICAL/ \
10
		http://opal.com/jr/ical/
8
		http://opal.com/jr/ical/
11
PATCHFILES=	ical-2.3.1-upvar.patch
12
9
13
MAINTAINER=	fbsd@opal.com
10
MAINTAINER=	fbsd@opal.com
14
COMMENT=	Calendar application
11
COMMENT=	Calendar application
15
12
16
LICENSE=	GPLv2
13
LICENSE=	GPLv2
17
LICENSE_FILE=	${WRKSRC}/COPYRIGHT.GNU
18
14
19
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
15
LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
20
		libfreetype.so:print/freetype2
16
		libfreetype.so:print/freetype2
21
17
22
USES=		tk xorg
18
USES=		autoreconf:build gmake tk xorg
23
USE_XORG=	x11 xext xft xrender xscrnsaver
19
USE_XORG=	x11 xext xft xrender xscrnsaver
24
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
25
CONFIGURE_ARGS=	--with-tclconfig=${TCL_LIBDIR} \
21
CONFIGURE_ARGS=	--with-tkconfig=${TK_LIBDIR} \
26
		--with-tclhdir=${TCL_INCLUDEDIR} \
22
		--with-tclconfig=${TCL_LIBDIR} \
27
		--with-tclsh=${TCLSH} \
23
		--with-tclsh=${TCLSH}
28
		--with-tkconfig=${TK_LIBDIR} \
29
		--with-tkhdir=${TK_INCLUDEDIR}
30
MAKE_ENV=	STAGEDIR=${STAGEDIR}
24
MAKE_ENV=	STAGEDIR=${STAGEDIR}
31
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message
32
SUB_LIST+=	VERSION=${VERSION}
26
SUB_LIST+=	VERSION=${PORTVERSION}
27
WRKSRC=		${WRKDIR}/${PORTNAME}-tcl
33
28
34
USER_TCL=	${HOME}/.tk/${PORTNAME}/user.tcl
29
USER_TCL=	${HOME}/.tk/${PORTNAME}/user.tcl
35
VERSION=	${PORTVERSION:C/([0-9]+\.[0-9]+)(\.[0-9]+)*/\1/}
36
DIST_VER=	${DISTNAME:S/${PORTVERSION}/${VERSION}/}
30
DIST_VER=	${DISTNAME:S/${PORTVERSION}/${VERSION}/}
37
31
38
post-patch:
39
	@${REINPLACE_CMD} -e 's,tcl->result,Tcl_GetStringResult(tcl),' \
40
		${WRKSRC}/ical.C
41
42
post-install:
32
post-install:
43
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${DIST_VER}
33
	@${RM} ${STAGEDIR}/${PREFIX}/lib/ical/v${PORTVERSION}/contrib/*.patch
34
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
44
35
45
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1576875998
1
TIMESTAMP = 1577134445
2
SHA256 (ical-2.3.1.tar.gz) = eeb7c6b8a8a36e9fe4cc5fb30dc9bb504e84d11b24fa295870e149fd89f71abd
2
SHA256 (ical-3.0.4.tar.gz) = 8d88bdf46fef7593308abc8b0cfb9e12e4cb08b1e5c95d0b43afd38375c5ae5c
3
SIZE (ical-2.3.1.tar.gz) = 264576
3
SIZE (ical-3.0.4.tar.gz) = 510640
4
SHA256 (ical-2.3.1-upvar.patch) = 7b74f6f8011847e0cb1a0691674c0f89fe96b4296cd8891cf66867dc1627c0a0
5
SIZE (ical-2.3.1-upvar.patch) = 4533
(-)files/patch-Makefile.in (-31 / +8 lines)
Lines 1-34 Link Here
1
--- Makefile.in.orig	1997-06-04 16:09:59 UTC
1
--- Makefile.in.orig	2019-04-16 08:17:38 UTC
2
+++ Makefile.in
2
+++ Makefile.in
3
@@ -14,10 +14,10 @@
3
@@ -404,7 +404,7 @@ app_DATA = ical.desktop
4
  CONFIGURE_IN = @MFILES_IN@
4
 ical_SOURCES = cal_tcl.C dateeditor.C dispatch.C ical.C ical_tcl.C \
5
  CONFFILES    = $(srcdir)/configure.in
5
 	       item_tcl.C object.C time_tcl.C main.C
6
 
6
 
7
-       BINDIR = $(exec_prefix)/bin
7
-ical_CPPFLAGS = -DICALLIBDIR='"$(icallibdir)"' -I$(srcdir)/calendar -I$(srcdir)/types -I$(srcdir)/time @TK_XINCLUDES@
8
-       LIBDIR = $(prefix)/lib
8
+ical_CPPFLAGS = -DICALLIBDIR='"$(icallibdir)"' -I$(srcdir)/calendar -I$(srcdir)/types -I$(srcdir)/time @TCL_INCLUDE_SPEC@ @TK_INCLUDE_SPEC@ @TK_XINCLUDES@
9
+       BINDIR = $(STAGEDIR)$(exec_prefix)/bin
9
 ical_LDADD = libcalendar.a libtime.a libtypes.a \
10
+       LIBDIR = $(STAGEDIR)$(prefix)/lib
10
 	     @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@
11
       ILIBDIR = $(LIBDIR)/ical/v@ICAL_VERSION@
12
-       MANDIR = $(prefix)/man
13
+       MANDIR = $(STAGEDIR)$(prefix)/man
14
 
11
 
15
            CC = @CC@
16
           CXX = @CXX@
17
@@ -59,14 +59,12 @@
18
 # Tiny bundled executable uses shared versions of tcl/tk libraries
19
  TINY_BLIBS = $(LIBS)
20
 
21
-       OPTF = -O
22
-
23
-   CXXFLAGS = $(OPTF)
24
     CXXINCS = -I. -I$(srcdir) -I$(srcdir)/calendar \
25
               -I$(srcdir)/types -I$(srcdir)/time \
26
-              $(X_CFLAGS) -I@TCL_INCDIR@ -I@TK_INCDIR@
27
+	      -I$(prefix)/include \
28
+              $(X_CFLAGS) -I@TCL_INCDIR@ -I@TK_INCDIR@ \
29
 
30
-     CFLAGS = $(OPTF) -I. -I$(srcdir) $(X_CFLAGS)
31
+     CFLAGS += -I. -I$(srcdir) $(X_CFLAGS)
32
 
33
 OBJS = cal_tcl.o dateeditor.o dispatch.o ical.o ical_tcl.o \
34
        item_tcl.o object.o time_tcl.o @LIBOBJS@
(-)files/patch-bitmaps-dleft.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/dleft.xbm.orig	1994-12-17 21:41:32 UTC
2
+++ bitmaps/dleft.xbm
3
@@ -1,6 +1,6 @@
4
 #define dleft_width 16
5
 #define dleft_height 16
6
-static char dleft_bits[] = {
7
+static unsigned char dleft_bits[] = {
8
    0x00, 0x00, 0x80, 0x61, 0xc0, 0x71, 0xe0, 0x79, 0xf0, 0x7d, 0xf8, 0x7f,
9
    0xfc, 0x7f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfc, 0x7f, 0xf8, 0x7f, 0xf0, 0x7d,
10
    0xe0, 0x79, 0xc0, 0x71, 0x80, 0x61, 0x00, 0x00};
(-)files/patch-bitmaps-done.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/done.xbm.orig	1994-12-17 21:29:47 UTC
2
+++ bitmaps/done.xbm
3
@@ -1,6 +1,6 @@
4
 #define done_width 16
5
 #define done_height 16
6
-static char done_bits[] = {
7
+static unsigned char done_bits[] = {
8
    0x00, 0x00, 0xff, 0x8f, 0xff, 0x67, 0x03, 0x30, 0x03, 0x18, 0x03, 0x4c,
9
    0x33, 0x6e, 0x7b, 0x67, 0xff, 0x67, 0xfb, 0x63, 0xf3, 0x63, 0xe3, 0x61,
10
    0xc3, 0x61, 0x83, 0x60, 0xff, 0x7f, 0xff, 0x7f};
(-)files/patch-bitmaps-dright.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/dright.xbm.orig	1994-12-17 21:41:33 UTC
2
+++ bitmaps/dright.xbm
3
@@ -1,6 +1,6 @@
4
 #define dright_width 16
5
 #define dright_height 16
6
-static char dright_bits[] = {
7
+static unsigned char dright_bits[] = {
8
    0x00, 0x00, 0x86, 0x01, 0x8e, 0x03, 0x9e, 0x07, 0xbe, 0x0f, 0xfe, 0x1f,
9
    0xfe, 0x3f, 0xfe, 0x7f, 0xfe, 0x7f, 0xfe, 0x3f, 0xfe, 0x1f, 0xbe, 0x0f,
10
    0x9e, 0x07, 0x8e, 0x03, 0x86, 0x01, 0x00, 0x00};
(-)files/patch-bitmaps-ical.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/ical.xbm.orig	1996-01-24 00:43:16 UTC
2
+++ bitmaps/ical.xbm
3
@@ -1,6 +1,6 @@
4
 #define ical_width 64
5
 #define ical_height 54
6
-static char ical_bits[] = {
7
+static unsigned char ical_bits[] = {
8
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
9
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
10
    0x00, 0x00, 0x30, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x68, 0x00,
(-)files/patch-bitmaps-left.xbm (-11 lines)
Lines 1-11 Link Here
1
--- bitmaps/left.xbm.orig	1994-12-17 21:29:48 UTC
2
+++ bitmaps/left.xbm
3
@@ -1,7 +1,7 @@
4
 /* Copyright (c) 1993 by Sanjay Ghemawat */
5
 #define left_width 16
6
 #define left_height 16
7
-static char left_bits[] = {
8
+static unsigned char left_bits[] = {
9
    0x00, 0x00, 0x80, 0x01, 0x40, 0x01, 0x20, 0x01, 0x10, 0x01, 0x08, 0x7f,
10
    0x04, 0x40, 0x02, 0x40, 0x02, 0x40, 0x04, 0x40, 0x08, 0x7f, 0x10, 0x01,
11
    0x20, 0x01, 0x40, 0x01, 0x80, 0x01, 0x00, 0x00};
(-)files/patch-bitmaps-right.xbm (-11 lines)
Lines 1-11 Link Here
1
--- bitmaps/right.xbm.orig	1994-12-17 21:29:49 UTC
2
+++ bitmaps/right.xbm
3
@@ -1,7 +1,7 @@
4
 /* Copyright (c) 1993 by Sanjay Ghemawat */
5
 #define right_width 16
6
 #define right_height 16
7
-static char right_bits[] = {
8
+static unsigned char right_bits[] = {
9
    0x00, 0x00, 0x80, 0x01, 0x80, 0x02, 0x80, 0x04, 0x80, 0x08, 0xfe, 0x10,
10
    0x02, 0x20, 0x02, 0x40, 0x02, 0x40, 0x02, 0x20, 0xfe, 0x10, 0x80, 0x08,
11
    0x80, 0x04, 0x80, 0x02, 0x80, 0x01, 0x00, 0x00};
(-)files/patch-bitmaps-sleft.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/sleft.xbm.orig	1994-12-17 21:41:34 UTC
2
+++ bitmaps/sleft.xbm
3
@@ -1,6 +1,6 @@
4
 #define sleft_width 16
5
 #define sleft_height 16
6
-static char sleft_bits[] = {
7
+static unsigned char sleft_bits[] = {
8
    0x00, 0x00, 0x00, 0x0c, 0x00, 0x0e, 0x00, 0x0f, 0x80, 0x0f, 0xc0, 0x0f,
9
    0xe0, 0x0f, 0xf0, 0x0f, 0xf0, 0x0f, 0xe0, 0x0f, 0xc0, 0x0f, 0x80, 0x0f,
10
    0x00, 0x0f, 0x00, 0x0e, 0x00, 0x0c, 0x00, 0x00};
(-)files/patch-bitmaps-sright.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/sright.xbm.orig	1994-12-17 21:41:34 UTC
2
+++ bitmaps/sright.xbm
3
@@ -1,6 +1,6 @@
4
 #define sright_width 16
5
 #define sright_height 16
6
-static char sright_bits[] = {
7
+static unsigned char sright_bits[] = {
8
    0x00, 0x00, 0x30, 0x00, 0x70, 0x00, 0xf0, 0x00, 0xf0, 0x01, 0xf0, 0x03,
9
    0xf0, 0x07, 0xf0, 0x0f, 0xf0, 0x0f, 0xf0, 0x07, 0xf0, 0x03, 0xf0, 0x01,
10
    0xf0, 0x00, 0x70, 0x00, 0x30, 0x00, 0x00, 0x00};
(-)files/patch-bitmaps-todo.xbm (-10 lines)
Lines 1-10 Link Here
1
--- bitmaps/todo.xbm.orig	1994-12-17 21:29:49 UTC
2
+++ bitmaps/todo.xbm
3
@@ -1,6 +1,6 @@
4
 #define todo_width 16
5
 #define todo_height 16
6
-static char todo_bits[] = {
7
+static unsigned char todo_bits[] = {
8
    0x00, 0x00, 0xff, 0x7f, 0xff, 0x7f, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60,
9
    0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60, 0x03, 0x60,
10
    0x03, 0x60, 0x03, 0x60, 0xff, 0x7f, 0xff, 0x7f};
(-)files/patch-cal_tcl.C (-87 lines)
Lines 1-87 Link Here
1
--- cal_tcl.C.orig	1995-07-06 15:48:16 UTC
2
+++ cal_tcl.C
3
@@ -214,27 +214,27 @@ static int cal_loopf	(ClientData, Tcl_Interp*, int, ch
4
 static int cal_loopb	(ClientData, Tcl_Interp*, int, char*[]);
5
 
6
 static Dispatch_Entry calendar_dispatch[] = {
7
-    { "delete",		0, 0, cal_delete	},
8
-    { "main",		0, 0, cal_main		},
9
-    { "include",	1, 1, cal_include	},
10
-    { "exclude",	1, 1, cal_exclude	},
11
-    { "forincludes",	2, 2, cal_forincs	},
12
-    { "add",		1, 2, cal_add		},
13
-    { "remove",		1, 1, cal_remove	},
14
-    { "hide",		1, 1, cal_hide		},
15
-    { "readonly",	0, 1, cal_ronly		},
16
-    { "dirty",		0, 1, cal_dirty		},
17
-    { "stale",		0, 1, cal_stale		},
18
-    { "save",		0, 1, cal_save		},
19
-    { "reread",		0, 1, cal_reread	},
20
-    { "query",		5, 7, cal_query		},
21
-    { "listing",	5, 7, cal_listing	},
22
-    { "loop",		2, 4, cal_loop		},
23
-    { "incalendar",	3, 3, cal_incal		},
24
-    { "option",		1, 4, cal_option	},
25
-    { "delete_option",	1, 3, cal_doption	},
26
-    { "loop_forward",	5, 7, cal_loopf		},
27
-    { "loop_backward",	5, 7, cal_loopb		},
28
+    { "delete",		0, 0, (Tcl_CmdProc *)cal_delete		},
29
+    { "main",		0, 0, (Tcl_CmdProc *)cal_main		},
30
+    { "include",	1, 1, (Tcl_CmdProc *)cal_include	},
31
+    { "exclude",	1, 1, (Tcl_CmdProc *)cal_exclude	},
32
+    { "forincludes",	2, 2, (Tcl_CmdProc *)cal_forincs	},
33
+    { "add",		1, 2, (Tcl_CmdProc *)cal_add		},
34
+    { "remove",		1, 1, (Tcl_CmdProc *)cal_remove		},
35
+    { "hide",		1, 1, (Tcl_CmdProc *)cal_hide		},
36
+    { "readonly",	0, 1, (Tcl_CmdProc *)cal_ronly		},
37
+    { "dirty",		0, 1, (Tcl_CmdProc *)cal_dirty		},
38
+    { "stale",		0, 1, (Tcl_CmdProc *)cal_stale		},
39
+    { "save",		0, 1, (Tcl_CmdProc *)cal_save		},
40
+    { "reread",		0, 1, (Tcl_CmdProc *)cal_reread		},
41
+    { "query",		5, 7, (Tcl_CmdProc *)cal_query		},
42
+    { "listing",	5, 7, (Tcl_CmdProc *)cal_listing	},
43
+    { "loop",		2, 4, (Tcl_CmdProc *)cal_loop		},
44
+    { "incalendar",	3, 3, (Tcl_CmdProc *)cal_incal		},
45
+    { "option",		1, 4, (Tcl_CmdProc *)cal_option		},
46
+    { "delete_option",	1, 3, (Tcl_CmdProc *)cal_doption	},
47
+    { "loop_forward",	5, 7, (Tcl_CmdProc *)cal_loopf		},
48
+    { "loop_backward",	5, 7, (Tcl_CmdProc *)cal_loopb		},
49
     { 0,		0, 0, 0			}
50
 };
51
 
52
@@ -516,7 +516,7 @@ static int cal_ronly(ClientData c, Tcl_Interp* tcl, in
53
 	TCL_Error(tcl, "no such calendar");
54
     }
55
 
56
-    TCL_Return(tcl, file->GetCalendar()->ReadOnly() ? "1" : "0");
57
+    TCL_Return(tcl, file->GetCalendar()->ReadOnly() ? (char *)"1" : (char *)"0");
58
 }
59
 
60
 static int cal_dirty(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
61
@@ -527,7 +527,7 @@ static int cal_dirty(ClientData c, Tcl_Interp* tcl, in
62
 	TCL_Error(tcl, "no such calendar");
63
     }
64
 
65
-    TCL_Return(tcl, (file->IsModified() ? "1" : "0"));
66
+    TCL_Return(tcl, (file->IsModified() ? (char *)"1" : (char *)"0"));
67
 }
68
 
69
 static int cal_stale(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
70
@@ -538,7 +538,7 @@ static int cal_stale(ClientData c, Tcl_Interp* tcl, in
71
 	TCL_Error(tcl, "no such calendar");
72
     }
73
 
74
-    TCL_Return(tcl, (file->FileHasChanged() ? "1" : "0"));
75
+    TCL_Return(tcl, (file->FileHasChanged() ? (char *)"1" : (char *)"0"));
76
 }
77
 
78
 static int cal_save(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
79
@@ -609,7 +609,7 @@ static int item_loop(Tcl_Interp* tcl, Occurrences cons
80
 
81
 	if (dvar != 0) {
82
 	    char buffer[20];
83
-	    sprintf(buffer, "%d", list[i].date.EpochDays());
84
+	    sprintf(buffer, "%ld", list[i].date.EpochDays());
85
 	    if (Tcl_SetVar(tcl, dvar, buffer, 0) == NULL) {
86
 		TCL_Error(tcl, "could not set loop variable");
87
 	    }
(-)files/patch-calendar_Makefile.in (-10 lines)
Lines 1-10 Link Here
1
--- calendar/Makefile.in.orig	1997-10-21 23:52:59 UTC
2
+++ calendar/Makefile.in
3
@@ -12,7 +12,6 @@
4
            AR = ar
5
          ECHO = echo
6
 
7
-   CXXFLAGS = -O
8
     CXXINCS = -I.. -I$(srcdir) -I$(srcdir)/../types -I$(srcdir)/../time
9
 
10
     CXXOBJS = arrays.o calendar.o calfile.o dateset.o item.o\
(-)files/patch-calendar_calendar.C (-18 lines)
Lines 1-18 Link Here
1
--- calendar/calendar.C.orig	1997-05-21 20:32:59 UTC
2
+++ calendar/calendar.C
3
@@ -224,13 +224,13 @@ int Calendar::Read(Lexer* lex) {
4
 	    char* name = new char[len + 1];
5
 	    if (! lex->GetText(name, len) ||
6
 		! lex->Skip(closer)) {
7
-		delete name;
8
+		delete [] name;
9
 		lex->SetError("error reading included file name");
10
 		return 0;
11
 	    }
12
 	    name[len] = '\0';
13
 	    Include(name);
14
-	    delete name;
15
+	    delete [] name;
16
 	}
17
 	else if (strcmp(keyword, "Hide") == 0) {
18
 	    char const* x;
(-)files/patch-calendar_calfile.C (-11 lines)
Lines 1-11 Link Here
1
--- calendar/calfile.C.orig	1997-05-24 00:23:52 UTC
2
+++ calendar/calfile.C
3
@@ -60,7 +60,7 @@ CalFile::CalFile(int ro, const char* name) {
4
     backupName = tmp;
5
 
6
     // Get directory name for access checks
7
-    char* lastSlash = strrchr(name, '/');
8
+    const char* lastSlash = strrchr(name, '/');
9
     if (lastSlash == 0) {
10
 	/* Calendar is in current directory */
11
 	tmp = new char[3];
(-)files/patch-config.h.in (-23 lines)
Lines 1-23 Link Here
1
--- config.h.in.orig	2004-03-11 11:26:55 UTC
2
+++ config.h.in
3
@@ -5,14 +5,14 @@
4
 #undef pid_t
5
 
6
 #undef SIZEOF_LONG
7
-#undef HAVE_STRING_H
8
-#undef HAVE_LIMITS_H
9
+#define HAVE_STRING_H	1
10
+#define HAVE_LIMITS_H	1
11
 
12
-#undef HAVE_FSYNC
13
+#define HAVE_FSYNC	1
14
 
15
-#undef HAVE_STRERROR
16
+#define HAVE_STRERROR	1
17
 
18
-#undef HAVE_UNAME
19
-#undef HAVE_SYS_UTSNAME_H
20
+#define HAVE_UNAME	1
21
+#define HAVE_SYS_UTSNAME_H	1
22
 
23
 #endif /* _CONFIG_H_IN */
(-)files/patch-configure (-32 lines)
Lines 1-32 Link Here
1
--- configure.orig	2004-03-11 11:26:55 UTC
2
+++ configure
3
@@ -1208,8 +1208,8 @@
4
 
5
 echo "checking Tcl/Tk installation" 1>&6
6
 echo "configure:1211: checking Tcl/Tk installation" >&5
7
-legal_tk_versions="8.4 8.3 8.2 8.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1"
8
-legal_tcl_versions="8.4 8.3 8.2 8.0 7.9 7.8 7.7 7.6 7.5"
9
+legal_tk_versions="8.6 8.5 8.4 8.3 8.2 8.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1"
10
+legal_tcl_versions="8.6 8.5 8.4 8.3 8.2 8.0 7.9 7.8 7.7 7.6 7.5"
11
 
12
 #### Find tclsh
13
 # Check whether --with-tclsh or --without-tclsh was given.
14
@@ -1331,6 +1331,8 @@
15
 #### Load the Tcl/Tk configuration files 
16
 . $tclconfig/tclConfig.sh
17
 . $tkconfig/tkConfig.sh
18
+TCL_LIB_FILE=`eval "echo ${TCL_LIB_FILE}"`
19
+TK_LIB_FILE=`eval "echo ${TK_LIB_FILE}"`
20
 
21
 if test -z "$TCL_EXEC_PREFIX"; then TCL_EXEC_PREFIX="$TCL_PREFIX"; fi
22
 if test -z "$TK_EXEC_PREFIX"; then TK_EXEC_PREFIX="$TK_PREFIX"; fi
23
@@ -1521,8 +1523,7 @@
24
     good_tk_version
25
 #endif
26
 EOF
27
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
28
-  egrep "good_tk_version" >/dev/null 2>&1; then
29
+if true; then
30
   rm -rf conftest*
31
   is_good_tk_version=yes
32
 else
(-)files/patch-dateeditor.C (-34 lines)
Lines 1-34 Link Here
1
--- dateeditor.C.orig	1996-02-10 03:17:35 UTC
2
+++ dateeditor.C
3
@@ -146,14 +146,14 @@ int Cmd_HiliteLoop(ClientData, Tcl_Interp* tcl, int ar
4
 	if (!contains(hlist, hilite)) hilite = "always";
5
 
6
 	char buffer[20];
7
-	sprintf(buffer, "%d", list[i].date.EpochDays());
8
+	sprintf(buffer, "%ld", list[i].date.EpochDays());
9
 	if (Tcl_SetVar(tcl, dvar, buffer, 0) == NULL) {
10
-	    free((char*) strlist);
11
+	    Tcl_Free((char*) strlist);
12
 	    TCL_Error(tcl, "could not set loop variable");
13
 	}
14
 
15
 	if (Tcl_SetVar(tcl, hvar, (char*)hilite, 0) == NULL) {
16
-	    free((char*) strlist);
17
+	    Tcl_Free((char*) strlist);
18
 	    TCL_Error(tcl, "could not set loop variable");
19
 	}
20
 
21
@@ -165,11 +165,11 @@ int Cmd_HiliteLoop(ClientData, Tcl_Interp* tcl, int ar
22
 	if (result == TCL_BREAK) break;
23
 
24
 	// Error of some sort
25
-	free((char*) strlist);
26
+	Tcl_Free((char*) strlist);
27
 	return result;
28
     }
29
 
30
-    free((char*) strlist);
31
+    Tcl_Free((char*) strlist);
32
     TCL_Return(tcl, "");
33
 }
34
 
(-)files/patch-dispatch.C (-11 lines)
Lines 1-11 Link Here
1
--- dispatch.C.orig	1994-05-20 03:21:54 UTC
2
+++ dispatch.C
3
@@ -24,7 +24,7 @@ int Dispatch(Dispatch_Entry* table, ClientData c, Tcl_
4
 	    if ((entry->max_arg_count >= 0) && (argc > entry->max_arg_count)) {
5
 		TCL_Error(tcl, "too many arguments");
6
 	    }
7
-	    return entry->handler(c, tcl, argc, argv);
8
+	    return entry->handler(c, tcl, argc, (const char **)argv);
9
 	}
10
     }
11
 
(-)files/patch-item_tcl.C (-225 lines)
Lines 1-225 Link Here
1
--- item_tcl.C.orig	2004-03-11 11:26:56 UTC
2
+++ item_tcl.C
3
@@ -106,52 +106,52 @@
4
 static int item_mlweekday	(ClientData, Tcl_Interp*, int, const char*[]);
5
 
6
 static Dispatch_Entry item_dispatch[] = {
7
-    { "delete",			0, 0, item_delete	},
8
-    { "clone",			0, 0, item_clone	},
9
+    { "delete",			0, 0, (Tcl_CmdProc *)item_delete	},
10
+    { "clone",			0, 0, (Tcl_CmdProc *)item_clone		},
11
 
12
-    { "length",			0, 1, item_length	},
13
-    { "starttime",		0, 1, item_startt	},
14
-    { "alarms",			0, 1, item_alarms	},
15
-    { "option",			1, 2, item_option	},
16
-    { "delete_option",		1, 1, item_doption	},
17
+    { "length",			0, 1, (Tcl_CmdProc *)item_length	},
18
+    { "starttime",		0, 1, (Tcl_CmdProc *)item_startt	},
19
+    { "alarms",			0, 1, (Tcl_CmdProc *)item_alarms	},
20
+    { "option",			1, 2, (Tcl_CmdProc *)item_option	},
21
+    { "delete_option",		1, 1, (Tcl_CmdProc *)item_doption	},
22
 
23
-    { "is",			1, 1, item_is		},
24
-    { "calendar",		0, 0, item_cal		},
25
-    { "text",			0, 1, item_text		},
26
-    { "uid",			0, 0, item_uid		},
27
-    { "earlywarning",		0, 1, item_early	},
28
-    { "owner",			0, 1, item_owner	},
29
-    { "owned",			0, 0, item_owned	},
30
-    { "own",			0, 0, item_own		},
31
-    { "hilite",			0, 1, item_hilite	},
32
-    { "todo",			0, 1, item_todo		},
33
-    { "is_done",		0, 0, item_is_done	},
34
-    { "done",			1, 1, item_done		},
35
+    { "is",			1, 1, (Tcl_CmdProc *)item_is		},
36
+    { "calendar",		0, 0, (Tcl_CmdProc *)item_cal		},
37
+    { "text",			0, 1, (Tcl_CmdProc *)item_text		},
38
+    { "uid",			0, 0, (Tcl_CmdProc *)item_uid		},
39
+    { "earlywarning",		0, 1, (Tcl_CmdProc *)item_early		},
40
+    { "owner",			0, 1, (Tcl_CmdProc *)item_owner		},
41
+    { "owned",			0, 0, (Tcl_CmdProc *)item_owned		},
42
+    { "own",			0, 0, (Tcl_CmdProc *)item_own		},
43
+    { "hilite",			0, 1, (Tcl_CmdProc *)item_hilite	},
44
+    { "todo",			0, 1, (Tcl_CmdProc *)item_todo		},
45
+    { "is_done",		0, 0, (Tcl_CmdProc *)item_is_done	},
46
+    { "done",			1, 1, (Tcl_CmdProc *)item_done		},
47
 
48
-    { "contains",		1, 1, item_cont		},
49
-    { "empty",			0, 0, item_empty	},
50
-    { "repeats",		0, 0, item_repeat	},
51
-    { "first",			0, 0, item_first	},
52
-    { "next",			1, 1, item_next		},
53
-    { "range",			2, 2, item_range	},
54
-    { "type",			0, 0, item_type		},
55
-    { "describe_repeat",	0, 0, item_desc		},
56
+    { "contains",		1, 1, (Tcl_CmdProc *)item_cont		},
57
+    { "empty",			0, 0, (Tcl_CmdProc *)item_empty		},
58
+    { "repeats",		0, 0, (Tcl_CmdProc *)item_repeat	},
59
+    { "first",			0, 0, (Tcl_CmdProc *)item_first		},
60
+    { "next",			1, 1, (Tcl_CmdProc *)item_next		},
61
+    { "range",			2, 2, (Tcl_CmdProc *)item_range		},
62
+    { "type",			0, 0, (Tcl_CmdProc *)item_type		},
63
+    { "describe_repeat",	0, 0, (Tcl_CmdProc *)item_desc		},
64
 
65
-    { "date",			1, 1, item_date		},
66
-    { "dayrepeat",		2, 2, item_dayr		},
67
+    { "date",			1, 1, (Tcl_CmdProc *)item_date		},
68
+    { "dayrepeat",		2, 2, (Tcl_CmdProc *)item_dayr		},
69
 
70
-    { "monthrepeat",		2, 2, item_monthr	},
71
-    { "month_day",		1, 3, item_mday		},
72
-    { "month_last_day",		1, 3, item_mlday	},
73
-    { "month_work_day",		1, 3, item_mworkday	},
74
-    { "month_last_work_day",	1, 3, item_mlworkday	},
75
-    { "month_week_day",		2, 4, item_mweekday	},
76
-    { "month_last_week_day",	2, 4, item_mlweekday	},
77
+    { "monthrepeat",		2, 2, (Tcl_CmdProc *)item_monthr	},
78
+    { "month_day",		1, 3, (Tcl_CmdProc *)item_mday		},
79
+    { "month_last_day",		1, 3, (Tcl_CmdProc *)item_mlday		},
80
+    { "month_work_day",		1, 3, (Tcl_CmdProc *)item_mworkday	},
81
+    { "month_last_work_day",	1, 3, (Tcl_CmdProc *)item_mlworkday	},
82
+    { "month_week_day",		2, 4, (Tcl_CmdProc *)item_mweekday	},
83
+    { "month_last_week_day",	2, 4, (Tcl_CmdProc *)item_mlweekday	},
84
 
85
-    { "weekdays",		0, -1, item_wdays	},
86
-    { "start",			1, 1, item_start	},
87
-    { "finish",			1, 1, item_finish	},
88
-    { "deleteon",		1, 1, item_ondel	},
89
+    { "weekdays",		0, -1, (Tcl_CmdProc *)item_wdays	},
90
+    { "start",			1, 1, (Tcl_CmdProc *)item_start		},
91
+    { "finish",			1, 1, (Tcl_CmdProc *)item_finish	},
92
+    { "deleteon",		1, 1, (Tcl_CmdProc *)item_ondel		},
93
 
94
     { 0,			0, 0, 0			}
95
 };
96
@@ -329,7 +329,7 @@
97
 
98
 static int item_owned(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
99
     Item_Tcl* item = (Item_Tcl*) c;
100
-    TCL_Return(tcl, (item->value()->IsMine() ? "1" : "0"));
101
+    TCL_Return(tcl, (item->value()->IsMine() ? (char *)"1" : (char *)"0"));
102
 }
103
 
104
 static int item_own(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
105
@@ -492,12 +492,12 @@
106
 
107
 static int item_empty(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
108
     Item_Tcl* item = (Item_Tcl*) c;
109
-    TCL_Return(tcl, (item->value()->empty()?"1":"0"));
110
+    TCL_Return(tcl, (item->value()->empty() ? (char *) "1" : (char *) "0"));
111
 }
112
 
113
 static int item_repeat(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
114
     Item_Tcl* item = (Item_Tcl*) c;
115
-    TCL_Return(tcl,(item->value()->repeats()?"1":"0"));
116
+    TCL_Return(tcl,(item->value()->repeats() ? (char *) "1" : (char *) "0"));
117
 }
118
 
119
 static int item_first(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
120
@@ -508,7 +508,7 @@
121
     }
122
 
123
     char buffer[100];
124
-    sprintf(buffer, "%d", d.EpochDays());
125
+    sprintf(buffer, "%ld", d.EpochDays());
126
     Tcl_SetResult(tcl, buffer, TCL_VOLATILE);
127
     return TCL_OK;
128
 }
129
@@ -518,43 +518,43 @@
130
     char* result;
131
     switch (item->value()->repeat_type()) {
132
       case DateSet::None:
133
-	result = "";
134
+	result = (char *)"";
135
 	break;
136
       case DateSet::Daily:
137
-	result = "Daily";
138
+	result = (char *)"Daily";
139
 	break;
140
       case DateSet::Weekly:
141
-	result = "Weekly";
142
+	result = (char *)"Weekly";
143
 	break;
144
       case DateSet::BiWeekly:
145
-	result = "Every Two Weeks";
146
+	result = (char *)"Every Two Weeks";
147
 	break;
148
       case DateSet::ThreeWeekly:
149
-	result = "Every Three Weeks";
150
+	result = (char *)"Every Three Weeks";
151
 	break;
152
       case DateSet::FourWeekly:
153
-	result = "Every Four Weeks";
154
+	result = (char *)"Every Four Weeks";
155
 	break;
156
       case DateSet::Monthly:
157
-	result = "Monthly";
158
+	result = (char *)"Monthly";
159
 	break;
160
       case DateSet::TwoMonthly:
161
-	result = "Every Two Months";
162
+	result = (char *)"Every Two Months";
163
 	break;
164
       case DateSet::ThreeMonthly:
165
-	result = "Every Three Months";
166
+	result = (char *)"Every Three Months";
167
 	break;
168
       case DateSet::FourMonthly:
169
-	result = "Every Four Months";
170
+	result = (char *)"Every Four Months";
171
 	break;
172
       case DateSet::SixMonthly:
173
-	result = "Every Six Months";
174
+	result = (char *)"Every Six Months";
175
 	break;
176
       case DateSet::Annual:
177
-	result = "Annual";
178
+	result = (char *)"Annual";
179
 	break;
180
       default:
181
-	result = "Complex";
182
+	result = (char *)"Complex";
183
 	break;
184
     }
185
     TCL_Return(tcl, result);
186
@@ -576,7 +576,7 @@
187
 	TCL_Error(tcl, "invalid date");
188
     }
189
     Date date(dateDays);
190
-    TCL_Return(tcl, (item->value()->contains(date)?"1":"0"));
191
+    TCL_Return(tcl, (item->value()->contains(date) ? (char *)"1" : (char *)"0"));
192
 }
193
 
194
 static int item_next(ClientData c, Tcl_Interp* tcl, int argc, const char* argv[]) {
195
@@ -592,7 +592,7 @@
196
     }
197
 
198
     char buffer[100];
199
-    sprintf(buffer, "%d", next.EpochDays());
200
+    sprintf(buffer, "%ld", next.EpochDays());
201
     Tcl_SetResult(tcl, buffer, TCL_VOLATILE);
202
     return TCL_OK;
203
 }
204
@@ -603,10 +603,10 @@
205
     Date s, f;
206
     if (item->value()->range(s, f)) {
207
 	char buffer[100];
208
-	sprintf(buffer, "%d", s.EpochDays());
209
+	sprintf(buffer, "%ld", s.EpochDays());
210
 	if (Tcl_SetVar(tcl, argv[0], buffer, 0) == NULL)
211
 	    TCL_Error(tcl, "could not set range start variable");
212
-	sprintf(buffer, "%d", f.EpochDays());
213
+	sprintf(buffer, "%ld", f.EpochDays());
214
 	if (Tcl_SetVar(tcl, argv[1], buffer, 0) == NULL)
215
 	    TCL_Error(tcl, "could not set range finish variable");
216
 	TCL_Return(tcl, "1");
217
@@ -886,7 +886,7 @@
218
     if (file == 0) return 1;
219
 
220
     if (file->GetCalendar()->ReadOnly()) {
221
-	Tcl_SetResult(tcl, "item is in readonly calendar", TCL_STATIC);
222
+	Tcl_SetResult(tcl, (char *)"item is in readonly calendar", TCL_STATIC);
223
 	return 0;
224
     }
225
 
(-)files/patch-main.C (-132 lines)
Lines 1-132 Link Here
1
--- main.C.orig	1996-02-16 01:57:42 UTC
2
+++ main.C
3
@@ -27,13 +27,13 @@
4
 /* Include various libraries converted to strings. */
5
 
6
 #ifdef STANDALONE
7
-static char* tcl_lib_str[] = {
8
+static const char* tcl_lib_str[] = {
9
 #include "tcl_lib.gen"
10
 0
11
 };
12
 
13
 // Need to disable "source" command
14
-static char* tk_lib_str[] = {
15
+static const char* tk_lib_str[] = {
16
 "rename source _orig_source",
17
 "proc source {args} {}",
18
 #include "tk_lib.gen"
19
@@ -42,37 +42,37 @@ static char* tk_lib_str[] = {
20
 0
21
 };
22
 
23
-static char* ical_lib_str[] = {
24
+static const char* ical_lib_str[] = {
25
 #include "ical_lib.gen"
26
 0
27
 };
28
 
29
-static char* tcllib_str[] = {
30
+static const char* tcllib_str[] = {
31
 #include "tcllib.gen"
32
 0
33
 };
34
 #endif
35
 
36
-static char* ical_startup[] = {
37
+static const char* ical_startup[] = {
38
 #include "ical_start.gen"
39
 0
40
 };
41
 
42
-static char* psheader_str[] = {
43
+static const char* psheader_str[] = {
44
 "set ical(psheader) {%!PS-Adobe-",
45
 #include "psheader.gen"
46
 "}",
47
 0
48
 };
49
 
50
-static char* ical_doc_str[] = {
51
+static const char* ical_doc_str[] = {
52
 "set ical(doc) {",
53
 #include "icaldoc.gen"
54
 "}",
55
 0
56
 };
57
 
58
-static char* tcl_doc_str[] = {
59
+static const char* tcl_doc_str[] = {
60
 "set ical(tcl_interface_doc) {",
61
 #include "tcldoc.gen"
62
 "}",
63
@@ -173,7 +173,7 @@ main(int argc, char* argv[]) {
64
 
65
 #ifdef STANDALONE
66
 extern "C" int MyTcl_Init(Tcl_Interp* tcl) {
67
-    return (eval_list(tcl, tcl_lib_str));
68
+    return (eval_list(tcl, (char **)tcl_lib_str));
69
 }
70
 #else
71
 #define MyTcl_Init Tcl_Init
72
@@ -194,7 +194,7 @@ extern "C" int TkPlatformInit(Tcl_Interp* tcl) {
73
 
74
     TkCreateXEventSource();
75
 
76
-    return (eval_list(tcl, tk_lib_str));
77
+    return (eval_list(tcl, (char **)tk_lib_str));
78
 }
79
 #endif
80
 
81
@@ -245,37 +245,37 @@ int Ical_Init(Tcl_Interp* tcl) {
82
     }
83
 
84
     // Set-up postscript prolog
85
-    if (eval_list(tcl, psheader_str) != TCL_OK)
86
+    if (eval_list(tcl, (char **)psheader_str) != TCL_OK)
87
 	return TCL_ERROR;
88
 
89
     // Set-up documentation
90
-    if (eval_list(tcl, ical_doc_str) != TCL_OK)
91
+    if (eval_list(tcl, (char **)ical_doc_str) != TCL_OK)
92
 	return TCL_ERROR;
93
-    if (eval_list(tcl, tcl_doc_str) != TCL_OK)
94
+    if (eval_list(tcl, (char **)tcl_doc_str) != TCL_OK)
95
 	return TCL_ERROR;
96
 
97
     // Non-Tk ical commands
98
-    Tcl_CreateCommand(tcl, "calendar",     Cmd_CreateCalendar,	NULL, NULL);
99
-    Tcl_CreateCommand(tcl, "notice",       Cmd_CreateNotice,	NULL, NULL);
100
-    Tcl_CreateCommand(tcl, "appointment",  Cmd_CreateAppt,	NULL, NULL);
101
-    Tcl_CreateCommand(tcl, "date",         Cmd_Date,		NULL, NULL);
102
-    Tcl_CreateCommand(tcl, "ical_time",    Cmd_Time,		NULL, NULL);
103
-    Tcl_CreateCommand(tcl, "de_monthdays", Cmd_MonthDays,	NULL, NULL);
104
-    Tcl_CreateCommand(tcl, "hilite_loop",  Cmd_HiliteLoop,	NULL, NULL);
105
-    Tcl_CreateCommand(tcl, "ical_expand_file_name", Cmd_ExpandFileName, 0, 0);
106
+    Tcl_CreateCommand(tcl, "calendar",     (Tcl_CmdProc *)Cmd_CreateCalendar,	NULL, NULL);
107
+    Tcl_CreateCommand(tcl, "notice",       (Tcl_CmdProc *)Cmd_CreateNotice,	NULL, NULL);
108
+    Tcl_CreateCommand(tcl, "appointment",  (Tcl_CmdProc *)Cmd_CreateAppt,	NULL, NULL);
109
+    Tcl_CreateCommand(tcl, "date",         (Tcl_CmdProc *)Cmd_Date,		NULL, NULL);
110
+    Tcl_CreateCommand(tcl, "ical_time",    (Tcl_CmdProc *)Cmd_Time,		NULL, NULL);
111
+    Tcl_CreateCommand(tcl, "de_monthdays", (Tcl_CmdProc *)Cmd_MonthDays,	NULL, NULL);
112
+    Tcl_CreateCommand(tcl, "hilite_loop",  (Tcl_CmdProc *)Cmd_HiliteLoop,	NULL, NULL);
113
+    Tcl_CreateCommand(tcl, "ical_expand_file_name", (Tcl_CmdProc *)Cmd_ExpandFileName, 0, 0);
114
 
115
 #ifdef STANDALONE
116
     // Load tcllib files
117
-    if (eval_list(tcl, tcllib_str) != TCL_OK)
118
+    if (eval_list(tcl, (char **)tcllib_str) != TCL_OK)
119
 	return TCL_ERROR;
120
 
121
     // Load ical library files
122
-    if (eval_list(tcl, ical_lib_str) != TCL_OK)
123
+    if (eval_list(tcl, (char **)ical_lib_str) != TCL_OK)
124
 	return TCL_ERROR;
125
 #endif
126
 
127
     // Initialize ical stuff
128
-    if (eval_list(tcl, ical_startup) != TCL_OK)
129
+    if (eval_list(tcl, (char **)ical_startup) != TCL_OK)
130
 	return TCL_ERROR;
131
 
132
     if (Tcl_Eval(tcl, "ical_init") == TCL_ERROR)
(-)files/patch-object.C (-20 lines)
Lines 1-20 Link Here
1
--- object.C.orig	1994-05-20 03:22:04 UTC
2
+++ object.C
3
@@ -33,7 +33,7 @@ void Object::init(Tcl_Interp* t, char const* ty, char 
4
     interp = t;
5
 
6
     /* Create TCL Command */
7
-    Tcl_CreateCommand(interp, name, obj_handle, (ClientData) this, NULL);
8
+    Tcl_CreateCommand(interp, name, (Tcl_CmdProc *)obj_handle, (ClientData) this, NULL);
9
 }
10
 
11
 Object::~Object() {
12
@@ -46,7 +46,7 @@ Object::~Object() {
13
 Object* Object::find(Tcl_Interp* tcl, char const* h) {
14
     Tcl_CmdInfo i;
15
 
16
-    if (Tcl_GetCommandInfo(tcl, (char*)h, &i) && (i.proc == obj_handle))
17
+    if (Tcl_GetCommandInfo(tcl, (char*)h, &i) && (i.proc == (Tcl_CmdProc *)obj_handle))
18
 	return ((Object*) i.clientData);
19
 
20
     return 0;
(-)files/patch-pref.tcl (-23 lines)
Lines 1-23 Link Here
1
--- pref.tcl.orig	2004-03-11 11:26:56 UTC
2
+++ pref.tcl
3
@@ -116,10 +116,16 @@
4
     }
5
 
6
     # XXX People do not seem to like the motif-style popup behavior
7
-#    global tk_strictMotif
8
-#    if {!$tk_strictMotif} {
9
-#	bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}}
10
-#    }
11
+    global tk_strictMotif
12
+    if {!$tk_strictMotif} {
13
+	bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}}
14
+	set tv [info tclversion]
15
+	if {[package vcompare $tv 8.4] >= 0} {
16
+	    bind Menubutton <Any-ButtonRelease-1> {::tk::MenuUnpost {}}
17
+	} else {
18
+	    bind Menubutton <Any-ButtonRelease-1> {tkMenuUnpost {}}
19
+	}
20
+    }
21
 
22
     # Handle command line preferences
23
     global ical
(-)files/patch-time_Makefile.in (-10 lines)
Lines 1-10 Link Here
1
--- time/Makefile.in.orig	1996-02-10 03:17:47 UTC
2
+++ time/Makefile.in
3
@@ -11,7 +11,6 @@
4
          ECHO = echo
5
        RANLIB = @RANLIB@
6
 
7
-     CXXFLAGS = -O
8
       CXXINCS = -I.. -I$(srcdir)
9
          OBJS = Date.o Month.o Time.o WeekDay.o Year.o parse.o
10
         TESTS = testparse
(-)files/patch-time_Time.C (+10 lines)
Line 0 Link Here
1
--- time/Time.C.orig	2012-06-02 18:44:03 UTC
2
+++ time/Time.C
3
@@ -4,7 +4,6 @@
4
 #include <sys/types.h>
5
 #include <math.h>
6
 #include <string.h>
7
-#include <alloca.h>
8
 #include <stdlib.h>
9
 
10
 #include "config.h"
(-)files/patch-time_tcl.C (-11 lines)
Lines 1-11 Link Here
1
--- time_tcl.C.orig	1994-05-20 03:22:05 UTC
2
+++ time_tcl.C
3
@@ -135,7 +135,7 @@ int Cmd_Date(ClientData, Tcl_Interp* tcl, int argc, ch
4
 		TCL_Return(tcl, "0");
5
 
6
 	    // Set variables
7
-	    sprintf(buffer, "%d", result.EpochDays());
8
+	    sprintf(buffer, "%ld", result.EpochDays());
9
 	    if (Tcl_SetVar(tcl, argv[3], buffer, 0) == NULL)
10
 		TCL_Error(tcl, "could not set <date> result");
11
 
(-)files/patch-types_Makefile.in (-11 lines)
Lines 1-11 Link Here
1
--- types/Makefile.in.orig	1997-10-21 23:53:02 UTC
2
+++ types/Makefile.in
3
@@ -12,7 +12,7 @@
4
          ECHO = echo
5
        RANLIB = @RANLIB@
6
 
7
-     CXXFLAGS = -O $(DEFS)
8
+     CXXFLAGS = $(DEFS)
9
       CXXINCS = -I$(srcdir)
10
          OBJS = bitvec.o hashfuncs.o intset.o
11
         TESTS = testarray testbv testomap testoset timemap testhash testmap\
(-)pkg-descr (-2 / +9 lines)
Lines 1-5 Link Here
1
Ical is an X based calendar program.
1
Ical is an X based calendar program.
2
3
* Calendar items can be created edited and deleted easily.
2
* Calendar items can be created edited and deleted easily.
4
* Items can be made to repeat in various ways.
3
* Items can be made to repeat in various ways.
5
* Ical will post reminders for upcoming appointments.
4
* Ical will post reminders for upcoming appointments.
Lines 10-17 Link Here
10
This software was developed by the original author, Sanjay Ghemawat
9
This software was developed by the original author, Sanjay Ghemawat
11
from 1993-1997.  His last version was v2.2.  As system developments
10
from 1993-1997.  His last version was v2.2.  As system developments
12
warranted it, other folks published patches and maintenance releases
11
warranted it, other folks published patches and maintenance releases
13
in order to keep Ical working.  Version v2.3.1 is such a release.
12
in order to keep Ical working.  Versions v2.3.1 and 2.3.2 are such
13
releases.  In 2008, renewed interest in Ical led to new features
14
such as timezone support, link support, key bindings and per-calendar
15
colors.  This is the v3.0.x series of releases.
14
16
15
WWW: http://opal.com/jr/ical/
17
WWW: http://opal.com/jr/ical/
18
WWW: https://launchpad.net/ical-tcl/
19
WWW: https://blog.tcl.tk/1861
16
WWW: http://www.isi.edu/~johnh/SOFTWARE/ICAL/
20
WWW: http://www.isi.edu/~johnh/SOFTWARE/ICAL/
21
#WWW: http://www.annexia.org/freeware/ical/
17
#WWW: ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/
22
#WWW: ftp://ftp.sunet.se/pub/vendor/sco/skunkware/src/shellutil/
23
#WWW: http://clef.lcs.mit.edu/%7Esanjay/ical.html
24
#WWW: http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/doc.html
(-)pkg-plist (-62 / +75 lines)
Lines 1-64 Link Here
1
bin/ical
1
bin/ical
2
bin/ical-2.3
2
lib/ical/v3.0.4/actions.tcl
3
lib/ical/v2.3/actions.tcl
3
lib/ical/v3.0.4/alarm.tcl
4
lib/ical/v2.3/alarm.tcl
4
lib/ical/v3.0.4/apptlist.tcl
5
lib/ical/v2.3/apptlist.tcl
5
lib/ical/v3.0.4/canvsup.tcl
6
lib/ical/v2.3/canvsup.tcl
6
lib/ical/v3.0.4/contrib/README
7
lib/ical/v2.3/contrib/README
7
lib/ical/v3.0.4/contrib/calicon.tcl
8
lib/ical/v2.3/contrib/ical.spec
8
lib/ical/v3.0.4/contrib/ical-script
9
lib/ical/v2.3/contrib/ical.xbm
9
lib/ical/v3.0.4/contrib/ical.spec
10
lib/ical/v2.3/contrib/ical.xpm
10
lib/ical/v3.0.4/contrib/ical.xbm
11
lib/ical/v2.3/contrib/ical2calendar
11
lib/ical/v3.0.4/contrib/ical.xpm
12
lib/ical/v2.3/contrib/ical2html
12
lib/ical/v3.0.4/contrib/ical2calendar
13
lib/ical/v2.3/contrib/ical2zsh
13
lib/ical/v3.0.4/contrib/ical2html
14
lib/ical/v2.3/contrib/icaladd
14
lib/ical/v3.0.4/contrib/ical2ics
15
lib/ical/v2.3/contrib/icaladdlines
15
lib/ical/v3.0.4/contrib/ical2zsh
16
lib/ical/v2.3/contrib/icalexpire
16
lib/ical/v3.0.4/contrib/ical_icon.png
17
lib/ical/v2.3/contrib/icalweekly
17
lib/ical/v3.0.4/contrib/icaladd
18
lib/ical/v2.3/contrib/iconwindow.tcl
18
lib/ical/v3.0.4/contrib/icaladdlines
19
lib/ical/v2.3/contrib/timeofday.tcl
19
lib/ical/v3.0.4/contrib/icalexpire
20
lib/ical/v2.3/contrib/weeknumber.tcl
20
lib/ical/v3.0.4/contrib/icalweekly
21
lib/ical/v2.3/dateeditor.tcl
21
lib/ical/v3.0.4/contrib/icon.png
22
lib/ical/v2.3/dayview.tcl
22
lib/ical/v3.0.4/contrib/iconwindow.tcl
23
lib/ical/v2.3/dg_alarms.tcl
23
lib/ical/v3.0.4/contrib/oster_termine
24
lib/ical/v2.3/dg_item.tcl
24
lib/ical/v3.0.4/contrib/public_item.tcl
25
lib/ical/v2.3/dg_key.tcl
25
lib/ical/v3.0.4/contrib/publical
26
lib/ical/v2.3/dg_monthr.tcl
26
lib/ical/v3.0.4/contrib/timeofday.tcl
27
lib/ical/v2.3/dg_print.tcl
27
lib/ical/v3.0.4/contrib/weeknumber.tcl
28
lib/ical/v2.3/dg_range.tcl
28
lib/ical/v3.0.4/dateeditor.tcl
29
lib/ical/v2.3/dg_wdays.tcl
29
lib/ical/v3.0.4/dayview.tcl
30
lib/ical/v2.3/help.tcl
30
lib/ical/v3.0.4/dg_alarms.tcl
31
lib/ical/v2.3/ical_text.tcl
31
lib/ical/v3.0.4/dg_colors.tcl
32
lib/ical/v2.3/ical_x.tcl
32
lib/ical/v3.0.4/dg_item.tcl
33
lib/ical/v2.3/io.tcl
33
lib/ical/v3.0.4/dg_key.tcl
34
lib/ical/v2.3/itemlist.tcl
34
lib/ical/v3.0.4/dg_monthr.tcl
35
lib/ical/v2.3/itemwindow.tcl
35
lib/ical/v3.0.4/dg_print.tcl
36
lib/ical/v2.3/link.tcl
36
lib/ical/v3.0.4/dg_range.tcl
37
lib/ical/v2.3/listing.tcl
37
lib/ical/v3.0.4/dg_wdays.tcl
38
lib/ical/v2.3/notelist.tcl
38
lib/ical/v3.0.4/help.tcl
39
lib/ical/v2.3/parse.tcl
39
lib/ical/v3.0.4/ical_doc.tcl
40
lib/ical/v2.3/pref.tcl
40
lib/ical/v3.0.4/ical_text.tcl
41
lib/ical/v2.3/print.tcl
41
lib/ical/v3.0.4/ical_x.tcl
42
lib/ical/v2.3/support.tcl
42
lib/ical/v3.0.4/interface_doc.tcl
43
lib/ical/v2.3/tclIndex
43
lib/ical/v3.0.4/io.tcl
44
lib/ical/v2.3/tcllib/canvas.tcl
44
lib/ical/v3.0.4/itemlist.tcl
45
lib/ical/v2.3/tcllib/class.tcl
45
lib/ical/v3.0.4/itemwindow.tcl
46
lib/ical/v2.3/tcllib/dg_bug.tcl
46
lib/ical/v3.0.4/link.tcl
47
lib/ical/v2.3/tcllib/dg_error.tcl
47
lib/ical/v3.0.4/listing.tcl
48
lib/ical/v2.3/tcllib/dg_file.tcl
48
lib/ical/v3.0.4/notelist.tcl
49
lib/ical/v2.3/tcllib/dg_num.tcl
49
lib/ical/v3.0.4/parse.tcl
50
lib/ical/v2.3/tcllib/dg_string.tcl
50
lib/ical/v3.0.4/pref.tcl
51
lib/ical/v2.3/tcllib/dg_yn.tcl
51
lib/ical/v3.0.4/print.tcl
52
lib/ical/v2.3/tcllib/dg_ync.tcl
52
lib/ical/v3.0.4/ps_header.tcl
53
lib/ical/v2.3/tcllib/filesel.tcl
53
lib/ical/v3.0.4/startup.tcl
54
lib/ical/v2.3/tcllib/hooks.tcl
54
lib/ical/v3.0.4/support.tcl
55
lib/ical/v2.3/tcllib/key.tcl
55
lib/ical/v3.0.4/tclIndex
56
lib/ical/v2.3/tcllib/label.tcl
56
lib/ical/v3.0.4/tcllib/canvas.tcl
57
lib/ical/v2.3/tcllib/menus.tcl
57
lib/ical/v3.0.4/tcllib/class.tcl
58
lib/ical/v2.3/tcllib/ruler.tcl
58
lib/ical/v3.0.4/tcllib/dg_bug.tcl
59
lib/ical/v2.3/tcllib/support.tcl
59
lib/ical/v3.0.4/tcllib/dg_error.tcl
60
lib/ical/v2.3/tcllib/tclIndex
60
lib/ical/v3.0.4/tcllib/dg_file.tcl
61
lib/ical/v2.3/tcllib/textwin.tcl
61
lib/ical/v3.0.4/tcllib/dg_num.tcl
62
lib/ical/v2.3/timerange.tcl
62
lib/ical/v3.0.4/tcllib/dg_string.tcl
63
lib/ical/v2.3/trigger.tcl
63
lib/ical/v3.0.4/tcllib/dg_yn.tcl
64
lib/ical/v3.0.4/tcllib/dg_ync.tcl
65
lib/ical/v3.0.4/tcllib/filesel.tcl
66
lib/ical/v3.0.4/tcllib/hooks.tcl
67
lib/ical/v3.0.4/tcllib/key.tcl
68
lib/ical/v3.0.4/tcllib/label.tcl
69
lib/ical/v3.0.4/tcllib/menus.tcl
70
lib/ical/v3.0.4/tcllib/ruler.tcl
71
lib/ical/v3.0.4/tcllib/support.tcl
72
lib/ical/v3.0.4/tcllib/tclIndex
73
lib/ical/v3.0.4/tcllib/textwin.tcl
74
lib/ical/v3.0.4/timerange.tcl
75
lib/ical/v3.0.4/trigger.tcl
64
man/man1/ical.1.gz
76
man/man1/ical.1.gz
77
share/applications/ical.desktop

Return to bug 243520