summaryrefslogtreecommitdiff
path: root/network/Signal-Desktop/expirejs.patch
diff options
context:
space:
mode:
authorRodrigo Gimenez <estrod[at]zoho[dot]com>2017-04-03 19:20:39 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:02:58 +0700
commit94bc6073ef117decbe2592b99370bea9ba637a08 (patch)
tree0f01fd2a821a8f7de1937e7e0104d63ee838e96f /network/Signal-Desktop/expirejs.patch
parent219ce90f0cfc06c68c011026485a39efbbb8d893 (diff)
downloadslackbuilds-94bc6073ef117decbe2592b99370bea9ba637a08.tar.gz
network/Signal-Desktop: Updated for version 0.34.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/Signal-Desktop/expirejs.patch')
-rw-r--r--network/Signal-Desktop/expirejs.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/Signal-Desktop/expirejs.patch b/network/Signal-Desktop/expirejs.patch
new file mode 100644
index 0000000000..0cbf1593e0
--- /dev/null
+++ b/network/Signal-Desktop/expirejs.patch
@@ -0,0 +1,17 @@
+diff -bur Signal-Desktop-0.34.0/Gruntfile.js Signal-Desktop-0.34.0-fix/Gruntfile.js
+--- Signal-Desktop-0.34.0/Gruntfile.js 2017-03-30 19:12:25.000000000 -0300
++++ Signal-Desktop-0.34.0-fix/Gruntfile.js 2017-04-01 08:58:49.662938344 -0300
+@@ -127,9 +127,10 @@
+ /textsecure-service-staging.whispersystems.org/g,
+ 'textsecure-service-ca.whispersystems.org');
+ } else if (srcpath.match('expire.js')) {
+- var gitinfo = grunt.config.get('gitinfo');
+- var commited = gitinfo.local.branch.current.lastCommitTime;
+- var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90;
++ //var gitinfo = grunt.config.get('gitinfo');
++ //var commited = gitinfo.local.branch.current.lastCommitTime;
++ //var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90;
++ var time = NaN;
+ return content.replace(
+ /var BUILD_EXPIRATION = 0/,
+ "var BUILD_EXPIRATION = " + time