Package: suitesparse-metis Version: 3.1.0-2 Severity: important Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oneiric ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Update 13-CHOLMOD_Demo_Makefile.dpatch for strict linking. Fixes FTBFS. (LP: #832905) Note: the build will fail with gcc-4.6 otherwise. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-9-generic (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u suitesparse-metis-3.1.0/debian/patches/13-CHOLMOD_Demo_Makefile.dpatch suitesparse-metis-3.1.0/debian/patches/13-CHOLMOD_Demo_Makefile.dpatch --- suitesparse-metis-3.1.0/debian/patches/13-CHOLMOD_Demo_Makefile.dpatch +++ suitesparse-metis-3.1.0/debian/patches/13-CHOLMOD_Demo_Makefile.dpatch @@ -7,12 +7,12 @@ -diff -u upstrm/CHOLMOD/Demo/Makefile debsrc/CHOLMOD/Demo/Makefile ---- upstrm/CHOLMOD/Demo/Makefile 2007-05-05 16:37:46.000000000 +0200 -+++ debsrc/CHOLMOD/Demo/Makefile 2008-02-17 16:39:17.000000000 +0100 -@@ -19,7 +19,7 @@ - $(LAPACK) $(BLAS) $(XERBLA) $(LIB) - #------------------------------------------------------------------------------- - --C = $(CC) $(CFLAGS) $(CHOLMOD_CONFIG) -+C = $(CC) $(CFLAGS) $(CHOLMOD_CONFIG) -lmetis +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' suitesparse-metis-3.1.0~/CHOLMOD/Demo/Makefile suitesparse-metis-3.1.0/CHOLMOD/Demo/Makefile +--- suitesparse-metis-3.1.0~/CHOLMOD/Demo/Makefile 2007-05-05 10:37:46.000000000 -0400 ++++ suitesparse-metis-3.1.0/CHOLMOD/Demo/Makefile 2011-08-29 16:23:18.000000000 -0400 +@@ -9,6 +9,8 @@ - code: library cholmod_demo cholmod_l_demo cholmod_simple + include ../../UFconfig/UFconfig.mk ++METIS = -lmetis ++ + #------------------------------------------------------------------------------- + # With METIS, CCOLAMD, CAMD, and the Partition Module: + LIB2 = ../Lib/libcholmod.a ../../AMD/Lib/libamd.a ../../COLAMD/Lib/libcolamd.a \