From c6b3f4e0896a4447bad94d816c8677d01cea1e75 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 21 Jul 2014 01:00:39 +0200 Subject: [PATCH] Using relative path names in minisat headers --- libs/minisat/UPDATE.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/minisat/UPDATE.sh b/libs/minisat/UPDATE.sh index 68c7c60ee..fa72ba213 100644 --- a/libs/minisat/UPDATE.sh +++ b/libs/minisat/UPDATE.sh @@ -6,7 +6,7 @@ rm minisat_upstream/minisat/*/Main.cc mv minisat_upstream/LICENSE minisat_upstream/minisat/*/*.{h,cc} . rm -rf minisat_upstream -sed -i -e 's,^#include *"minisat/[^/]\+,#include "libs/minisat,' *.cc *.h +sed -i -e 's,^#include *"minisat/[^/]\+/\?,#include ",' *.cc *.h sed -i -e 's/Minisat::memUsedPeak()/Minisat::memUsedPeak(bool)/' System.cc sed -i -e 's/PRI[iu]64/ & /' Options.h Solver.cc sed -i -e '1 i #define __STDC_LIMIT_MACROS' *.cc -- 2.30.2