[Pkg-ocaml-maint-commits] [obus] 02/03: Fix compilation with react 1.0.0

Stéphane Glondu glondu at moszumanska.debian.org
Thu Nov 5 09:56:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository obus.

commit 17cb0da531e2a54cf2c5fa429fc06852be7fbfc2
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Nov 5 10:30:28 2015 +0100

    Fix compilation with react 1.0.0
---
 .../0002-Fix-compilation-with-react-1.0.0.patch     | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0002-Fix-compilation-with-react-1.0.0.patch b/debian/patches/0002-Fix-compilation-with-react-1.0.0.patch
new file mode 100644
index 0000000..29b2a8d
--- /dev/null
+++ b/debian/patches/0002-Fix-compilation-with-react-1.0.0.patch
@@ -0,0 +1,21 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Thu, 5 Nov 2015 10:29:34 +0100
+Subject: Fix compilation with react 1.0.0
+
+---
+ src/oBus_signal.ml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/oBus_signal.ml b/src/oBus_signal.ml
+index 06162a3..ad11d94 100644
+--- a/src/oBus_signal.ml
++++ b/src/oBus_signal.ml
+@@ -229,7 +229,7 @@ let connect ?switch sd =
+     in
+ 
+     let event, send = E.create () in
+-    let node = Lwt_sequence.add_r send senders in
++    let node = Lwt_sequence.add_r (fun x -> send x) senders in
+ 
+     let event =
+       E.filter
diff --git a/debian/patches/series b/debian/patches/series
index 0b1b594..7bebbe4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Disable-the-tests-that-need-a-working-dbus-daemon.patch
+0002-Fix-compilation-with-react-1.0.0.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/obus.git



More information about the Pkg-ocaml-maint-commits mailing list