-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I send a patch with the changes needed
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSzRZxAAoJEHui+4jWFHJLN1kIAKp/7fZeuQtoZB8Z4lqGCOLz
uh8t6ZGYBKCOqX9T/hact9nfZnum1UNoSUaV4i202HwsW6rxVjKAACXUSpjyHNP3
G8TTtcSTfyEkFUf9uqhjbcCup7Q3n0wpiPv1vaqTBu63P3q5hnpzZNSYR8RxB2jY
k2k9d1OkGqPsRlcGXTJr3p5P6IX0Jjfd2zvC9ExI5VRr78DTaIia4k44he45QmIg
8bE4AEI+P7mYnwyPs6P3U9H14xJhhSYB/czUinsr7dlTXSoxOS/fEnTb54wJR+ih
rC/SnJ+2IrlJtXBOJyKWY281CMIT47Ysomc1vBa6OMfY1UIo6Yw6dIWfecnUZGY=
=2y9Q
-----END PGP SIGNATURE-----
diff -Nru nodejs-0.10.24~dfsg1/debian/changelog nodejs-0.10.24~dfsg1/debian/changelog
--- nodejs-0.10.24~dfsg1/debian/changelog	2014-01-08 08:19:02.000000000 +0000
+++ nodejs-0.10.24~dfsg1/debian/changelog	2014-01-08 08:21:40.000000000 +0000
@@ -1,3 +1,10 @@
+nodejs (0.10.24~dfsg1-1ubuntu1) UNRELEASED; urgency=low
+
+  * debian/patches/fix_distribution.patch: show version in nodejs
+  * debian/control: added lsb-release as build dependency
+
+ -- Yolanda Robla <yolanda.ro...@canonical.com>  Wed, 08 Jan 2014 08:20:32 +0000
+
 nodejs (0.10.24~dfsg1-1) unstable; urgency=medium
 
   * Upstream update
diff -Nru nodejs-0.10.24~dfsg1/debian/control nodejs-0.10.24~dfsg1/debian/control
--- nodejs-0.10.24~dfsg1/debian/control	2014-01-08 08:19:02.000000000 +0000
+++ nodejs-0.10.24~dfsg1/debian/control	2014-01-08 08:22:16.000000000 +0000
@@ -20,7 +20,8 @@
  python,
  libv8-3.14-dev (>= 3.7),
  libssl-dev (>= 1.0.0g),
- libc-ares-dev (>= 1.7.5)
+ libc-ares-dev (>= 1.7.5),
+ lsb-release
 Standards-Version: 3.9.4
 Homepage: http://nodejs.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/nodejs.git
diff -Nru nodejs-0.10.24~dfsg1/debian/patches/2014_fix_distribution.patch nodejs-0.10.24~dfsg1/debian/patches/2014_fix_distribution.patch
--- nodejs-0.10.24~dfsg1/debian/patches/2014_fix_distribution.patch	1970-01-01 00:00:00.000000000 +0000
+++ nodejs-0.10.24~dfsg1/debian/patches/2014_fix_distribution.patch	2014-01-08 08:41:21.000000000 +0000
@@ -0,0 +1,22 @@
+--- a/node.gyp	2014-01-08 08:19:02.272696000 +0000
++++ b/node.gyp	2014-01-08 08:23:35.854997355 +0000
+@@ -144,6 +144,7 @@
+         'ARCH="<(target_arch)"',
+         'PLATFORM="<(OS)"',
+         'NODE_TAG="<(node_tag)"',
++        'NODE_DISTRIBUTION="<!(lsb_release -si)"',
+       ],
+ 
+       'conditions': [
+--- a/src/node_version.h	2014-01-08 08:19:02.272696000 +0000
++++ b/src/node_version.h	2014-01-08 08:25:42.334997355 +0000
+@@ -49,7 +49,7 @@
+                               NODE_TAG "-pre"
+ #endif
+ 
+-#define NODE_VERSION "v" NODE_VERSION_STRING
++#define NODE_VERSION "v" NODE_VERSION_STRING " (" NODE_DISTRIBUTION ")"
+ 
+ 
+ #define NODE_VERSION_AT_LEAST(major, minor, patch) \
+
diff -Nru nodejs-0.10.24~dfsg1/debian/patches/series nodejs-0.10.24~dfsg1/debian/patches/series
--- nodejs-0.10.24~dfsg1/debian/patches/series	2014-01-08 08:19:02.000000000 +0000
+++ nodejs-0.10.24~dfsg1/debian/patches/series	2014-01-08 08:24:25.000000000 +0000
@@ -9,3 +9,4 @@
 1002_increase_timeout_in_test.patch
 1003_test_disable_chunked_response.patch
 1004_test_writeNaN.patch
+2014_fix_distribution.patch

Attachment: nodejs_diff.patch.sig
Description: PGP signature

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

Reply via email to