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

    From Robert Millan@1:229/2 to All on Wed Aug 18 17:00:19 2004
    From: [email protected]

    This is a multi-part MIME message sent by reportbug.

    Package: tcsh
    Version: 6.13.01-4
    Severity: important
    Tags: patch sid

    This package fails to build on !linux-gnu systems. I'm attaching a patch to fix miscellaneous build errors. Please could you forward it to upstream?

    With regard to the errors in 01_build.diff, please remember to not assume
    Linux when doing modifications in your packages.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: kfreebsd-i386 (i386)
    Kernel: GNU/kFreeBSD 5.2.1-5
    Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

    diff -Nur tcsh-6.13.01.old/debian/control tcsh-6.13.01/debian/control
    --- tcsh-6.13.01.old/debian/control 2004-08-18 16:23:20.000000000 +0200
    +++ tcsh-6.13.01/debian/control 2004-08-18 16:24:50.000000000 +0200
    @@ -3,7 +3,7 @@
    Priority: standard
    Maintainer: Martin A. Godisch <[email protected]>
    Uploaders: Matej Vela <[email protected]>
    -Build-Depends: autotools-dev, libncurses5-dev, patch
    +Build-Depends: autotools-dev, libncurses5-dev, patch, autoconf
    Standards-Version: 3.6.1

    Package: tcsh
    diff -Nur tcsh-6.13.01.old/debian/patches/01_build.diff tcsh-6.13.01/debian/patches/01_build.diff
    --- tcsh-6.13.01.old/debian/patches/01_build.diff 2004-08-18 16:23:19.000000000 +0200
    +++ tcsh-6.13.01/debian/patches/01_build.diff 2004-08-18 16:23:33.000000000 +0200
    @@ -15,9 +15,9 @@
    # define _PATH_TCSHELL "/local/bin/tcsh" /* use ram disk */
    #endif /* _MINIX && !_PATH_TCSHELL */

    -+#if defined(linux) && !defined(_PATH_TCSHELL)
    ++#ifndef _PATH_TCSHELL
    +# define _PATH_TCSHELL "/bin/tcsh" /* Debian */ -+#endif /* linux && !_PATH_TCSHELL */
    ++#endif /* !_PATH_TCS