aboutsummaryrefslogtreecommitdiffstats
path: root/libs/minisat/00_PATCH_remove_zlib.patch
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2017-11-26 07:16:06 +0100
committerGitHub <noreply@github.com>2017-11-26 07:16:06 +0100
commitc22d0e1f53f0b1f3127f30a2fcb638a32cf9c58b (patch)
tree76702d368bb4945886b847cfbe0709d2549cc545 /libs/minisat/00_PATCH_remove_zlib.patch
parent8dd59bd72e47fffc9b7ab6cc91c76903ada363ff (diff)
parent1b231b442c576bacc5d25a35a5846f896394e2f1 (diff)
downloadyosys-c22d0e1f53f0b1f3127f30a2fcb638a32cf9c58b.tar.gz
yosys-c22d0e1f53f0b1f3127f30a2fcb638a32cf9c58b.tar.bz2
yosys-c22d0e1f53f0b1f3127f30a2fcb638a32cf9c58b.zip
Merge pull request #460 from mithro/g3-fixes
Bunch of small fixes
Diffstat (limited to 'libs/minisat/00_PATCH_remove_zlib.patch')
-rw-r--r--libs/minisat/00_PATCH_remove_zlib.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/minisat/00_PATCH_remove_zlib.patch b/libs/minisat/00_PATCH_remove_zlib.patch
index 61a36f7e5..068356b73 100644
--- a/libs/minisat/00_PATCH_remove_zlib.patch
+++ b/libs/minisat/00_PATCH_remove_zlib.patch
@@ -36,3 +36,20 @@
int operator * () const { return (pos >= size) ? EOF : buf[pos]; }
void operator ++ () { pos++; assureLookahead(); }
+--- Dimacs.h
++++ Dimacs.h
+@@ -76,10 +76,10 @@ static void parse_DIMACS_main(B& in, Solver& S, bool strictp = false) {
+
+ // Inserts problem into solver.
+ //
+-template<class Solver>
+-static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
+- StreamBuffer in(input_stream);
+- parse_DIMACS_main(in, S, strictp); }
++//template<class Solver>
++//static void parse_DIMACS(gzFile input_stream, Solver& S, bool strictp = false) {
++// StreamBuffer in(input_stream);
++// parse_DIMACS_main(in, S, strictp); }
+
+ //=================================================================================================
+ }