[packages/ocaml-net] - build with apache 2.4
baggins
baggins at pld-linux.org
Mon May 6 09:03:39 CEST 2013
commit 2efdfd4a9ce291cdd4fc6c2a95ffe550f3511be3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Mon May 6 09:03:26 2013 +0200
- build with apache 2.4
ocaml-net-apache24.patch | 11 +++++++++++
ocaml-net.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/ocaml-net.spec b/ocaml-net.spec
index a01a39c..a265a22 100644
--- a/ocaml-net.spec
+++ b/ocaml-net.spec
@@ -13,6 +13,7 @@ Patch0: %{name}-buildfix.patch
Patch1: %{name}-lablgtk2.patch
Patch2: %{name}-zip.patch
Patch3: %{name}-apache-link.patch
+Patch4: %{name}-apache24.patch
URL: http://projects.camlcity.org/projects/ocamlnet.html
BuildRequires: %{apache}
BuildRequires: %{apxs}
@@ -617,6 +618,7 @@ Interfejs dla protokołu SMTP opisanego w RFC 2821.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
# no %%configure, please
diff --git a/ocaml-net-apache24.patch b/ocaml-net-apache24.patch
new file mode 100644
index 0000000..a2cd0f4
--- /dev/null
+++ b/ocaml-net-apache24.patch
@@ -0,0 +1,11 @@
+--- ocamlnet-3.6/src/netcgi2-apache/apache.c~ 2012-07-20 01:25:25.000000000 +0200
++++ ocamlnet-3.6/src/netcgi2-apache/apache.c 2013-05-06 09:02:42.545701688 +0200
+@@ -212,7 +212,7 @@
+ raise_not_found (); \
+ }
+
+-CONNECTION(remote_ip)
++CONNECTION(client_ip)
+ CONNECTION(remote_host)
+
+ /*----- Request structure. -----*/
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ocaml-net.git/commitdiff/2efdfd4a9ce291cdd4fc6c2a95ffe550f3511be3
More information about the pld-cvs-commit
mailing list