aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-05 17:00:40 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-05 17:00:40 +0000
commita009c47d48cec0cb4efda41c98f2c734f479c7fc (patch)
tree765b7727245e295ef16cb630ce470ca023cfdba6 /devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
parentce480365f542c33b72fa52d34e40eee4c11b5362 (diff)
downloadports-a009c47d48cec0cb4efda41c98f2c734f479c7fc.tar.gz
ports-a009c47d48cec0cb4efda41c98f2c734f479c7fc.zip
- Fix build with ocaml 3.09
- Add SHA256 - Bump PORTREVISION PR: ports/89963 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=150479
Diffstat (limited to 'devel/ocaml-ulex/files/patch-mk_pa_ulex.ml')
-rw-r--r--devel/ocaml-ulex/files/patch-mk_pa_ulex.ml9
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml b/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
new file mode 100644
index 000000000000..1932b4e5ace6
--- /dev/null
+++ b/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
@@ -0,0 +1,9 @@
+--- mk_pa_ulex.ml.orig Mon Dec 5 08:30:22 2005
++++ mk_pa_ulex.ml Mon Dec 5 08:30:33 2005
+@@ -1,5 +1,5 @@
+ let s = float_of_string (String.sub (Sys.ocaml_version) 0 4) in
+-if (s <= 3.09) then (
++if (s < 3.09) then (
+ print_endline "Old camlp4 (loc)";
+ Sys.command "sed s/_loc/loc/ < pa_ulex.ml.src > pa_ulex.ml"
+ )