Bug#648514: libtool: Fix GNU/Hurd linker flags & such

2012-05-13 Thread Jonathan Nieder
tags 648514 + fixed-upstream
quit

Samuel Thibault wrote:
> Samuel Thibault, le Sat 12 Nov 2011 14:54:20 +0100, a écrit :

>> libtool is missing the GNU/Hurd case in a few places, resulting to build
>> issues in e.g. the graphviz package, the attached patch fixes it, could
>> you apply it please?  I have already forwarded the patch upstream.
[...]
> Here is an updated patch.

Applied upstream as 3b94c2d8 (Improve GNU/Hurd support, 2012-02-21).



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#648514: libtool: Fix GNU/Hurd linker flags & such

2011-11-12 Thread Samuel Thibault
Samuel Thibault, le Sat 12 Nov 2011 14:54:20 +0100, a écrit :
> libtool is missing the GNU/Hurd case in a few places, resulting to build
> issues in e.g. the graphviz package, the attached patch fixes it, could
> you apply it please?  I have already forwarded the patch upstream.

Ooops, sorry, I forgot to remove the existing bits, which are basically
the same, but outdated and shall be factorized with other GNU platforms.
Here is an updated patch.

Samuel
diff -ur libtool-2.4.2.orig/libltdl/m4/libtool.m4 
libtool-2.4.2/libltdl/m4/libtool.m4
--- libtool-2.4.2.orig/libltdl/m4/libtool.m42011-10-17 12:17:05.0 
+0200
+++ libtool-2.4.2/libltdl/m4/libtool.m4 2011-11-12 15:20:14.501589618 +0100
@@ -2512,17 +2512,6 @@
   esac
   ;;
 
-gnu*)
-  version_type=linux # correct to gnu/linux during the next big refactor
-  need_lib_prefix=no
-  need_version=no
-  library_names_spec='${libname}${release}${shared_ext}$versuffix 
${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
-  soname_spec='${libname}${release}${shared_ext}$major'
-  shlibpath_var=LD_LIBRARY_PATH
-  shlibpath_overrides_runpath=no
-  hardcode_into_libs=yes
-  ;;
-
 haiku*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
@@ -2639,7 +2628,7 @@
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -3243,10 +3232,6 @@
   fi
   ;;
 
-gnu*)
-  lt_cv_deplibs_check_method=pass_all
-  ;;
-
 haiku*)
   lt_cv_deplibs_check_method=pass_all
   ;;
@@ -3285,7 +3270,7 @@
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -4037,7 +4022,7 @@
;;
esac
;;
-  linux* | k*bsd*-gnu | kopensolaris*-gnu)
+  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
  KCC*)
# KAI C++ Compiler
@@ -4336,7 +4321,7 @@
   _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
   ;;
 
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   case $cc_basename in
   # old Intel for x86_64 which still supported -KPIC.
   ecc*)
@@ -6222,9 +6207,6 @@
 _LT_TAGVAR(ld_shlibs, $1)=yes
 ;;
 
-  gnu*)
-;;
-
   haiku*)
 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs 
$compiler_flags ${wl}-soname $wl$soname -o $lib'
 _LT_TAGVAR(link_all_deplibs, $1)=yes
@@ -6386,7 +6368,7 @@
 _LT_TAGVAR(inherit_rpath, $1)=yes
 ;;
 
-  linux* | k*bsd*-gnu | kopensolaris*-gnu)
+  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 case $cc_basename in
   KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler


Bug#648514: libtool: Fix GNU/Hurd linker flags & such

2011-11-12 Thread Samuel Thibault
Package: libtool
Version: 2.4-4
Severity: important
Tags: patch upstream
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

libtool is missing the GNU/Hurd case in a few places, resulting to build
issues in e.g. the graphviz package, the attached patch fixes it, could
you apply it please?  I have already forwarded the patch upstream.

Samuel

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libtool depends on:
ii  autotools-dev 20110511.1 
ii  bcc [c-compiler]  0.16.17-3.1
ii  cpp   4:4.6.1-3  
ii  file  5.09-2 
ii  gcc [c-compiler]  4:4.6.1-3  
ii  gcc-4.4 [c-compiler]  4.4.6-11   
ii  gcc-4.5 [c-compiler]  4.5.3-9
ii  gcc-4.6 [c-compiler]  4.6.1-15   
ii  libc6-dev [libc-dev]  2.13-21

Versions of packages libtool recommends:
ii  libltdl-dev  2.4-4

Versions of packages libtool suggests:
ii  autoconf   2.68-1  
ii  automake [automaken]   1:1.11.1-1  
ii  automake1.10 [automaken]   1:1.10.3-1  
ii  automake1.7 [automaken]1.7.9-9.1   
ii  automake1.9 [automaken]1.9.6+nogfdl-3.1
ii  gcj  
ii  gfortran   4:4.6.1-3   
ii  gfortran-4.4 [fortran95-compiler]  4.4.6-11
ii  gfortran-4.6 [fortran95-compiler]  4.6.1-15
ii  libtool-doc2.4-4   

-- no debconf information

-- 
Samuel Thibault 
 RR> Ce que je cherche à démontrer, c'est qu'il est injuste de faire
 RR> l'amalgame entre du bulk mail et du courrier non-solicité très ciblé
 un suppositoire non reclamé, meme tres bien ciblé, reste un suppositoire.
 -+-OS in : Guide du Neuneu d'Usenet - Plein le cul de la pub à neuneu -+-
diff -ur libtool-2.4.2.orig/libltdl/m4/libtool.m4 
libtool-2.4.2/libltdl/m4/libtool.m4
--- libtool-2.4.2.orig/libltdl/m4/libtool.m42011-10-17 12:17:05.0 
+0200
+++ libtool-2.4.2/libltdl/m4/libtool.m4 2011-11-12 14:51:39.070708989 +0100
@@ -2639,7 +2639,7 @@
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   version_type=linux # correct to gnu/linux during the next big refactor
   need_lib_prefix=no
   need_version=no
@@ -3285,7 +3285,7 @@
   ;;
 
 # This must be glibc/ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -4037,7 +4037,7 @@
;;
esac
;;
-  linux* | k*bsd*-gnu | kopensolaris*-gnu)
+  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
case $cc_basename in
  KCC*)
# KAI C++ Compiler
@@ -4336,7 +4336,7 @@
   _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
   ;;
 
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   case $cc_basename in
   # old Intel for x86_64 which still supported -KPIC.
   ecc*)
@@ -6386,7 +6386,7 @@
 _LT_TAGVAR(inherit_rpath, $1)=yes
 ;;
 
-  linux* | k*bsd*-gnu | kopensolaris*-gnu)
+  linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 case $cc_basename in
   KCC*)
# Kuck and Associates, Inc. (KAI) C++ Compiler