diff options
Diffstat (limited to 'dev-libs/ntl/files/ntl-6.0.0-singular.patch')
-rw-r--r-- | dev-libs/ntl/files/ntl-6.0.0-singular.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/ntl/files/ntl-6.0.0-singular.patch b/dev-libs/ntl/files/ntl-6.0.0-singular.patch new file mode 100644 index 000000000000..c172386f3102 --- /dev/null +++ b/dev-libs/ntl/files/ntl-6.0.0-singular.patch @@ -0,0 +1,12 @@ +--- src.orig/include/NTL/new.h 2012-08-06 17:12:25.658913083 +0200 ++++ src/include/NTL/new.h 2012-08-06 17:11:15.002915713 +0200 +@@ -12,7 +12,8 @@ + + #include <new> + +-#define NTL_NEW_OP new (std::nothrow) ++// commenting std::nothrow makes this ntl work properly with Singular ++#define NTL_NEW_OP new //(std::nothrow) + + + #else |