suitesparse/bnc775418-enable-SuiteSparse_time-symbol.patch
Ismail Dönmez 508f81e40a Accepting request 131025 from devel:libraries:c_c++
fix bnc#775418: SuiteSparse does not ship library which contains the symbol SuiteSparse_time. because we miss to package libsuitesparseconfig. and bnc#746867 cholmod from suitesparse should be GPL-2.0 and/or LGPL-2.0 licensed (forwarded request 131023 from MargueriteSu)

OBS-URL: https://build.opensuse.org/request/show/131025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suitesparse?expand=0&rev=5
2012-08-26 09:35:10 +00:00

20 lines
713 B
Diff

diff -urN SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h SuiteSparse/SuiteSparse_config/SuiteSparse_config.h
--- SuiteSparse.orig/SuiteSparse_config/SuiteSparse_config.h 2012-08-15 10:44:18.240183158 +0800
+++ SuiteSparse/SuiteSparse_config/SuiteSparse_config.h 2012-08-15 10:48:37.033947737 +0800
@@ -121,13 +121,13 @@
) ;
/* determine which timer to use, if any */
-#ifndef NTIMER
+/*#ifndef NTIMER*/
#ifdef _POSIX_C_SOURCE
#if _POSIX_C_SOURCE >= 199309L
#define SUITESPARSE_TIMER_ENABLED
#endif
#endif
-#endif
+/*#endif*/
/* ========================================================================== */
/* === SuiteSparse version ================================================== */