]> git.pld-linux.org Git - packages/CCOLAMD.git/blob - ccolamd-ufconfig.patch
- fix SuiteSparse_config BR
[packages/CCOLAMD.git] / ccolamd-ufconfig.patch
1 --- CCOLAMD/Include/ccolamd.h.orig      2012-05-29 16:54:52.000000000 +0200
2 +++ CCOLAMD/Include/ccolamd.h   2012-06-27 17:14:53.668746441 +0200
3 @@ -112,7 +112,7 @@
4  /* === Prototypes of user-callable routines ================================= */
5  /* ========================================================================== */
6  
7 -#include "SuiteSparse_config.h"
8 +#include <SuiteSparse_config.h>
9  
10  size_t ccolamd_recommended     /* returns recommended value of Alen, */
11                                 /* or 0 if input arguments are erroneous */
12 --- CCOLAMD/Makefile~   2007-03-27 01:18:43.219470348 +0300
13 +++ CCOLAMD/Makefile    2007-03-27 01:18:44.569500568 +0300
14 @@ -1,7 +1,7 @@
15  
16  default: demo
17  
18 -include ../SuiteSparse_config/SuiteSparse_config.mk
19 +include /usr/share/misc/SuiteSparse_config.mk
20  
21  # Compile all C code, including the C-callable routine and the mexFunctions.
22  # Do not the MATLAB interface.
23 --- CCOLAMD/Demo/Makefile       2007-05-05 15:42:44.000000000 +0200
24 +++ CCOLAMD.UF/Demo/Makefile    2007-12-02 15:41:19.000000000 +0100
25 @@ -4,16 +4,15 @@
26  
27  default: ccolamd_example ccolamd_l_example
28  
29 -include ../../SuiteSparse_config/SuiteSparse_config.mk
30 +include /usr/share/misc/SuiteSparse_config.mk
31  
32 -I = -I../Include -I../../SuiteSparse_config
33 +I = -I../Include
34  
35  C = $(CC) $(CF) $(I)
36  
37 -LIB2 = ../../SuiteSparse_config/libsuitesparseconfig.a $(LIB)
38 +LIB2 = -lsuitesparseconfig $(LIB)
39  
40  library:
41 -       ( cd ../../SuiteSparse_config ; $(MAKE) )
42         ( cd ../Lib ; $(MAKE) )
43  
44  #------------------------------------------------------------------------------
45 --- CCOLAMD/Lib/Makefile        2007-05-05 15:41:47.000000000 +0200
46 +++ CCOLAMD.UF/Lib/Makefile     2007-12-02 15:42:02.000000000 +0100
47 @@ -4,11 +4,11 @@
48  
49  default: libccolamd.a
50  
51 -include ../../SuiteSparse_config/SuiteSparse_config.mk
52 +include /usr/share/misc/SuiteSparse_config.mk
53  
54 -I = -I../Include -I../../SuiteSparse_config
55 +I = -I../Include
56  
57 -INC = ../Include/ccolamd.h ../../SuiteSparse_config/SuiteSparse_config.h
58 +INC = ../Include/ccolamd.h
59  
60  SRC = ../Source/ccolamd.c ../Source/ccolamd_global.c
61  
This page took 0.059927 seconds and 4 git commands to generate.