Bug#494867: libgda2: FTBFS on GNU/kFreeBSD (fixup of 005_freetds_sybase_compat.patch needed)

Petr Salinger Petr.Salinger at seznam.cz
Tue Aug 12 18:45:22 UTC 2008


Package: libgda2
Severity: important
Version: 1.2.4-1.1
Tags: patch
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd


Hi,

the last upload fails to build on GNU/kFreeBSD (and hurd),
the 1.2.4-1 version have been fine.

It needs small tweak to debian/patches/005_freetds_sybase_compat.patch,
see attached patch.

Thanks in advance

                         Petr
-------------- next part --------------
--- libgda2-1.2.4/debian/patches/005_freetds_sybase_compat.patch~	2008-08-12 20:19:57.000000000 +0000
+++ libgda2-1.2.4/debian/patches/005_freetds_sybase_compat.patch	2008-08-12 20:19:57.000000000 +0000
@@ -11,7 +11,7 @@
 -			SYBASE_LIBS="${SYBASE_LIBS} ${sybase_blklibs}"
 -			AC_CHECK_LIB(ct,tdsdump_on,[
 -			AC_MSG_WARN(linking against freetds libct)
-+		*linux*) sybase_ctlibs="-L${sybasedir}/lib -lct"
++		*linux*|*-k*bsd*-gnu*|*-gnu*) sybase_ctlibs="-L${sybasedir}/lib -lct"
 +			AC_CHECK_LIB([ct],[blk_init],[],[
 +			sybase_ctlibs="${sybase_ctlibs} -lcs -lsybtcl -lcomn -lintl"
 +			])
@@ -3730,7 +3730,7 @@
 -			{ echo "$as_me:$LINENO: checking for tdsdump_on in -lct" >&5
 -echo $ECHO_N "checking for tdsdump_on in -lct... $ECHO_C" >&6; }
 -if test "${ac_cv_lib_ct_tdsdump_on+set}" = set; then
-+		*linux*) sybase_ctlibs="-L${sybasedir}/lib -lct"
++		*linux*|*-k*bsd*-gnu*|*-gnu*) sybase_ctlibs="-L${sybasedir}/lib -lct"
 +
 +{ echo "$as_me:$LINENO: checking for blk_init in -lct" >&5
 +echo $ECHO_N "checking for blk_init in -lct... $ECHO_C" >&6; }


More information about the pkg-gnome-maintainers mailing list