diff options
author | steve <steve@FreeBSD.org> | 1999-11-28 18:32:45 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-11-28 18:32:45 +0000 |
commit | 08c63c7539787146848177b39e6859b9318119c8 (patch) | |
tree | 045e72940e0580d322686df49fa5f8edfa473315 /converters | |
parent | 775d6227a319547ad506dac9b94354b25428275c (diff) | |
download | FreeBSD-ports-08c63c7539787146848177b39e6859b9318119c8.zip FreeBSD-ports-08c63c7539787146848177b39e6859b9318119c8.tar.gz |
Update to use Tcl/Tk version 8.2.
Submitted by: Ade Lovett <ade@lovett.com>
Diffstat (limited to 'converters')
-rw-r--r-- | converters/xdeview/Makefile | 6 | ||||
-rw-r--r-- | converters/xdeview/files/patch-aa | 73 | ||||
-rw-r--r-- | converters/xdeview/files/patch-ac | 23 |
3 files changed, 97 insertions, 5 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile index 80c0008..c5a94c0 100644 --- a/converters/xdeview/Makefile +++ b/converters/xdeview/Makefile @@ -8,19 +8,19 @@ DISTNAME= uudeview-0.5.13 PKGNAME= xdeview-0.5.13 -CATEGORIES= converters tk80 +CATEGORIES= converters tk82 MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/ \ http://www.informatik.uni-frankfurt.de/~fp/uudeview/Apps/frank/ MAINTAINER= hoek@FreeBSD.org -LIB_DEPENDS= tk80.1:${PORTSDIR}/x11-toolkits/tk80 \ +LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \ uu.1:${PORTSDIR}/converters/uulib GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-tcl="${PREFIX}" --enable-tk="${PREFIX}" # Season to taste --- anything over tcl7.5 -CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/tcl8.0 -I${PREFIX}/include/tk8.0" +CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/tcl8.2 -I${PREFIX}/include/tk8.2" ALL_TARGET= xdeview INSTALL_TARGET= install-tcl diff --git a/converters/xdeview/files/patch-aa b/converters/xdeview/files/patch-aa index e684267..99062a0 100644 --- a/converters/xdeview/files/patch-aa +++ b/converters/xdeview/files/patch-aa @@ -1,5 +1,74 @@ ---- ./configure.org Thu Jan 9 06:22:00 1997 -+++ ./configure Sun Mar 30 04:25:11 1997 +--- configure.orig Thu Jan 9 08:22:00 1997 ++++ configure Thu Nov 4 11:29:23 1999 +@@ -2193,7 +2193,7 @@ + + if test "$have_tk" = "yes" ; then + echo $ac_n "checking for -ltk$tk_major.$tk_minor""... $ac_c" 1>&6 +-ac_lib_var=`echo tk$tk_major.$tk_minor'_'Tk_Main | tr './+\055' '__p_'` ++ac_lib_var=`echo tk$tk_major.$tk_minor'_'Tk_MainEx | tr './+\055' '__p_'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2205,11 +2205,11 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char Tk_Main(); ++char Tk_MainEx(); + + int main() { return 0; } + int t() { +-Tk_Main() ++Tk_MainEx() + ; return 0; } + EOF + if { (eval echo configure:2216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then +@@ -2233,7 +2233,7 @@ + + if test "$have_tk_lib" = "no" ; then + echo $ac_n "checking for -ltk$tk_major$tk_minor""... $ac_c" 1>&6 +-ac_lib_var=`echo tk$tk_major$tk_minor'_'Tk_Main | tr './+\055' '__p_'` ++ac_lib_var=`echo tk$tk_major$tk_minor'_'Tk_MainEx | tr './+\055' '__p_'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2245,11 +2245,11 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char Tk_Main(); ++char Tk_MainEx(); + + int main() { return 0; } + int t() { +-Tk_Main() ++Tk_MainEx() + ; return 0; } + EOF + if { (eval echo configure:2256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then +@@ -2274,7 +2274,7 @@ + fi + if test "$have_tk_lib" = "no" ; then + echo $ac_n "checking for -ltk""... $ac_c" 1>&6 +-ac_lib_var=`echo tk'_'Tk_Main | tr './+\055' '__p_'` ++ac_lib_var=`echo tk'_'Tk_MainEx | tr './+\055' '__p_'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +@@ -2286,11 +2286,11 @@ + /* Override any gcc2 internal prototype to avoid an error. */ + /* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +-char Tk_Main(); ++char Tk_MainEx(); + + int main() { return 0; } + int t() { +-Tk_Main() ++Tk_MainEx() + ; return 0; } + EOF + if { (eval echo configure:2297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then @@ -3148,7 +3148,7 @@ fi diff --git a/converters/xdeview/files/patch-ac b/converters/xdeview/files/patch-ac new file mode 100644 index 0000000..781256f --- /dev/null +++ b/converters/xdeview/files/patch-ac @@ -0,0 +1,23 @@ +--- tcl/uuwish.c.orig Thu Jun 6 14:41:11 1996 ++++ tcl/uuwish.c Thu Nov 4 11:34:43 1999 +@@ -78,19 +78,7 @@ + int + main (int argc, char *argv[]) + { +-#ifdef HAVE_TK +- Tk_Main +-#else +-#ifdef HAVE_TCL +- Tcl_Main +-#endif +-#endif +- (argc, argv +-#ifdef TMAIN_THREE +- , Tcl_AppInit +-#endif +- ); +- ++ Tk_MainEx( argc, argv, Tcl_AppInit, Tcl_CreateInterp() ); + return 0; + } + |