aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cgilib
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2016-03-22 21:11:14 +0800
committerdemon <demon@FreeBSD.org>2016-03-22 21:11:14 +0800
commit5a915fe06f942208d9ff2a507df357d7d87b6ba9 (patch)
tree6cdee22ee29110b478a862a36be3b3bb4020dc31 /devel/cgilib
parent1d499b18a808ba6a9734f4562ed0987882a6903b (diff)
downloadfreebsd-ports-gnome-5a915fe06f942208d9ff2a507df357d7d87b6ba9.tar.gz
freebsd-ports-gnome-5a915fe06f942208d9ff2a507df357d7d87b6ba9.tar.zst
freebsd-ports-gnome-5a915fe06f942208d9ff2a507df357d7d87b6ba9.zip
Allow use cgilib from C++.
Submitted by: Sergei Tsetlin <htmlcoder@yandex.ru>
Diffstat (limited to 'devel/cgilib')
-rw-r--r--devel/cgilib/files/patch-cgi.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/cgilib/files/patch-cgi.h b/devel/cgilib/files/patch-cgi.h
new file mode 100644
index 000000000000..c48ad9183e96
--- /dev/null
+++ b/devel/cgilib/files/patch-cgi.h
@@ -0,0 +1,11 @@
+--- cgi.h.orig 2008-04-06 13:43:42.000000000 +0400
++++ cgi.h 2016-03-18 01:18:48.000000000 +0400
+@@ -143,7 +143,7 @@
+ char *cgiEscape (char *string);
+
+ #ifdef __cplusplus
+-extern }
++}
+ #endif
+
+ #endif /* _CGI_H_ */