summaryrefslogtreecommitdiff
path: root/community/clingo/PKGBUILD
blob: b41d5d415d374838d6e6c99e83b8e2a2b67ae7e8 (plain)
1
2
3
4
5
6
7
8
9
10
# see upstream: https://github.com/potassco/clingo/issues/57

source+=("clang-libatomic.patch::https://github.com/potassco/clasp/commit/fe3e176e2813956000bb947479de2c3d80fe34be.patch")
md5sums+=('d78671719de4e36653acf0ef28f890ae')

prepare() {
  cd $pkgname/clasp
  patch -p1 -i ../../clang-libatomic.patch
  find . -name '*.cpp' -type f -exec sed -i '/^#include <xlocale\.h>$/d' {} \;
}