packages: ocaml-net/ocaml-net-lablgtk2.patch (NEW) - new lablgtk2 is good, ...

baggins baggins at pld-linux.org
Mon Jul 18 11:43:50 CEST 2011


Author: baggins                      Date: Mon Jul 18 09:43:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new lablgtk2 is good, but test program needs DISPLAY, so don't run it,
  and don't generate false negative

---- Files affected:
packages/ocaml-net:
   ocaml-net-lablgtk2.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/ocaml-net/ocaml-net-lablgtk2.patch
diff -u /dev/null packages/ocaml-net/ocaml-net-lablgtk2.patch:1.1
--- /dev/null	Mon Jul 18 11:43:50 2011
+++ packages/ocaml-net/ocaml-net-lablgtk2.patch	Mon Jul 18 11:43:45 2011
@@ -0,0 +1,11 @@
+--- ocamlnet-3.3.4/configure~	2011-07-12 17:37:46.000000000 +0200
++++ ocamlnet-3.3.4/configure	2011-07-18 11:31:34.518459688 +0200
+@@ -629,7 +629,7 @@
+ EOF
+     # Note: this newer API is never broken in the sense checked below, i.e.
+     # such lablgtk2 versions do not exist.
+-    if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null && tmp/gtk; then
++    if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null; then
+         echo "yes"
+         gtk2_io_add_watch_supports_lists="-ppopt -DGTK2_IO_ADD_WATCH_SUPPORTS_LISTS"
+     else
================================================================


More information about the pld-cvs-commit mailing list