aboutsummaryrefslogtreecommitdiffstats
path: root/community/fwupd/fix-version.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-24 21:41:50 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-24 22:07:41 +0100
commit744fbf64b6a7f549c386ecaba4cc81356e46a1a9 (patch)
treeeb0ac8743c5e730c04373e5bed814addbaf0d444 /community/fwupd/fix-version.patch
parent45b3ba1561058086b207a97b21fa486e009e6f2f (diff)
downloadaports-744fbf64b6a7f549c386ecaba4cc81356e46a1a9.tar.bz2
aports-744fbf64b6a7f549c386ecaba4cc81356e46a1a9.tar.xz
community/fwupd: upgrade to 1.3.4
Diffstat (limited to 'community/fwupd/fix-version.patch')
-rw-r--r--community/fwupd/fix-version.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/fwupd/fix-version.patch b/community/fwupd/fix-version.patch
new file mode 100644
index 0000000000..37e6759dd4
--- /dev/null
+++ b/community/fwupd/fix-version.patch
@@ -0,0 +1,17 @@
+get_version_git() uses git describe which describes the aports repo, it is supposed to fail and use get_version() instead
+
+diff --git a/contrib/get-version.py b/contrib/get-version.py
+index 0a678ca..f6fe0d7 100755
+--- a/contrib/get-version.py
++++ b/contrib/get-version.py
+@@ -39,9 +39,4 @@ def get_version():
+
+ if __name__ == '__main__':
+
+- version = get_version_git()
+- if version:
+- version = sanitize_for_ci(version)
+- else:
+- version = get_version()
+- print(version)
++ print(get_version())