Replace patch with the version applied upstream in 2017.12

This commit is contained in:
Simon McVittie 2017-09-19 10:37:36 +01:00
parent cf3a575772
commit de005a58e6
3 changed files with 16 additions and 7 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
ostree (2017.11-2) UNRELEASED; urgency=medium
* Replace patch with the version applied upstream in 2017.12
-- Simon McVittie <smcv@debian.org> Tue, 19 Sep 2017 10:37:12 +0100
ostree (2017.11-1) unstable; urgency=medium
* New upstream release

View File

@ -1,25 +1,28 @@
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 15 Sep 2017 15:32:55 +0100
Subject: Fix JavaScript tests with gjs 1.50.0
Subject: tests: Fix JavaScript tests with gjs 1.50.0
In recent gjs, you can't declare a variable with "let" multiple times.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Closes: #1178
Approved by: cgwalters
Forwarded: https://github.com/ostreedev/ostree/pull/1178
Applied-upstream: 2017.12, commit:1b430a776486d68be2d16a0ec53ad5512c604988
---
tests/corrupt-repo-ref.js | 2 +-
tests/corrupt-repo-ref.js | 1 -
tests/test-sysroot.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/corrupt-repo-ref.js b/tests/corrupt-repo-ref.js
index c5f2806..a2085f3 100755
index c5f2806..bcde86b 100755
--- a/tests/corrupt-repo-ref.js
+++ b/tests/corrupt-repo-ref.js
@@ -47,7 +47,7 @@ function listObjectChecksumsRecurse(dir, allObjects) {
@@ -47,7 +47,6 @@ function listObjectChecksumsRecurse(dir, allObjects) {
e.close(null);
}
-let [,commit] = repo.resolve_rev(refToCorrupt, false);
+repo.resolve_rev(refToCorrupt, false);
let [,root,commit] = repo.read_commit(refToCorrupt, null);
let allObjects = {};
allObjects[commit + '.commit'] = true;

View File

@ -1 +1 @@
Fix-JavaScript-tests-with-gjs-1.50.0.patch
2017.12/tests-Fix-JavaScript-tests-with-gjs-1.50.0.patch