Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/nusmv/files/
Date: Wed, 01 Feb 2017 22:41:37
Message-Id: 1485988765.780124247d0b04dea820d7b44790893023ee650d.soap@gentoo
1 commit: 780124247d0b04dea820d7b44790893023ee650d
2 Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Feb 1 18:44:53 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 1 22:39:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78012424
7
8 sci-mathematics/nusmv: remove unused patches
9
10 Closes: https://github.com/gentoo/gentoo/pull/3764
11
12 .../nusmv/files/MiniSat_v1.14-optimizedlib.patch | 44 -----------
13 .../nusmv/files/MiniSat_v1.14_gcc41.patch | 92 ----------------------
14 sci-mathematics/nusmv/files/cudd-no-pentium4.patch | 11 ---
15 3 files changed, 147 deletions(-)
16
17 diff --git a/sci-mathematics/nusmv/files/MiniSat_v1.14-optimizedlib.patch b/sci-mathematics/nusmv/files/MiniSat_v1.14-optimizedlib.patch
18 deleted file mode 100644
19 index a291339..00000000
20 --- a/sci-mathematics/nusmv/files/MiniSat_v1.14-optimizedlib.patch
21 +++ /dev/null
22 @@ -1,44 +0,0 @@
23 -diff -Nuar MiniSat_v1.14/Makefile MiniSat_v1.14.new/Makefile
24 ---- MiniSat_v1.14/Makefile 2006-04-02 01:33:46.000000000 -0800
25 -+++ MiniSat_v1.14.new/Makefile 2006-04-02 01:31:39.000000000 -0800
26 -@@ -26,10 +26,11 @@
27 - RANLIB = ranlib
28 - AR = ar
29 -
30 --.PHONY : ls s p d r build clean depend
31 -+.PHONY : lr ls s p d r build clean depend
32 -
33 - s: WAY=standard
34 - ls: WAY=standard
35 -+lr: WAY=release
36 - p: WAY=profile
37 - d: WAY=debug
38 - r: WAY=release
39 -@@ -38,8 +39,7 @@
40 - s: CFLAGS+=$(COPTIMIZE) -ggdb -D DEBUG
41 - p: CFLAGS+=$(COPTIMIZE) -pg -ggdb -D DEBUG
42 - d: CFLAGS+=-O0 -ggdb -D DEBUG
43 --r: CFLAGS+=$(COPTIMIZE) -D NDEBUG
44 --rs: CFLAGS+=$(COPTIMIZE) -D NDEBUG
45 -+r rs ls lr: CFLAGS+=$(COPTIMIZE) -D NDEBUG
46 -
47 - s: build $(EXEC)
48 - p: build $(EXEC)_profile
49 -@@ -48,7 +48,7 @@
50 - rs: build $(EXEC)_static
51 -
52 - s: CFLAGS+=$(COPTIMIZE) -ggdb -D DEBUG
53 --ls: lbuild $(LIB)_s
54 -+ls lr: lbuild $(LIB)_s
55 -
56 - build:
57 - @echo Building $(EXEC) "("$(WAY)")"
58 -@@ -63,7 +63,7 @@
59 - ## Build rule
60 - %.o %.op %.od %.or: %.C
61 - @echo Compiling: $<
62 -- @$(CXX) $(CFLAGS) -c -o $@ $<
63 -+ $(CXX) $(CFLAGS) -c -o $@ $<
64 -
65 - ## Linking rules (standard/profile/debug/release)
66 - $(EXEC): $(COBJS)
67
68 diff --git a/sci-mathematics/nusmv/files/MiniSat_v1.14_gcc41.patch b/sci-mathematics/nusmv/files/MiniSat_v1.14_gcc41.patch
69 deleted file mode 100644
70 index dd5856a..00000000
71 --- a/sci-mathematics/nusmv/files/MiniSat_v1.14_gcc41.patch
72 +++ /dev/null
73 @@ -1,92 +0,0 @@
74 -Index: MiniSat/MiniSat_v1.14/SolverTypes.h
75 -===================================================================
76 ---- MiniSat/MiniSat_v1.14/SolverTypes.h (revision 1040)
77 -+++ MiniSat/MiniSat_v1.14/SolverTypes.h (working copy)
78 -@@ -42,19 +42,32 @@
79 - public:
80 - Lit() : x(2*var_Undef) {} // (lit_Undef)
81 - explicit Lit(Var var, bool sign = false) : x((var+var) + (int)sign) { }
82 -- friend Lit operator ~ (Lit p) { Lit q; q.x = p.x ^ 1; return q; }
83 -+ friend Lit operator ~ (Lit p);
84 -
85 -- friend bool sign (Lit p) { return p.x & 1; }
86 -- friend int var (Lit p) { return p.x >> 1; }
87 -- friend int index (Lit p) { return p.x; } // A "toInt" method that guarantees small, positive integers suitable for array indexing.
88 -- friend Lit toLit (int i) { Lit p; p.x = i; return p; } // Inverse of 'index()'.
89 -- friend Lit unsign(Lit p) { Lit q; q.x = p.x & ~1; return q; }
90 -- friend Lit id (Lit p, bool sgn) { Lit q; q.x = p.x ^ (int)sgn; return q; }
91 -+ friend bool sign (Lit p);
92 -+ friend int var (Lit p);
93 -+ friend int index (Lit p); // A "toInt" method that guarantees small, positive integers suitable for array indexing.
94 -+ friend Lit toLit (int i); // Inverse of 'index()'.
95 -+ friend Lit unsign(Lit p);
96 -+ friend Lit id (Lit p, bool sgn);
97 -
98 -- friend bool operator == (Lit p, Lit q) { return index(p) == index(q); }
99 -- friend bool operator < (Lit p, Lit q) { return index(p) < index(q); } // '<' guarantees that p, ~p are adjacent in the ordering.
100 -+ friend bool operator == (Lit p, Lit q);
101 -+ friend bool operator < (Lit p, Lit q); // '<' guarantees that p, ~p are adjacent in the ordering.
102 - };
103 -
104 -+inline Lit operator ~ (Lit p) { Lit q; q.x = p.x ^ 1; return q; }
105 -+
106 -+inline bool sign (Lit p) { return p.x & 1; }
107 -+inline int var (Lit p) { return p.x >> 1; }
108 -+inline int index (Lit p) { return p.x; } // A "toInt" method that guarantees small, positive integers suitable for array indexing.
109 -+inline Lit toLit (int i) { Lit p; p.x = i; return p; } // Inverse of 'index()'.
110 -+inline Lit unsign(Lit p) { Lit q; q.x = p.x & ~1; return q; }
111 -+inline Lit id (Lit p, bool sgn) { Lit q; q.x = p.x ^ (int)sgn; return q; }
112 -+
113 -+inline bool operator == (Lit p, Lit q) { return index(p) == index(q); }
114 -+inline bool operator < (Lit p, Lit q) { return index(p) < index(q); } // '<' guarantees that p, ~p are adjacent in the ordering.
115 -+
116 -+
117 - const Lit lit_Undef(var_Undef, false); // }- Useful special constants.
118 - const Lit lit_Error(var_Undef, true ); // }
119 -
120 -@@ -79,11 +92,7 @@
121 - if (learnt) activity() = 0; }
122 -
123 - // -- use this function instead:
124 -- friend Clause* Clause_new(bool learnt, const vec<Lit>& ps) {
125 -- assert(sizeof(Lit) == sizeof(uint));
126 -- assert(sizeof(float) == sizeof(uint));
127 -- void* mem = xmalloc<char>(sizeof(Clause) + sizeof(uint)*(ps.size() + (int)learnt));
128 -- return new (mem) Clause(learnt, ps); }
129 -+ friend Clause* Clause_new(bool learnt, const vec<Lit>& ps);
130 -
131 - int size () const { return size_learnt >> 1; }
132 - bool learnt () const { return size_learnt & 1; }
133 -@@ -92,6 +101,12 @@
134 - float& activity () const { return *((float*)&data[size()]); }
135 - };
136 -
137 -+inline Clause* Clause_new(bool learnt, const vec<Lit>& ps) {
138 -+ assert(sizeof(Lit) == sizeof(uint));
139 -+ assert(sizeof(float) == sizeof(uint));
140 -+ void* mem = xmalloc<char>(sizeof(Clause) + sizeof(uint)*(ps.size() + (int)learnt));
141 -+ return new (mem) Clause(learnt, ps);
142 -+}
143 -
144 - //=================================================================================================
145 - // GClause -- Generalize clause:
146 -@@ -102,8 +117,8 @@
147 - void* data;
148 - GClause(void* d) : data(d) {}
149 - public:
150 -- friend GClause GClause_new(Lit p) { return GClause((void*)((index(p) << 1) + 1)); }
151 -- friend GClause GClause_new(Clause* c) { assert(((uintp)c & 1) == 0); return GClause((void*)c); }
152 -+ friend GClause GClause_new(Lit p);
153 -+ friend GClause GClause_new(Clause* c);
154 -
155 - bool isLit () const { return ((uintp)data & 1) == 1; }
156 - bool isNull () const { return data == NULL; }
157 -@@ -114,6 +129,8 @@
158 - };
159 - #define GClause_NULL GClause_new((Clause*)NULL)
160 -
161 -+inline GClause GClause_new(Lit p) { return GClause((void*)((index(p) << 1) + 1)); }
162 -+inline GClause GClause_new(Clause* c) { assert(((uintp)c & 1) == 0); return GClause((void*)c); }
163 -
164 - //=================================================================================================
165 - #endif
166
167 diff --git a/sci-mathematics/nusmv/files/cudd-no-pentium4.patch b/sci-mathematics/nusmv/files/cudd-no-pentium4.patch
168 deleted file mode 100644
169 index 844f7c0..00000000
170 --- a/sci-mathematics/nusmv/files/cudd-no-pentium4.patch
171 +++ /dev/null
172 @@ -1,11 +0,0 @@
173 ---- Makefile.orig 2010-07-12 02:54:26.000000000 +0200
174 -+++ Makefile 2010-07-12 02:54:49.000000000 +0200
175 -@@ -69,7 +69,7 @@
176 - # Gcc 2.8.1 or higher on i686.
177 - #XCFLAGS = -mcpu=pentiumpro -malign-double -DHAVE_IEEE_754 -DBSD
178 - # Gcc 3.2.2 or higher on i686.
179 --XCFLAGS = -mcpu=pentium4 -malign-double -DHAVE_IEEE_754 -DBSD -DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4 -DSIZEOF_INT=4
180 -+XCFLAGS = -malign-double -DHAVE_IEEE_754 -DBSD -DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4 -DSIZEOF_INT=4
181 - # Icc on i686.
182 - #XCFLAGS = -ansi -align -ip -DHAVE_IEEE_754 -DBSD
183 - # Gcc on ia64.