summaryrefslogtreecommitdiff
path: root/debian/patches/ftbfs-ocaml4.04.patch
blob: 7fa84efd10e98ad164372d2851b95a629a87d1db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: Remove duplicate constructor, to fix FTBFS with ocaml 4.04.
Author: Dimitri John Ledkov <xnox@ubuntu.com>

--- obus-1.1.5.orig/src/oBus_bus.ml
+++ obus-1.1.5/src/oBus_bus.ml
@@ -151,9 +151,6 @@ exception Match_rule_not_found of string
 exception Match_rule_invalid of string
  with obus("org.freedesktop.DBus.Error.MatchRuleInvalid")
 
-exception Service_unknown of string
- with obus("org.freedesktop.DBus.Error.ServiceUnknown")
-
 exception Name_has_no_owner of string
  with obus("org.freedesktop.DBus.Error.NameHasNoOwner")
 
--- obus-1.1.5.orig/src/oBus_bus.mli
+++ obus-1.1.5/src/oBus_bus.mli
@@ -152,10 +152,6 @@ val list_queued_owners : t -> OBus_name.
   (** Return the connection unique names of applications waiting for a
       name *)
 
-exception Service_unknown of string
-  (** Raised when we try to contact a service which is not available
-      and the bus do not known how to start it *)
-
 (** {6 Messages routing} *)
 
 (** Note that you should prefer using {!OBus_match.export} and