[wyrd] fix patch

Till Maas till at fedoraproject.org
Mon Jul 23 21:48:03 UTC 2012


commit 0f212b66b9c93867f338bd06007564dcaf5f94d1
Author: Till Maas <opensource at till.name>
Date:   Mon Jul 23 23:47:56 2012 +0200

    fix patch

 wyrd-ocaml4_version_check.patch |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/wyrd-ocaml4_version_check.patch b/wyrd-ocaml4_version_check.patch
index dfcf653..4fe3dc0 100644
--- a/wyrd-ocaml4_version_check.patch
+++ b/wyrd-ocaml4_version_check.patch
@@ -1,12 +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
+diff -up wyrd-1.4.5/configure.ocaml4_version_check wyrd-1.4.5/configure
+--- wyrd-1.4.5/configure.ocaml4_version_check	2010-10-23 20:50:24.000000000 +0200
++++ wyrd-1.4.5/configure	2012-07-23 23:47:12.490594829 +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
++else if test $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