From 941fbac5a0868c48d80a3798612d543ec5187ea0 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 15 Mar 2018 15:48:21 +0100 Subject: extra/liferea: backport of 32-bit patch --- extra/liferea/PKGBUILD | 11 +++++++++++ ...liferea-1.12.2-32-bit-date_format-prototype-gint64.patch | 13 +++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 extra/liferea/PKGBUILD create mode 100644 extra/liferea/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch (limited to 'extra') diff --git a/extra/liferea/PKGBUILD b/extra/liferea/PKGBUILD new file mode 100644 index 00000000..25ac76f1 --- /dev/null +++ b/extra/liferea/PKGBUILD @@ -0,0 +1,11 @@ +# 1.2.2 issue on 32-bit, fixed upstream, see: +# https://github.com/lwindolf/liferea/issues/616 +# https://github.com/lwindolf/liferea/pull/615 + +source+=('liferea-1.12.2-32-bit-date_format-prototype-gint64.patch') +sha256sums+=('f5a7ee0fadb232be90812e54719ebdc3dcc1d016943d7edfbaad871fc39c45b0') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i "$srcdir/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch" +} diff --git a/extra/liferea/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch b/extra/liferea/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch new file mode 100644 index 00000000..15f9d60f --- /dev/null +++ b/extra/liferea/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch @@ -0,0 +1,13 @@ +diff --git a/src/date.h b/src/date.h +index a47bafaa..bf991dfb 100644 +--- a/src/date.h ++++ b/src/date.h +@@ -34,7 +34,7 @@ + * + * @returns a newly allocated formatted date string (encoded in UTF-8) + */ +-gchar * date_format (time_t date, const gchar *date_format); ++gchar * date_format (gint64 date, const gchar *date_format); + + /** + * Parses a ISO8601 date. -- cgit v1.2.3-70-g09d2