[Pkg-scicomp-devel] Bug#526422: suitesparse: diff for fix
Thomas Viehmann
tv at beamnet.de
Fri May 1 10:32:23 UTC 2009
tags 526422 + patch
thanks
Dear Debian Scientific Computing Team,
here is a patch.
Kind regards
T.
diff -u suitesparse-3.2.0/debian/changelog suitesparse-3.2.0/debian/changelog
--- suitesparse-3.2.0/debian/changelog
+++ suitesparse-3.2.0/debian/changelog
@@ -1,3 +1,14 @@
+suitesparse (1:3.2.0-4.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Sprinkle some linking to KLU, UMFPACK shared libraries
+ to not have unresolved symbols. Remove some from CHOLMOD.
+ Now dpkg-shlibdeps does not warn anymore.
+ (changing debian/patches/*Makefile.dpatch)
+ Closes: #526422
+
+ -- Thomas Viehmann <tv at beamnet.de> Fri, 01 May 2009 11:19:05 +0200
+
suitesparse (1:3.2.0-4) unstable; urgency=low
* debian/control: Add an epoch to the version number of
diff -u suitesparse-3.2.0/debian/patches/07-KLU_Lib_Makefile.dpatch suitesparse-3.2.0/debian/patches/07-KLU_Lib_Makefile.dpatch
--- suitesparse-3.2.0/debian/patches/07-KLU_Lib_Makefile.dpatch
+++ suitesparse-3.2.0/debian/patches/07-KLU_Lib_Makefile.dpatch
@@ -55,7 +55,7 @@
-$(OBJ): $(INC)
+libklu.so.3.2.0: $(OBJ_SL)
-+ $(CC) -shared $^ -lm -Wl,-soname -Wl,$@ -o $@
++ $(CC) -shared $^ -lm ../../AMD/Lib/libamd.so ../../BTF/Lib/libbtf.so ../../COLAMD/Lib/libcolamd.so -Wl,-soname -Wl,$@ -o $@
+ ln -s $@ libklu.so
+
+$(OBJ) $(OBJ_SL): $(INC)
diff -u suitesparse-3.2.0/debian/patches/12-CHOLMOD_Lib_Makefile.dpatch suitesparse-3.2.0/debian/patches/12-CHOLMOD_Lib_Makefile.dpatch
--- suitesparse-3.2.0/debian/patches/12-CHOLMOD_Lib_Makefile.dpatch
+++ suitesparse-3.2.0/debian/patches/12-CHOLMOD_Lib_Makefile.dpatch
@@ -115,7 +115,7 @@
-$(OBJ): $(INC)
+libcholmod.so.3.2.0: $(OBJ_SL)
-+ $(CC) -shared $^ -lblas -llapack ../../AMD/Lib/libamd.so ../../CAMD/Lib/libcamd.so ../../COLAMD/Lib/libcolamd.so ../../CCOLAMD/Lib/libccolamd.so -lm -Wl,-soname -Wl,$@ -o $@
++ $(CC) -shared $^ -lblas -llapack ../../AMD/Lib/libamd.so ../../COLAMD/Lib/libcolamd.so -lm -Wl,-soname -Wl,$@ -o $@
+ ln -s $@ libcholmod.so
+
+$(OBJ) $(OBJ_SL): $(INC)
diff -u suitesparse-3.2.0/debian/patches/11-UMFPACK_Lib_GNUmakefile.dpatch suitesparse-3.2.0/debian/patches/11-UMFPACK_Lib_GNUmakefile.dpatch
--- suitesparse-3.2.0/debian/patches/11-UMFPACK_Lib_GNUmakefile.dpatch
+++ suitesparse-3.2.0/debian/patches/11-UMFPACK_Lib_GNUmakefile.dpatch
@@ -291,7 +291,7 @@
+ - $(RANLIB) libumfpack.a
+
+libumfpack.so.3.2.0: $(II_SL) $(LL_SL) $(GN_SL) $(DI_SL) $(DL_SL) $(ZI_SL) $(ZL_SL)
-+ $(CC) -shared $^ -lm -Wl,-soname -Wl,$@ -o $@
++ $(CC) -shared $^ -lm -lblas ../../AMD/Lib/libamd.so -Wl,-soname -Wl,$@ -o $@
+ ln -s $@ libumfpack.so
#-------------------------------------------------------------------------------
More information about the Pkg-scicomp-devel
mailing list