pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/eliom Added patch to www/eliom, and revbump.
details: https://anonhg.NetBSD.org/pkgsrc/rev/27b89078b00e
branches: trunk
changeset: 383993:27b89078b00e
user: jaapb <jaapb%pkgsrc.org@localhost>
date: Wed Aug 15 13:51:50 2018 +0000
description:
Added patch to www/eliom, and revbump.
This is a patch from an upstream pull request (#577) without which
compiled JavaScript does not run.
diffstat:
www/eliom/Makefile | 4 ++--
www/eliom/distinfo | 3 ++-
www/eliom/patches/patch-src_lib_client_eliom__client.js | 17 +++++++++++++++++
3 files changed, 21 insertions(+), 3 deletions(-)
diffs (51 lines):
diff -r e4289fc46aab -r 27b89078b00e www/eliom/Makefile
--- a/www/eliom/Makefile Wed Aug 15 13:08:35 2018 +0000
+++ b/www/eliom/Makefile Wed Aug 15 13:51:50 2018 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.22 2018/07/19 15:15:30 jaapb Exp $
+# $NetBSD: Makefile,v 1.23 2018/08/15 13:51:50 jaapb Exp $
#
GITHUB_PROJECT= eliom
DISTNAME= ${GITHUB_PROJECT}-6.3.0
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocsigen/}
diff -r e4289fc46aab -r 27b89078b00e www/eliom/distinfo
--- a/www/eliom/distinfo Wed Aug 15 13:08:35 2018 +0000
+++ b/www/eliom/distinfo Wed Aug 15 13:51:50 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2018/06/06 08:34:35 jaapb Exp $
+$NetBSD: distinfo,v 1.11 2018/08/15 13:51:50 jaapb Exp $
SHA1 (eliom-6.3.0.tar.gz) = dcb78ec42965d626f6891c5f01249a2afa29a820
RMD160 (eliom-6.3.0.tar.gz) = 98e8c64beb41a130d2e38959986285a074a04f79
@@ -7,4 +7,5 @@
SHA1 (patch-pkg_META) = 979a5332ac6aafb909e6664d01c3bd6c3c551dc7
SHA1 (patch-pkg_build.ml) = 8597e17fc869b7a8e93ee30f551a92c694617dbc
SHA1 (patch-src__tags) = 5aff5c25080159e71847ca4caffb53641c5e2811
+SHA1 (patch-src_lib_client_eliom__client.js) = 9b12dcd6dae9f554c6c81cefc4e548fbbd163978
SHA1 (patch-src_lib_eliom__client.client.ml) = e66600dcf8011d3833756ea25f7e1884fd090815
diff -r e4289fc46aab -r 27b89078b00e www/eliom/patches/patch-src_lib_client_eliom__client.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/eliom/patches/patch-src_lib_client_eliom__client.js Wed Aug 15 13:51:50 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_lib_client_eliom__client.js,v 1.1 2018/08/15 13:51:50 jaapb Exp $
+
+Use caml_jsbytes (from upstream pull request #577)
+--- src/lib/client/eliom_client.js.orig 2018-02-08 14:30:46.000000000 +0000
++++ src/lib/client/eliom_client.js
+@@ -3,9 +3,9 @@
+ //Provides: caml_unwrap_value_from_string mutable
+ //Requires: caml_failwith, caml_marshal_constants
+ //Requires: caml_int64_float_of_bits, caml_int64_of_bytes, caml_new_string
+-//Requires: caml_bytes_of_string
++//Requires: caml_jsbytes_of_string
+ var caml_unwrap_value_from_string = function (){
+- function StringReader (s, i) { this.s = caml_bytes_of_string(s); this.i = i; }
++ function StringReader (s, i) { this.s = caml_jsbytes_of_string(s); this.i = i; }
+ StringReader.prototype = {
+ read8u:function () { return this.s.charCodeAt(this.i++); },
+ read8s:function () { return this.s.charCodeAt(this.i++) << 24 >> 24; },
Home |
Main Index |
Thread Index |
Old Index