aboutsummaryrefslogtreecommitdiff
path: root/math/py-cryptominisat/files/patch-pycryptosat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-cryptominisat/files/patch-pycryptosat.cpp')
-rw-r--r--math/py-cryptominisat/files/patch-pycryptosat.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/math/py-cryptominisat/files/patch-pycryptosat.cpp b/math/py-cryptominisat/files/patch-pycryptosat.cpp
deleted file mode 100644
index 7d6b9d31f49c..000000000000
--- a/math/py-cryptominisat/files/patch-pycryptosat.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-On FreeBSD -std=c++11 turns NULL into nullptr which sometimes breaks:
-
- pycryptosat.cpp:393:12: error: cannot initialize return object of type 'int' with an rvalue of type 'nullptr_t'
- return NULL;
- ^~~~
- /usr/include/sys/_null.h:35:14: note: expanded from macro 'NULL'
- #define NULL nullptr
- ^~~~~~~
---- pycryptosat.cpp.orig 2014-07-06 23:41:16 UTC
-+++ pycryptosat.cpp
-@@ -390,7 +390,7 @@ Solver_init(Solver *self, PyObject *args
- if (!self->cmsat) {
- return -1;
- }
-- return NULL;
-+ return 0;
- }
-
- static PyMemberDef Solver_members[] = {