pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ocaml-deriving-ocsigen Removed outdated patch fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4984d7527ab4
branches:  trunk
changeset: 378505:4984d7527ab4
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Apr 09 11:33:19 2018 +0000

description:
Removed outdated patch from devel/ocaml-deriving-ocsigen

This was an old compatibility patch superseded by upstream changes.

diffstat:

 devel/ocaml-deriving-ocsigen/distinfo                                |   3 +-
 devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__interned.ml |  26 ----------
 2 files changed, 1 insertions(+), 28 deletions(-)

diffs (42 lines):

diff -r 783aaa8e6800 -r 4984d7527ab4 devel/ocaml-deriving-ocsigen/distinfo
--- a/devel/ocaml-deriving-ocsigen/distinfo     Mon Apr 09 11:30:14 2018 +0000
+++ b/devel/ocaml-deriving-ocsigen/distinfo     Mon Apr 09 11:33:19 2018 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.8 2018/04/09 07:48:54 jaapb Exp $
+$NetBSD: distinfo,v 1.9 2018/04/09 11:33:19 jaapb Exp $
 
 SHA1 (deriving-0.8.1.tar.gz) = 1f5265bdf178254d6d89162a476716a06e0c3c7b
 RMD160 (deriving-0.8.1.tar.gz) = 893024122d05978a7dd8786ead7af2be7fb279bb
 SHA512 (deriving-0.8.1.tar.gz) = c12eba7044cd28166b02c23f51a3244878a056285ebe7ae00fe4d432675d82fb7a9b630f5f1e5bc96408f928e6ba6ce8de38ca15e9651d89eb80616a3afb1f66
 Size (deriving-0.8.1.tar.gz) = 68596 bytes
-SHA1 (patch-lib_deriving__interned.ml) = f261797e7987bbafdaddfed23002a0c54b3bf7ff
diff -r 783aaa8e6800 -r 4984d7527ab4 devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__interned.ml
--- a/devel/ocaml-deriving-ocsigen/patches/patch-lib_deriving__interned.ml      Mon Apr 09 11:30:14 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-lib_deriving__interned.ml,v 1.1 2018/01/10 14:57:35 jaapb Exp $
-
-Patch to compile with safe-string.
---- lib/deriving_interned.ml.orig      2016-05-25 16:51:52.000000000 +0000
-+++ lib/deriving_interned.ml
-@@ -14,15 +14,16 @@ type t = int * string
-     deriving (Show)
- 
- let intern s =
--  try BytesMap.find s !map
-+      let bs = Bytes.of_string s in
-+  try BytesMap.find bs !map
-   with Not_found ->
--    let fresh = (!counter, Bytes.of_string s) in begin
--      map := BytesMap.add s fresh !map;
-+    let fresh = (!counter, s) in begin
-+      map := BytesMap.add bs fresh !map;
-       incr counter;
-       fresh
-     end
- 
--let to_string (_,s) = Bytes.to_string s
-+let to_string (_,s) = s
- let name = snd
- let compare (l,_) (r,_) = compare l r
- let eq (l,_) (r,_) = l = r



Home | Main Index | Thread Index | Old Index