+mysqltcl (3.05-5) UNRELEASED; urgency=low
+
+ * Add debian/patches/tcl.m4_gnu_non_linux_ld_settings, patch provided
+ by Pino Toscano (thanks!), to fix the FTBFS on GNU/Hurd. Since we've
+ the same problem on GNU/kfreebsd it will fix those FTBFS too.
+ (Closes: #624378)
+ * Add build-dep on dh-autoreconf and add --with autoreconf for dh.
+
+ -- Sven Hoexter <hoexter@debian.org> Thu, 28 Apr 2011 09:22:04 +0200
+
mysqltcl (3.05-4) unstable; urgency=low
* According to dev-ref 6.2.2 the short description is no sentence so
Section: database
Priority: optional
Maintainer: Sven Hoexter <hoexter@debian.org>
-Build-Depends: debhelper (>= 8), tcl-dev, libmysqlclient-dev, quilt
+Build-Depends: debhelper (>= 8), tcl-dev, libmysqlclient-dev, quilt,
+ dh-autoreconf
Standards-Version: 3.9.2
Homepage: http://www.xdobry.de/mysqltcl/
Vcs-Git: git://git.sven.stormbind.net/git/sven/mysqltcl.git
man-section
+tcl.m4_gnu_non_linux_ld_settings
--- /dev/null
+Fix incomplete linker settings in tcl.m4 on non Linux
+but GNU systems which are not detected correctly.
+This is a problem on Debian GNU/kfreebsd and GNU/Hurd.
+Patch provided by Pino Toscano <toscano.pino@tiscali.it>.
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624378
+
+To take effect we've to run autoreconf after the patch
+is applied.
+
+Forwarded upstream on 28.04.2011 via email.
+--- a/tclconfig/tcl.m4
++++ b/tclconfig/tcl.m4
+@@ -1475,11 +1475,11 @@ dnl AC_CHECK_TOOL(AR, ar)
+ SHLIB_SUFFIX=".so"
+
+ SHLIB_LD="${CC} -shared"
+- DL_OBJS=""
++ DL_OBJS="tclLoadDl.o"
+ DL_LIBS="-ldl"
+ LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
+- CC_SEARCH_FLAGS=""
+- LD_SEARCH_FLAGS=""
++ CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
++ LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
+ if test "`uname -m`" = "alpha" ; then
+ CFLAGS="$CFLAGS -mieee"
+ fi
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
%:
- dh $@ --with quilt
+ dh $@ --with quilt,autoreconf
override_dh_auto_configure:
dh_auto_configure -- \