]> git.pld-linux.org Git - packages/SuiteSparse_config.git/commitdiff
- added externc patch (avoid forcing extern C for system headers, could cause problem... auto/th/SuiteSparse_config-4.3.1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 21 Nov 2014 19:03:46 +0000 (20:03 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 21 Nov 2014 19:03:46 +0000 (20:03 +0100)
- release 2

SuiteSparse_config-externc.patch [new file with mode: 0644]
SuiteSparse_config.spec

diff --git a/SuiteSparse_config-externc.patch b/SuiteSparse_config-externc.patch
new file mode 100644 (file)
index 0000000..5f0b64a
--- /dev/null
@@ -0,0 +1,21 @@
+--- SuiteSparse_config/SuiteSparse_config.h.orig       2014-07-16 23:35:20.000000000 +0200
++++ SuiteSparse_config/SuiteSparse_config.h    2014-11-21 17:12:47.821093628 +0100
+@@ -38,14 +38,14 @@
+ #ifndef SUITESPARSE_CONFIG_H
+ #define SUITESPARSE_CONFIG_H
+-#ifdef __cplusplus
+-extern "C" {
+-#endif
+-
+ #include <limits.h>
+ #include <stdlib.h>
+ #include <math.h>
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ /* ========================================================================== */
+ /* === SuiteSparse_long ===================================================== */
+ /* ========================================================================== */
index 0d10125bdd87559f3e0be6c2b008465b7d00e5b6..95f946fe6141cf014c66d00af3a78a7232f23e15 100644 (file)
@@ -2,13 +2,14 @@ Summary:      SuiteSparse_config development files
 Summary(pl.UTF-8):     Pliki programistyczne SuiteSparse_config
 Name:          SuiteSparse_config
 Version:       4.3.1
-Release:       1
+Release:       2
 License:       no restrictions
 Group:         Development
 Source0:       http://www.cise.ufl.edu/research/sparse/UFconfig/%{name}-%{version}.tar.gz
 # Source0-md5: 14872b930c8625362f11a847d07a6ede
 Patch0:                %{name}-config.patch
 Patch1:                %{name}-shared.patch
+Patch2:                %{name}-externc.patch
 URL:           http://www.cise.ufl.edu/research/sparse/UFconfig/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -65,6 +66,7 @@ Biblioteka statyczna SuiteSparse_config.
 %setup -q -n %{name}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} \
This page took 0.059551 seconds and 4 git commands to generate.