# 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 $/d' {} \; }