aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ocaml-react/fix-safe-string.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-07-07 18:26:38 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-07-07 18:41:29 +0200
commit30b8ce58306e9e1c384a77477e9ee4bcf21ff7e6 (patch)
tree3f8a2bc78084b1536f76571109c173c596ac8abc /testing/ocaml-react/fix-safe-string.patch
parentc5476139ab838bbaea8b7a1ca8ef24650ebc608b (diff)
downloadaports-30b8ce58306e9e1c384a77477e9ee4bcf21ff7e6.tar.bz2
aports-30b8ce58306e9e1c384a77477e9ee4bcf21ff7e6.tar.xz
testing/ocaml-react: upgrade to 1.2.1
Diffstat (limited to 'testing/ocaml-react/fix-safe-string.patch')
-rw-r--r--testing/ocaml-react/fix-safe-string.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/testing/ocaml-react/fix-safe-string.patch b/testing/ocaml-react/fix-safe-string.patch
deleted file mode 100644
index 5a9ee3e2a5..0000000000
--- a/testing/ocaml-react/fix-safe-string.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix for compatibility with ocaml >=4.06
-
-Patch-Source: https://src.fedoraproject.org/rpms/ocaml-react/blob/f28/f/react-1.2.0-safe-string-fix.patch
-
---- a/test/breakout.ml
-+++ b/test/breakout.ml
-@@ -136,9 +136,9 @@
- let time, send_time = E.create ()
- let key, send_key = E.create ()
- let gather () = (* updates primitive events. *)
-- let c = " " in
-+ let c = Bytes.of_string " " in
- let i = Unix.stdin in
-- let input_char i = ignore (Unix.read i c 0 1); c.[0] in
-+ let input_char i = ignore (Unix.read i c 0 1); Bytes.get c 0 in
- let dt = 0.1 in
- while true do
- if Unix.select [i] [] [] dt = ([i], [], []) then send_key (input_char i);