Package: talloc
Version: 1.2.1-1
Severity: important
Tags: patch
Hello,
Talloc currently FTBFS on non-linux ports (hurd & kfreebsd) due to
missing linker flags, here is a patch.
Samuel
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
Samuel
<y> t1 faich
<y> les programmes ils segfaultent jamais quand on veut
-+- #ens-mim en plein débogage -+-
--- libreplace/libreplace_ld.m4.orig 2009-04-28 23:41:09.000000000 +0000
+++ libreplace/libreplace_ld.m4 2009-04-28 23:42:11.000000000 +0000
@@ -40,7 +40,7 @@
AC_DEFUN([AC_LD_PICFLAG],
[
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
PICFLAG="-fPIC"
;;
*solaris*)
@@ -111,7 +111,7 @@
LD_SHLIB_FLAGS="-shared"
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
LD_SHLIB_FLAGS="-shared -Wl,-Bsymbolic"
;;
*solaris*)
@@ -209,7 +209,7 @@
AC_SUBST(SONAMEFLAG)
SONAMEFLAG=""
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
SONAMEFLAG="-Wl,-soname="
;;
*solaris*)
@@ -261,7 +261,7 @@
LD_ALLOW_SHLIB_UNDEF_FLAG=""
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,--allow-shlib-undefined"
;;
*osf*)
@@ -289,7 +289,7 @@
AC_DEFUN([AC_LIBREPLACE_RUNTIME_LIB_PATH_VAR],
[
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
LIB_PATH_VAR=LD_LIBRARY_PATH
;;
*bsd*)
--- configure.orig 2009-04-28 23:56:30.000000000 +0000
+++ configure 2009-04-28 23:57:20.000000000 +0000
@@ -21788,7 +21788,7 @@
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
PICFLAG="-fPIC"
;;
*solaris*)
@@ -21860,7 +21860,7 @@
SONAMEFLAG=""
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
SONAMEFLAG="-Wl,-soname="
;;
*solaris*)
@@ -21919,7 +21919,7 @@
LD_SHLIB_FLAGS="-shared"
case "$host_os" in
- *linux*)
+ *linux*|*gnu*)
LD_SHLIB_FLAGS="-shared -Wl,-Bsymbolic"
;;
*solaris*)