Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
This commit is contained in:
parent
1ff0d34fb6
commit
850c4b69bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23486
4 changed files with 74 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
# New ports collection makefile for: ical
|
||||
# Version required: 2.1
|
||||
# Version required: 2.2
|
||||
# Date created: Mon Aug 28 13:35:31 CDT 1995
|
||||
# Whom: erich@rrnet.com
|
||||
#
|
||||
|
@ -7,20 +7,20 @@
|
|||
#
|
||||
|
||||
DISTNAME= ical-2.2
|
||||
CATEGORIES= deskutils tk80
|
||||
CATEGORIES= deskutils tk82
|
||||
MASTER_SITES= http://www.research.digital.com/SRC/personal/Sanjay_Ghemawat/ical/icalbins/
|
||||
|
||||
MAINTAINER= erich@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80
|
||||
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
||||
--with-tclconfig=${PREFIX}/lib/tcl8.0 \
|
||||
--with-tclhdir=${PREFIX}/include/tcl8.0 \
|
||||
--with-tclsh=${PREFIX}/bin/tclsh8.0 \
|
||||
--with-tkconfig=${PREFIX}/lib/tk8.0 \
|
||||
--with-tkhdir=${PREFIX}/include/tk8.0
|
||||
--with-tclconfig=${PREFIX}/lib/tcl8.2 \
|
||||
--with-tclhdir=${PREFIX}/include/tcl8.2 \
|
||||
--with-tclsh=${PREFIX}/bin/tclsh8.2 \
|
||||
--with-tkconfig=${PREFIX}/lib/tk8.2 \
|
||||
--with-tkhdir=${PREFIX}/include/tk8.2
|
||||
|
||||
MAN1= ical.1
|
||||
|
||||
|
|
29
deskutils/ical/files/patch-aa
Normal file
29
deskutils/ical/files/patch-aa
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- cal_tcl.C.orig Sun Nov 28 17:29:13 1999
|
||||
+++ cal_tcl.C Sun Nov 28 17:30:24 1999
|
||||
@@ -516,7 +516,7 @@
|
||||
TCL_Error(tcl, "no such calendar");
|
||||
}
|
||||
|
||||
- TCL_Return(tcl, file->GetCalendar()->ReadOnly() ? "1" : "0");
|
||||
+ TCL_Return(tcl, file->GetCalendar()->ReadOnly() ? (char *)"1" : (char *)"0");
|
||||
}
|
||||
|
||||
static int cal_dirty(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
|
||||
@@ -527,7 +527,7 @@
|
||||
TCL_Error(tcl, "no such calendar");
|
||||
}
|
||||
|
||||
- TCL_Return(tcl, (file->IsModified() ? "1" : "0"));
|
||||
+ TCL_Return(tcl, (file->IsModified() ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int cal_stale(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
|
||||
@@ -538,7 +538,7 @@
|
||||
TCL_Error(tcl, "no such calendar");
|
||||
}
|
||||
|
||||
- TCL_Return(tcl, (file->FileHasChanged() ? "1" : "0"));
|
||||
+ TCL_Return(tcl, (file->FileHasChanged() ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int cal_save(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]){
|
35
deskutils/ical/files/patch-ab
Normal file
35
deskutils/ical/files/patch-ab
Normal file
|
@ -0,0 +1,35 @@
|
|||
--- item_tcl.C.orig Sun Nov 28 17:31:26 1999
|
||||
+++ item_tcl.C Sun Nov 28 17:32:25 1999
|
||||
@@ -329,7 +329,7 @@
|
||||
|
||||
static int item_owned(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
||||
Item_Tcl* item = (Item_Tcl*) c;
|
||||
- TCL_Return(tcl, (item->value()->IsMine() ? "1" : "0"));
|
||||
+ TCL_Return(tcl, (item->value()->IsMine() ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int item_own(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
||||
@@ -492,12 +492,12 @@
|
||||
|
||||
static int item_empty(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
||||
Item_Tcl* item = (Item_Tcl*) c;
|
||||
- TCL_Return(tcl, (item->value()->empty()?"1":"0"));
|
||||
+ TCL_Return(tcl, (item->value()->empty() ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int item_repeat(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
||||
Item_Tcl* item = (Item_Tcl*) c;
|
||||
- TCL_Return(tcl,(item->value()->repeats()?"1":"0"));
|
||||
+ TCL_Return(tcl,(item->value()->repeats() ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int item_first(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
||||
@@ -576,7 +576,7 @@
|
||||
TCL_Error(tcl, "invalid date");
|
||||
}
|
||||
Date date(dateDays);
|
||||
- TCL_Return(tcl, (item->value()->contains(date)?"1":"0"));
|
||||
+ TCL_Return(tcl, (item->value()->contains(date) ? (char *)"1" : (char *)"0"));
|
||||
}
|
||||
|
||||
static int item_next(ClientData c, Tcl_Interp* tcl, int argc, char* argv[]) {
|
|
@ -7,13 +7,13 @@
|
|||
#
|
||||
|
||||
DISTNAME= cqcam-0.45a
|
||||
CATEGORIES= graphics tk80
|
||||
CATEGORIES= graphics tk82
|
||||
MASTER_SITES= http://www.cs.virginia.edu/~patrick/cqcam/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 \
|
||||
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
|
||||
jpeg.9:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
|
Loading…
Reference in a new issue