rpms/ocaml-ocamlnet/devel ocamlnet-ucred.patch, NONE, 1.1 ocaml-ocamlnet.spec, 1.1, 1.2

Richard W.M. Jones (rjones) fedora-extras-commits at redhat.com
Wed Feb 13 01:22:24 UTC 2008


Author: rjones

Update of /cvs/pkgs/rpms/ocaml-ocamlnet/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21880/devel

Modified Files:
	ocaml-ocamlnet.spec 
Added Files:
	ocamlnet-ucred.patch 
Log Message:
* Tue Feb 12 2008 Richard W.M. Jones <rjones at redhat.com> - 2.2.9-2
- Rebuild for OCaml 3.10.1.


ocamlnet-ucred.patch:

--- NEW FILE ocamlnet-ucred.patch ---
diff -ur ocamlnet-2.2.9/src/rpc-auth-local/rpclocal.c ocamlnet-2.2.9.new/src/rpc-auth-local/rpclocal.c
--- ocamlnet-2.2.9/src/rpc-auth-local/rpclocal.c	2007-11-01 22:12:33.000000000 +0000
+++ ocamlnet-2.2.9.new/src/rpc-auth-local/rpclocal.c	2008-02-12 21:01:21.000000000 +0000
@@ -3,6 +3,8 @@
  *
  */
 
+#define _GNU_SOURCE /* for SO_PEERCRED / struct ucred */
+
 #include "caml/mlvalues.h"
 #include "caml/alloc.h"
 #include "caml/memory.h"


Index: ocaml-ocamlnet.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocaml-ocamlnet/devel/ocaml-ocamlnet.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ocaml-ocamlnet.spec	6 Dec 2007 17:08:25 -0000	1.1
+++ ocaml-ocamlnet.spec	13 Feb 2008 01:21:46 -0000	1.2
@@ -3,7 +3,7 @@
 
 Name:           ocaml-ocamlnet
 Version:        2.2.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Network protocols for OCaml
 
 Group:          Development/Libraries
@@ -12,10 +12,11 @@
 Source0:        http://www.ocaml-programming.de/packages/ocamlnet-%{version}.tar.gz
 ExcludeArch:    ppc64
 Patch0:         ocamlnet-ocaml310.patch
+Patch1:         ocamlnet-ucred.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  ocaml
+BuildRequires:  ocaml >= 3.10.1
 BuildRequires:  ocaml-ocamldoc
 BuildRequires:  ocaml-camlp4-devel
 BuildRequires:  ocaml-findlib-devel
@@ -114,6 +115,7 @@
 pushd src/equeue-gtk1
 %patch0 -p2
 popd
+%patch1 -p1
 
 ./configure -enable-tcl -with-nethttpd \
   -bindir %{_bindir} \
@@ -231,6 +233,9 @@
 
 
 %changelog
+* Tue Feb 12 2008 Richard W.M. Jones <rjones at redhat.com> - 2.2.9-2
+- Rebuild for OCaml 3.10.1.
+
 * Wed Nov  7 2007 Richard W.M. Jones <rjones at redhat.com> - 2.2.9-1
 - New upstream release 2.2.9.
 - A more bletcherous, but more working, patch to fix the camlp4




More information about the fedora-extras-commits mailing list