Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-27 20:32:51 +0200
committerErich Eckner <git@eckner.net>2017-09-27 20:32:51 +0200
commit3c69e8ca568a5fecf8cb493efb2365f47b558b9d (patch)
treef9a2df4a9435174c678e36e3946d700807633b2a
parentd6774c0d0287cb24313d10680a0db87c2976cb9a (diff)
community/clingo: fix patch
-rw-r--r--community/clingo/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/community/clingo/PKGBUILD b/community/clingo/PKGBUILD
index cf5c4a59..b41d5d41 100644
--- a/community/clingo/PKGBUILD
+++ b/community/clingo/PKGBUILD
@@ -1,9 +1,10 @@
# see upstream: https://github.com/potassco/clingo/issues/57
source+=("clang-libatomic.patch::https://github.com/potassco/clasp/commit/fe3e176e2813956000bb947479de2c3d80fe34be.patch")
-sha256sums+=('222b535ffd761c07c3652a3025180bcfb1f1b7504d7353048d5ce485a84c1a27')
+md5sums+=('d78671719de4e36653acf0ef28f890ae')
prepare() {
- cd $pkgname-$pkgver/clasp
+ cd $pkgname/clasp
patch -p1 -i ../../clang-libatomic.patch
+ find . -name '*.cpp' -type f -exec sed -i '/^#include <xlocale\.h>$/d' {} \;
}