• Bug#266640: FTBFS on !linux-gnu (3/3)

    From Robert Millan@1:229/2 to All on Wed Aug 18 17:00:19 2004
    [continued from previous message]

    + # include <sys/wait.h>
    + # endif /* WINNT_NATIVE */
    + # endif /* _MINIX */
    +-#endif /* SYSVREL == 0 || linux */
    ++#endif /* SYSVREL == 0 || glibc */
    +
    + #ifdef NEEDwait
    + /*
    diff -Nur tcsh-6.13.01.old/debian/rules tcsh-6.13.01/debian/rules
    --- tcsh-6.13.01.old/debian/rules 2004-08-18 16:23:20.000000000 +0200
    +++ tcsh-6.13.01/debian/rules 2004-08-18 16:25:44.000000000 +0200
    @@ -3,6 +3,9 @@
    testdir = test -f tc.h && test -f debian/rules
    testroot = test x`whoami` = xroot

    +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
    +
    # FOR AUTOCONF 2.52 AND NEWER ONLY
    ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
    CONFFLAGS += --build $(DEB_HOST_GNU_TYPE)
    @@ -27,11 +30,13 @@
    rm -rf debian/tcsh debian/tcsh-kanji
    rm -f debian/files debian/rejected debian/substvars.*
    rm -f config.guess config.sub config_f.h tcsh-nokanji tcsh-kanji
    + rm -rf autom4te.cache

    configure-stamp: configure
    $(testdir)
    cp -f /usr/share/misc/config.guess /usr/share/misc/config.sub .
    -cat debian/patches/*.diff | patch -Ntp1 -r debian/rejected --no-backup-if-mismatch
    + `which autoconf2.50 || which autoconf`
    ./configure $(CONFFLAGS) --prefix=
    touch con