Package: readline6
Version: 6.2-6
Severity: important
Tags: patch
Hello,
readline6 currently FTBFS on hurd-i386 due to the openpty function,
which is provided by libutil. rlfe's configure script properly detects
it, but debian/rules' LIBS= drops the -lutil option. The attached patch
puts it back and fixes the build.
This is not a problem on linux & kfreebsd because they have /dev/pts,
which hurd-i386 doesn't have.
Could you apply the patch please?
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
--- debian/rules.orig 2011-10-09 00:04:14.000000000 +0000
+++ debian/rules 2011-10-09 00:04:16.000000000 +0000
@@ -185,7 +185,7 @@
cd $(builddir)/examples/rlfe \
&& ./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE)
$(MAKE) -C $(builddir)/examples/rlfe \
- CFLAGS="-g -O2" LDFLAGS="-g -L$(builddir)/shlib" LIBS="-lreadline
-ltinfo" rlfe
+ CFLAGS="-g -O2" LDFLAGS="-g -L$(builddir)/shlib" LIBS="-lreadline
-ltinfo -lutil" rlfe
touch build-rlfe-stamp
clean: