diff --git a/gnu/local.mk b/gnu/local.mk index 3e0ab25a95..acbe99d34b 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -709,6 +709,7 @@ dist_patch_DATA = \ %D%/packages/patches/antiword-CVE-2014-8123.patch \ %D%/packages/patches/antlr3-3_1-fix-java8-compilation.patch \ %D%/packages/patches/antlr3-3_3-fix-java8-compilation.patch \ + %D%/packages/patches/appstream-glib-2020.patch \ %D%/packages/patches/apr-skip-getservbyname-test.patch \ %D%/packages/patches/arm-trusted-firmware-disable-hdcp.patch \ %D%/packages/patches/arm-trusted-firmware-optional-bin-generation.patch \ diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm index 528b67e6cf..72d5ea0bdd 100644 --- a/gnu/packages/glib.scm +++ b/gnu/packages/glib.scm @@ -904,6 +904,7 @@ programming language. It also contains the utility (uri (string-append "https://people.freedesktop.org/~hughsient/" "appstream-glib/releases/" "appstream-glib-" version ".tar.xz")) + (patches (search-patches "appstream-glib-2020.patch")) (sha256 (base32 "14jr1psx5kxywdprgbqn79w309yz8lrqlsq7288hfrf87gbr1wh4")))) diff --git a/gnu/packages/patches/appstream-glib-2020.patch b/gnu/packages/patches/appstream-glib-2020.patch new file mode 100644 index 0000000000..ab8a4bbdee --- /dev/null +++ b/gnu/packages/patches/appstream-glib-2020.patch @@ -0,0 +1,31 @@ +2020 is no longer the future. + +Taken from upstream: +https://github.com/hughsie/appstream-glib/commit/953c8e529d7291e60a95e580967ed79ce2c9ccf0 + +diff --git a/data/tests/broken.appdata.xml b/data/tests/broken.appdata.xml +index f7a5386e..cf80f5b4 100644 +--- a/data/tests/broken.appdata.xml ++++ b/data/tests/broken.appdata.xml +@@ -40,7 +40,7 @@ +
This is a duplicate release on the same day!
+ + +-This is a release in the future!
+