Package: scotch
Version: 5.1.11.dfsg-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmpnBDFmZ
In Ubuntu, the attached patch was applied to achieve the following:

Hi! This package ftbfs with binutils-gold, in the future Debian will
use this new toolchain. This patch solves this problem.

Thanks!

  * debian/patches/fix_ftbfs_with_binutils_gold.patch:
    - Reorder LDFLAGS to fix ftbfs with binutils-gold


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37-8-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru scotch-5.1.11.dfsg/debian/patches/fix_ftbfs_with_binutils_gold.patch scotch-5.1.11.dfsg/debian/patches/fix_ftbfs_with_binutils_gold.patch
--- scotch-5.1.11.dfsg/debian/patches/fix_ftbfs_with_binutils_gold.patch	1970-01-01 01:00:00.000000000 +0100
+++ scotch-5.1.11.dfsg/debian/patches/fix_ftbfs_with_binutils_gold.patch	2011-02-06 14:49:28.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Reorder LDFLAGS to fix ftbfs with binutils-gold
+Author: Angel Abad <[email protected]>
+
+--- a/src/esmumps/Makefile
++++ b/src/esmumps/Makefile
+@@ -44,7 +44,7 @@
+ 				$(CC) $(CFLAGS) $(CLIBFLAGS) -I$(includedir) -c $(<) -o $(@)
+ 
+ %$(EXE)	:	%.c
+-		 		$(CC) $(CFLAGS) -I$(includedir) $(<) -o $(@) -L$(libdir) $(LDFLAGS) -L. -l$(ESMUMPSLIB) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit
++		 		$(CC) $(CFLAGS) -I$(includedir) $(<) -o $(@) -L$(libdir) -L. -l$(ESMUMPSLIB) -l$(SCOTCHLIB) -l$(SCOTCHLIB)errexit $(LDFLAGS)
+ 
+ ##
+ ##  Project rules.
diff -Nru scotch-5.1.11.dfsg/debian/patches/series scotch-5.1.11.dfsg/debian/patches/series
--- scotch-5.1.11.dfsg/debian/patches/series	2010-12-29 18:40:28.000000000 +0100
+++ scotch-5.1.11.dfsg/debian/patches/series	2011-02-06 14:46:21.000000000 +0100
@@ -1,3 +1,4 @@
+fix_ftbfs_with_binutils_gold.patch
 shared-libs.patch
 metis-header.patch
 ptscotch.patch
  					$(AR) $(ARFLAGS) lib$(ESMUMPSLIB)$(LIB) $(?)
  					-$(RANLIB) lib$(ESMUMPSLIB)$(LIB)

Reply via email to