From 56f6ab488c213bd54acbe33aae23c57f6543be9b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 25 Nov 2018 18:00:18 +0100 Subject: community/hq: added patch for compiling on 32-bit --- community/hq/PKGBUILD | 7 +++++++ community/hq/hq-ia32.patch | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 community/hq/PKGBUILD create mode 100644 community/hq/hq-ia32.patch (limited to 'community/hq') diff --git a/community/hq/PKGBUILD b/community/hq/PKGBUILD new file mode 100644 index 00000000..4e22d247 --- /dev/null +++ b/community/hq/PKGBUILD @@ -0,0 +1,7 @@ +# see upstream https://github.com/coderobe/hq/pull/1 +source+=('hq-ia32.patch') +md5sums+=('3cecc7f3b1bbe96f6c3a1609730ba574') +prepare() { + cd "${pkgname}" + patch -Np1 -i ../hq-ia32.patch +} diff --git a/community/hq/hq-ia32.patch b/community/hq/hq-ia32.patch new file mode 100644 index 00000000..07a924e0 --- /dev/null +++ b/community/hq/hq-ia32.patch @@ -0,0 +1,12 @@ +diff -rauN hq/main.cpp hq-ia32-patch/main.cpp +--- hq/main.cpp 2018-11-25 17:00:49.731669567 +0100 ++++ hq-ia32-patch/main.cpp 2018-11-25 17:01:32.498826389 +0100 +@@ -51,7 +51,7 @@ + static const string afmt_s = "\033["; + static const string afmt_e = "m"; + static const vector collapsible = {' ', '\t', '\n', '\r'}; +-static const vector breaking = { ++static const vector breaking = { + MyHTML_TAG_BR, + MyHTML_TAG_P + }; -- cgit v1.2.3-70-g09d2