[singular] 05/06: Add the remaining template instances to make the build work

Ximin Luo infinity0 at debian.org
Fri Jul 8 01:00:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master3-sage-old
in repository singular.

commit f848b8d25a697dc9f795597aa97033c2981d9035
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Jul 8 02:40:50 2016 +0200

    Add the remaining template instances to make the build work
---
 debian/patches/series                               |  1 +
 .../singular_ntl_extra-template-instances.patch     | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 75bd9f8..b8342d5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@
 0018-NTL6-compatibility-patch-from-sagemath.patch
 fix-for-new-perl.patch
 singular_ntl.patch
+singular_ntl_extra-template-instances.patch 
diff --git a/debian/patches/singular_ntl_extra-template-instances.patch b/debian/patches/singular_ntl_extra-template-instances.patch
new file mode 100644
index 0000000..6dbb6a0
--- /dev/null
+++ b/debian/patches/singular_ntl_extra-template-instances.patch
@@ -0,0 +1,21 @@
+--- a/Singular/claptmpl.cc
++++ b/Singular/claptmpl.cc
+@@ -139,6 +139,7 @@
+ #include<NTL/ZZ.h>
+ #include<NTL/ZZX.h>
+ #include<NTL/ZZ_pX.h>
++#include<NTL/SmartPtr.h>
+ #ifdef NTL_CLIENT               // in <NTL/tools.h>: using of name space NTL
+ NTL_CLIENT
+ #endif
+@@ -155,6 +156,10 @@
+ template class Vec<Pair<GF2X, long> >;
+ template void swap<zz_pE>(Vec<zz_pE>&, Vec<zz_pE>&);
+ template long operator==<zz_p>(Vec<zz_p> const&, Vec<zz_p> const&);
++template class SmartPtr<class T>;
++template SmartPtr<ZZ_pInfoT> MakeSmart<ZZ_pInfoT, ZZ>(ZZ const&);
++template SmartPtr<zz_pEInfoT> MakeSmart<zz_pEInfoT, zz_pX>(zz_pX const&);
++template SmartPtr<GF2EInfoT> MakeSmart<GF2EInfoT, GF2X>(GF2X const&);
+ #endif
+ 
+ #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/singular.git



More information about the debian-science-commits mailing list