]> git.pld-linux.org Git - packages/ocaml-net.git/commitdiff
- build with apache 2.4
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 6 May 2013 07:03:26 +0000 (09:03 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 6 May 2013 07:03:26 +0000 (09:03 +0200)
ocaml-net-apache24.patch [new file with mode: 0644]
ocaml-net.spec

diff --git a/ocaml-net-apache24.patch b/ocaml-net-apache24.patch
new file mode 100644 (file)
index 0000000..a2cd0f4
--- /dev/null
@@ -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. -----*/
index a01a39cae1bb4259f3f01190fa61b82a5f4a0e71..a265a22b5aa3f67fb8ec17420ac42216313f3bdb 100644 (file)
@@ -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
This page took 0.069078 seconds and 4 git commands to generate.