Package: oaf
Version: 0.6.10-6
Tags: patch
Followup-For: Bug #294739

Please find attached a patch to fix this bug



-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages oaf depends on:
ii  libc0.1                2.3-1+kbsd.15     GNU C Library: Shared libraries an
ii  libglib1.2             1.2.10-10+libtool The GLib library of C routines
ii  liboaf0                0.6.10-6+libtool  The GNOME Object Activation Framew
ii  liborbit0              0.5.17-11.1+kbsd  Libraries for ORBit - a CORBA ORB
ii  libpopt0               1.7-5+libtool     lib for parsing cmdline parameters
ii  libwrap0               7.6.dbs-8         Wietse Venema's TCP wrappers libra
ii  libxml1                1:1.8.17-10       GNOME XML library
ii  zlib1g                 1:1.2.3-9         compression library - runtime

oaf recommends no packages.

-- no debconf information
Author: aurel32
Status: in BTS

diff -u oaf-0.6.10/debian/patches/002_libtool_fix 
oaf-0.6.10/debian/patches/002_libtool_fix
--- oaf-0.6.10/debian/patches/002_libtool_fix
+++ oaf-0.6.10/debian/patches/002_libtool_fix
@@ -1,5 +1,14 @@
---- oaf-0.6.10.orig/configure   2002-04-16 03:27:55.000000000 -0700
-+++ oaf-0.6.10/configure        2005-10-02 21:58:36.000000000 -0700
+--- oaf-0.6.10.orig/configure  2002-04-16 12:27:55.000000000 +0200
++++ oaf-0.6.10/configure       2005-10-03 16:56:07.000000000 +0200
+@@ -2478,7 +2478,7 @@
+   esac
+   ;;
+ 
+-freebsd*)
++freebsd* | kfreebsd*-gnu)
+   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+     case $host_cpu in
+     i*86 )
 @@ -2525,16 +2525,8 @@
    lt_cv_deplibs_check_method=pass_all
    ;;
@@ -21,0 +31,28 @@
+@@ -4410,7 +4402,7 @@
+     ;;
+ 
+   # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
+-  freebsd*)
++  freebsd* | kfreebsd*-gnu)
+     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
+     hardcode_libdir_flag_spec='-R$libdir'
+     hardcode_direct=yes
+@@ -4813,6 +4805,18 @@
+   dynamic_linker=no
+   ;;
+ 
++kfreebsd*-gnu)
++  version_type=linux
++  need_lib_prefix=no
++  need_version=no
++  library_names_spec='${libname}${release}.so$versuffix 
${libname}${release}.so$major $libname.so'
++  soname_spec='${libname}${release}.so$major'
++  shlibpath_var=LD_LIBRARY_PATH
++  shlibpath_overrides_runpath=no
++  hardcode_into_libs=yes
++  dynamic_linker='GNU ld.so'
++  ;;
++
+ freebsd*)
+   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
+   version_type=freebsd-$objformat

Reply via email to