From 7a24dbb2f6dca9e0c30f75c3c9b12d81c41bd984 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 16 Jul 2015 14:21:34 -0500 Subject: sagemath: add new package to [libre] --- libre/sagemath/c_lib.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 libre/sagemath/c_lib.patch (limited to 'libre/sagemath/c_lib.patch') diff --git a/libre/sagemath/c_lib.patch b/libre/sagemath/c_lib.patch new file mode 100644 index 000000000..6df7b8efa --- /dev/null +++ b/libre/sagemath/c_lib.patch @@ -0,0 +1,17 @@ +--- src/setup.py.orig 2014-11-01 23:49:10.000000000 +0100 ++++ src/setup.py 2014-11-07 00:40:58.414838636 +0100 +@@ -171,10 +171,12 @@ + m.libraries = ['csage'] + m.libraries + if m.language == 'c++': + m.libraries.append('stdc++') ++ m.libraries.append('ntl') ++ m.libraries = m.libraries + ['gmp', 'm', 'dl'] + + m.extra_compile_args = m.extra_compile_args + extra_compile_args + m.extra_link_args = m.extra_link_args + extra_link_args +- m.library_dirs = m.library_dirs + [os.path.join(SAGE_LOCAL, "lib")] ++ m.library_dirs += ['c_lib', '%s/lib' % SAGE_LOCAL] + m.include_dirs = m.include_dirs + include_dirs + + + -- cgit v1.2.3