freebsd-ports/www/mod_dtcl/files/patch-aa
Chris D. Faulhaber 510ecb498f Correctly update port to 0.7.3-1 (different patches obtained from
Maintainer)

Submitted by:	Maintainer
2000-02-22 22:34:07 +00:00

20 lines
471 B
Text

--- testdtcl.c.orig Mon Dec 6 00:26:28 1999
+++ testdtcl.c Thu Feb 17 15:01:52 2000
@@ -14,4 +14,5 @@
#include <tcl.h>
#include <unistd.h>
+#include <stdlib.h> /* In older FreeBSD, this is where getopt(3) lives */
#ifndef DEBUG_SCRIPT_DIR
@@ -51,5 +52,4 @@
"Testdtcl is out of date, you should only "
"really be using it if you wish to improve it\n");
- exit(0);
interp = Tcl_CreateInterp();
@@ -233,4 +233,5 @@
}
}
+ return 0;
}