pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/eliom



Module Name:    pkgsrc
Committed By:   jaapb
Date:           Wed Aug 15 13:51:50 UTC 2018

Modified Files:
        pkgsrc/www/eliom: Makefile distinfo
Added Files:
        pkgsrc/www/eliom/patches: patch-src_lib_client_eliom__client.js

Log Message:
Added patch to www/eliom, and revbump.

This is a patch from an upstream pull request (#577) without which
compiled JavaScript does not run.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/www/eliom/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/eliom/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/eliom/patches/patch-src_lib_client_eliom__client.js

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/eliom/Makefile
diff -u pkgsrc/www/eliom/Makefile:1.22 pkgsrc/www/eliom/Makefile:1.23
--- pkgsrc/www/eliom/Makefile:1.22      Thu Jul 19 15:15:30 2018
+++ pkgsrc/www/eliom/Makefile   Wed Aug 15 13:51:50 2018
@@ -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/}
 

Index: pkgsrc/www/eliom/distinfo
diff -u pkgsrc/www/eliom/distinfo:1.10 pkgsrc/www/eliom/distinfo:1.11
--- pkgsrc/www/eliom/distinfo:1.10      Wed Jun  6 08:34:35 2018
+++ pkgsrc/www/eliom/distinfo   Wed Aug 15 13:51:50 2018
@@ -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 @@ Size (eliom-6.3.0.tar.gz) = 728342 bytes
 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

Added files:

Index: pkgsrc/www/eliom/patches/patch-src_lib_client_eliom__client.js
diff -u /dev/null pkgsrc/www/eliom/patches/patch-src_lib_client_eliom__client.js:1.1
--- /dev/null   Wed Aug 15 13:51:50 2018
+++ pkgsrc/www/eliom/patches/patch-src_lib_client_eliom__client.js      Wed Aug 15 13:51:50 2018
@@ -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