[wyrd] add missing patch

Till Maas till at fedoraproject.org
Mon Jul 23 21:36:58 UTC 2012


commit b7c0f01217739c84009876b6d555ab718dd7f98a
Author: Till Maas <opensource at till.name>
Date:   Mon Jul 23 23:36:41 2012 +0200

    add missing patch

 wyrd-ocaml4_version_check.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/wyrd-ocaml4_version_check.patch b/wyrd-ocaml4_version_check.patch
new file mode 100644
index 0000000..dfcf653
--- /dev/null
+++ b/wyrd-ocaml4_version_check.patch
@@ -0,0 +1,12 @@
+diff -up wyrd-1.4.5/configure.ocaml_version_check wyrd-1.4.5/configure
+--- wyrd-1.4.5/configure.ocaml_version_check	2012-07-23 23:16:13.453756304 +0200
++++ wyrd-1.4.5/configure	2012-07-23 23:16:52.010457590 +0200
+@@ -1790,7 +1790,7 @@ OCAMLMAJORVERSION=`echo $OCAMLVERSION |
+ OCAMLMINORVERSION=`echo $OCAMLVERSION | cut -d '.' -f 2`
+ if test $OCAMLMAJORVERSION -lt 3 ; then
+    as_fn_error "Wyrd requires OCaml version 3.08 or greater." "$LINENO" 5
+-else
++else if $OCAMLMAJORVERSION == 3 ; then
+    if test $OCAMLMINORVERSION -lt 8 ; then
+       as_fn_error "Wyrd requires OCaml version 3.08 or greater." "$LINENO" 5
+    fi


More information about the scm-commits mailing list