summaryrefslogtreecommitdiff
path: root/www/tclhttpd/files/patch-tcllib
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 15:49:46 +0000
commit5fef74e277a1a8631418cc86635c091fcc79d099 (patch)
tree1f91b768812d879efc689dc94c0aa53e7c1ba2fa /www/tclhttpd/files/patch-tcllib
parent- Add LICENSE (diff)
Rename www/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363346
Diffstat (limited to 'www/tclhttpd/files/patch-tcllib')
-rw-r--r--www/tclhttpd/files/patch-tcllib26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/tclhttpd/files/patch-tcllib b/www/tclhttpd/files/patch-tcllib
new file mode 100644
index 000000000000..2c2d15c2cc56
--- /dev/null
+++ b/www/tclhttpd/files/patch-tcllib
@@ -0,0 +1,26 @@
+This is needed, because of the way tcllib's pkgIndex.tcl is laid
+out. The _children_ of the directory containing tcllib itself are
+not searched for packages the first time. So
+ ``package require <some sub package>''
+will fail the first time :(. This is, probably, a bug in tcllib,
+but this is a workaround.
++++ htdocs/cgi-bin/flip.cgi Fri May 5 11:34:19 2000
+@@ -5,4 +5,3 @@
+ if {[catch {
+- package require ncgi
+- package require html
++ package require tcllib
+
++++ htdocs/cgi-bin/redirect.cgi Fri May 5 11:34:31 2000
+@@ -5,3 +5,3 @@
+ if {[catch {
+- package require ncgi
++ package require tcllib
+
++++ htdocs/cgi-bin/test.cgi Fri May 5 11:34:47 2000
+@@ -5,4 +5,3 @@
+ if {[catch {
+- package require ncgi
+- package require html
++ package require tcllib
+