Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-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.