summaryrefslogtreecommitdiff
path: root/databases/mysqltcl
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-08-01 00:02:55 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-08-01 00:02:55 +0000
commitb54a0ecd191ebf4ef08fff8e4cc5c35b4348064a (patch)
tree9ae39c42905bdfec9ed845f4bcec2920d8d75d58 /databases/mysqltcl
parentGrab a patch for keyboard on sparc64 from Xorg CVS. This makes 'kbd' driver (diff)
Update from 2.50 to 3.01. Transfer maintainership to the submitter.
PR: ports/84412 Submitted by: Bjorn Konig
Notes
Notes: svn path=/head/; revision=140593
Diffstat (limited to 'databases/mysqltcl')
-rw-r--r--databases/mysqltcl/Makefile9
-rw-r--r--databases/mysqltcl/distinfo4
-rw-r--r--databases/mysqltcl/files/patch-ab8
-rw-r--r--databases/mysqltcl/files/patch-warnings45
4 files changed, 54 insertions, 12 deletions
diff --git a/databases/mysqltcl/Makefile b/databases/mysqltcl/Makefile
index 7f1d2caaec07..e950714e0bbb 100644
--- a/databases/mysqltcl/Makefile
+++ b/databases/mysqltcl/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= mysqltcl
-PORTVERSION= 2.50
+PORTVERSION= 3.01
CATEGORIES= databases tcl83 tcl84
MASTER_SITES= http://www.xdobry.de/mysqltcl/
-MAINTAINER= mi@aldan.algebra.com
+MAINTAINER= bkoenig@cs.tu-berlin.de
COMMENT= TCL module for accessing MySQL databases based on msqltcl
LIB_DEPENDS= ${TCL_NODOT}:${PORTSDIR}/lang/${TCL_NODOT}
@@ -26,6 +26,11 @@ MAKE_ENV+= PORTVERSION="${PORTVERSION}" \
TCL_NODOT="${TCL_NODOT}"
MAKEFILE= ${FILESDIR}/Makefile.bsd
ALL_TARGET= shlib
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ''
+
+pre-patch:
+ ${REINPLACE_CMD} -e 's, * ,,' ${WRKSRC}/generic/*.[ch]
do-install:
${MKDIR} ${SQL_DIR}
diff --git a/databases/mysqltcl/distinfo b/databases/mysqltcl/distinfo
index 2a6c92824e8d..dfcf24c09031 100644
--- a/databases/mysqltcl/distinfo
+++ b/databases/mysqltcl/distinfo
@@ -1,2 +1,2 @@
-MD5 (mysqltcl-2.50.tar.gz) = 0a1c263ab659ddb0f0927bb10a90bb5d
-SIZE (mysqltcl-2.50.tar.gz) = 143641
+MD5 (mysqltcl-3.01.tar.gz) = 8e3df0d77b78e14680288dce72d79304
+SIZE (mysqltcl-3.01.tar.gz) = 168408
diff --git a/databases/mysqltcl/files/patch-ab b/databases/mysqltcl/files/patch-ab
deleted file mode 100644
index e1a6b6a0a628..000000000000
--- a/databases/mysqltcl/files/patch-ab
+++ /dev/null
@@ -1,8 +0,0 @@
---- doc/mysqltcl.n Mon Jul 6 12:04:27 1998
-+++ doc/mysqltcl.n Wed Sep 1 01:52:23 1999
-@@ -36,2 +36,5 @@
- MySQLTcl - MySQL server access commands for Tcl
-+.SH SYNOPSIS
-+.P
-+package require mysqltcl
- .SH "INTRODUCTION"
diff --git a/databases/mysqltcl/files/patch-warnings b/databases/mysqltcl/files/patch-warnings
new file mode 100644
index 000000000000..456562bc27fa
--- /dev/null
+++ b/databases/mysqltcl/files/patch-warnings
@@ -0,0 +1,45 @@
+--- generic/mysqltcl.c Mon Dec 27 07:34:33 2004
++++ generic/mysqltcl.c Sun Jul 31 19:43:08 2005
+@@ -184,5 +184,4 @@
+ {
+ Tcl_ObjType *oldTypePtr = objPtr->typePtr;
+- Tcl_HashEntry *entryPtr;
+
+ if ((oldTypePtr != NULL) && (oldTypePtr->freeIntRepProc != NULL)) {
+@@ -1389,6 +1388,6 @@
+ {
+ MysqltclState *statePtr = (MysqltclState *)clientData;
+- int code ;
+- int count ;
++ int code = TCL_ERROR;
++ int count = 0;
+
+ MysqlTclHandle *handle;
+@@ -1398,5 +1397,4 @@
+ MYSQL_ROW row ;
+ int *val = NULL;
+- int breakLoop = 0;
+ unsigned long *lengths;
+
+@@ -1456,13 +1454,8 @@
+ case TCL_CONTINUE:
+ case TCL_OK:
+- break ;
+- case TCL_BREAK:
+- breakLoop=1;
+- break;
++ continue;
+ default:
+- breakLoop=1;
+- break;
+ }
+- if (breakLoop==1) break;
++ break;
+ }
+ }
+@@ -2150,5 +2143,4 @@
+ static int Mysqltcl_NewNull(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const objv[])
+ {
+- Tcl_Obj *objPtr;
+ if (objc != 1) {
+ Tcl_WrongNumArgs(interp, 1, objv, "");