[Pkg-javascript-devel] RFS: node-yn

2018-04-06 Thread Paolo Greppi
Hi, I have packaged node-yn:
https://salsa.debian.org/js-team/node-yn

This is the ITP:
https://bugs.debian.org/886843

Please someone sponsor the upload.

Paolo

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] RFS: node-babel-plugin-transform-inline-imports-commonjs

2018-04-06 Thread Paolo Greppi
Hi, I have packaged node-babel-plugin-transform-inline-imports-commonjs:
https://salsa.debian.org/js-team/node-babel-plugin-transform-inline-imports-commonjs

This is the ITP:
https://bugs.debian.org/886844

Please someone sponsor the upload.

Paolo

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel


[Pkg-javascript-devel] Bug#895029: node-stringprep: FTBFS with recent GCC

2018-04-06 Thread Graham Inggs

Source: node-stringprep
Version: 0.8.0-3
Tags: patch buster sid

Hi Jonas

While rebuilding node-stringprep for the nodejs-abi-57 in Ubuntu, it 
FTBFS with a recent version of GCC.  I found a pull request against 
upstream's github which fixed the build and I have attached it here.


According to reproducible builds' logs [1], node-stringprep hasn't 
failed for this reason yet, but it hasn't be tried since 2018-02-20.  It 
is failing in Buster for a different reason though.


Regards
Graham


[1] 
https://tests.reproducible-builds.org/debian/history/amd64/node-stringprep.html
Description: Fixed compilation errors by adding casts
Forwarded: https://github.com/astro/node-stringprep/pull/96/commits/fa08ad0da41bfc11e82b703c4ba26fee9481591f
Author: James Bunton 
Last-Update: 2017-09-04

--- a/node-stringprep.cc
+++ b/node-stringprep.cc
@@ -119,7 +119,7 @@
 error = U_ZERO_ERROR;
 dest = new UChar[destLen];
 size_t w = usprep_prepare(profile,
-  *str, str.length(),
+  (const UChar*)*str, str.length(),
   dest, destLen,
   USPREP_DEFAULT, NULL, );
 
@@ -141,7 +141,7 @@
   destLen = w;
   }
 
-Local result = Nan::New(dest, destLen).ToLocalChecked();
+Local result = Nan::New((uint16_t*)dest, destLen).ToLocalChecked();
 delete[] dest;
 return scope.Escape(result);
   }
@@ -212,7 +212,7 @@
 UIDNAInfo uinfo = UIDNA_INFO_INITIALIZER;
 size_t w = uidna_nameToUnicode(
   uidna,
-  *str, str.length(),
+  (const UChar*)*str, str.length(),
   dest, destLen,
   , );
 
@@ -235,7 +235,7 @@
   destLen = w;
   }
 
-Local result = Nan::New(dest, destLen).ToLocalChecked();
+Local result = Nan::New((uint16_t*)dest, destLen).ToLocalChecked();
 delete[] dest;
 uidna_close(uidna);
 info.GetReturnValue().Set(result);
@@ -266,7 +266,7 @@
 UIDNAInfo uinfo1 = UIDNA_INFO_INITIALIZER;
 size_t destLen = uidna_nameToASCII(
   uidna,
-  *str, strLen,
+  (const UChar*)*str, strLen,
   NULL, 0,
   , );
 UChar *dest = NULL;
@@ -278,7 +278,7 @@
 UIDNAInfo uinfo2 = UIDNA_INFO_INITIALIZER;
 uidna_nameToASCII(
   uidna,
-  *str, strLen,
+  (const UChar*)*str, strLen,
   dest, destLen,
   , );
 if (U_SUCCESS(error) && uinfo2.errors > 0)
@@ -295,7 +295,7 @@
 return;
   }
 
-Local result = Nan::New(dest, destLen).ToLocalChecked();
+Local result = Nan::New((uint16_t*)dest, destLen).ToLocalChecked();
 delete[] dest;
 uidna_close(uidna);
 info.GetReturnValue().Set(result);
-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel