diff options
Diffstat (limited to 'net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch')
-rw-r--r-- | net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch new file mode 100644 index 000000000000..cb6ad986a914 --- /dev/null +++ b/net-ftp/netkit-ftpd/files/netkit-ftpd-0.17-cross.patch @@ -0,0 +1,45 @@ +--- configure.orig 2008-05-11 12:02:50.000000000 -0700 ++++ configure 2008-05-11 12:04:14.000000000 -0700 +@@ -93,7 +93,7 @@ + echo -n 'Checking if C compiler works... ' + if ( + $CC __conftest.c -o __conftest || exit 1 +- ./__conftest || exit 1 ++ [ -e __conftest ] || exit 1 + ) >/dev/null 2>&1; then + echo 'yes' + else +@@ -169,13 +169,13 @@ + EOF + if ( + $CC $CFLAGS __conftest.c -o __conftest || exit 1 +- ./__conftest || exit 1 ++ [ -e __conftest ] || exit 1 + ) >/dev/null 2>&1; then + echo 'yes' + else + if ( + $CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1 +- ./__conftest || exit 1 ++ [ -e ./__conftest ] || exit 1 + ) >/dev/null 2>&1; then + echo '-D__USE_BSD_SIGNAL' + CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL" +@@ -311,7 +311,7 @@ + else + if ( + $CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1 +- ./__conftest || exit 1 ++ [ -e ./__conftest ] || exit 1 + ) >/dev/null 2>&1; then + echo '-D_GNU_SOURCE' + CFLAGS="$CFLAGS -D_GNU_SOURCE" +@@ -342,7 +342,7 @@ + EOF + if ( + $CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1 +- ./__conftest || exit 1 ++ [ -e ./__conftest ] || exit 1 + ) >/dev/null 2>&1; then + echo 'ok' + else |