[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#472994: lablgtk2: FTBFS on OCaml 3.10.2



Package: lablgtk2
Severity: important
Justification: fails to build from source

The package lablgtk2 fails to build from source with ocaml 3.10.2.
Attached is a patch which fixes the problem.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- lablgtk2-2.10.0.orig/src/gContainer.mli
+++ lablgtk2-2.10.0/src/gContainer.mli
@@ -92,8 +92,8 @@
 
 (** @gtkdoc gtk GtkContainer *)
 val pack_container :
-  create:([> Gtk.container] Gobject.param list -> (#GObj.widget as 'a)) ->
-  [> Gtk.container] Gobject.param list ->
+  create:(([> Gtk.container] as 'b) Gobject.param list -> (#GObj.widget as 'a)) ->
+  'b Gobject.param list ->
   ?border_width:int ->
   ?width:int ->
   ?height:int -> ?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> 'a

Reply to: