summaryrefslogtreecommitdiff
path: root/www/cgic/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgic/patches/patch-ab')
-rw-r--r--www/cgic/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/cgic/patches/patch-ab b/www/cgic/patches/patch-ab
new file mode 100644
index 00000000000..8b782376587
--- /dev/null
+++ b/www/cgic/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/07/20 21:44:29 jmmv Exp $
+
+--- capture.c.orig Sun Jan 12 13:59:43 2003
++++ capture.c
+@@ -1,6 +1,7 @@
+ #include "cgic.h"
+
+-int cgiMain() {
++int main() {
++ cgiInit();
+ cgiWriteEnvironment("/CHANGE/THIS/PATH/capcgi.dat");
+ cgiHeaderContentType("text/html");
+ fprintf(cgiOut, "<title>Captured</title>\n");