summaryrefslogtreecommitdiff
path: root/extra/liferea
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-15 15:48:21 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-15 15:48:21 +0100
commit941fbac5a0868c48d80a3798612d543ec5187ea0 (patch)
tree376de2b781804ebb1ab1b6ea7d6fa39d453407d4 /extra/liferea
parentb9d4cd0fc27791cfca06862ec4541f688f1d1df0 (diff)
downloadpackages-941fbac5a0868c48d80a3798612d543ec5187ea0.tar.xz
extra/liferea: backport of 32-bit patch
Diffstat (limited to 'extra/liferea')
-rw-r--r--extra/liferea/PKGBUILD11
-rw-r--r--extra/liferea/liferea-1.12.2-32-bit-date_format-prototype-gint64.patch13
2 files changed, 24 insertions, 0 deletions
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.