aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_lisp2
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-21 20:36:42 +0800
committermiwi <miwi@FreeBSD.org>2008-06-21 20:36:42 +0800
commitdcec1a9f008ce314af0f76d140ef177a591f471b (patch)
treecfa26f02bf1368315e765deb9ee5f6987eaa82a7 /www/mod_lisp2
parentd918d46940c42641458abd507abce247b61dd00d (diff)
downloadfreebsd-ports-gnome-dcec1a9f008ce314af0f76d140ef177a591f471b.tar.gz
freebsd-ports-gnome-dcec1a9f008ce314af0f76d140ef177a591f471b.tar.zst
freebsd-ports-gnome-dcec1a9f008ce314af0f76d140ef177a591f471b.zip
- Fix generates incorrect LoadModule directive in apache22's httpd.conf
PR: 124674 Submitted by: Sven Klose <pixel@copei.de> Approved by: maintainer
Diffstat (limited to 'www/mod_lisp2')
-rw-r--r--www/mod_lisp2/Makefile1
-rw-r--r--www/mod_lisp2/files/patch-mod_lisp2.c29
2 files changed, 30 insertions, 0 deletions
diff --git a/www/mod_lisp2/Makefile b/www/mod_lisp2/Makefile
index 326e6f27a203..850c3154bce0 100644
--- a/www/mod_lisp2/Makefile
+++ b/www/mod_lisp2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mod_lisp2
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://freebsd.minira.nl/
diff --git a/www/mod_lisp2/files/patch-mod_lisp2.c b/www/mod_lisp2/files/patch-mod_lisp2.c
new file mode 100644
index 000000000000..ca5f7a52d735
--- /dev/null
+++ b/www/mod_lisp2/files/patch-mod_lisp2.c
@@ -0,0 +1,29 @@
+--- mod_lisp2.c.orig 2008-06-17 17:51:40.000000000 +0200
++++ mod_lisp2.c 2008-06-17 17:53:20.000000000 +0200
+@@ -153,7 +153,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+
+-module AP_MODULE_DECLARE_DATA lisp_module;
++module AP_MODULE_DECLARE_DATA lisp2_module;
+ /* Work out the version of the apache portable runtime (APR) we're
+ * compiling against... with version 1.2.2 some of the interfaces
+ * changed a bit. */
+@@ -576,7 +576,7 @@
+ lisp_handler (request_rec * r)
+ {
+ lisp_cfg_t * cfg
+- = (ap_get_module_config ((r->per_dir_config), (&lisp_module)));
++ = (ap_get_module_config ((r->per_dir_config), (&lisp2_module)));
+ int content_length = (-1);
+ int keep_socket_p = 0;
+ apr_socket_t * socket;
+@@ -942,7 +942,7 @@
+ ap_hook_handler (lisp_handler, 0, 0, APR_HOOK_MIDDLE);
+ }
+
+-module AP_MODULE_DECLARE_DATA lisp_module =
++module AP_MODULE_DECLARE_DATA lisp2_module =
+ {
+ STANDARD20_MODULE_STUFF,
+ lisp_create_dir_config, /* create per-directory config structures */