summaryrefslogtreecommitdiff
path: root/packages/netkit-telnet/files/cross-compile.patch
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2008-11-23 22:48:56 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2008-11-23 23:25:14 +0100
commit269716a27d3334806c3d44365b4aae4f29c79c48 (patch)
tree7a9a6dc300bd2ef72aabf4daec5f58fbb03f20e2 /packages/netkit-telnet/files/cross-compile.patch
parent59f5a9c741bba79e6ebf8e6527142aeeb8ea9236 (diff)
netkit-telnet: Add a telnet package...
telnetd does not compile with the debian patch, telnet compiles let us use that. This is not using update-alternatives as I think it is not necessary as this is the only telnet provider we have. The "buildsystem" is horrible... kick the configure to not run tests...
Diffstat (limited to 'packages/netkit-telnet/files/cross-compile.patch')
-rw-r--r--packages/netkit-telnet/files/cross-compile.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/netkit-telnet/files/cross-compile.patch b/packages/netkit-telnet/files/cross-compile.patch
new file mode 100644
index 0000000000..7bb8156153
--- /dev/null
+++ b/packages/netkit-telnet/files/cross-compile.patch
@@ -0,0 +1,40 @@
+Index: netkit-telnet-0.17/configure
+===================================================================
+--- netkit-telnet-0.17.orig/configure 2008-11-23 22:01:26.000000000 +0100
++++ netkit-telnet-0.17/configure 2008-11-23 22:05:00.000000000 +0100
+@@ -94,7 +94,7 @@
+ echo -n 'Checking if C compiler works... '
+ if (
+ $CC __conftest.c -o __conftest || exit 1
+- ./__conftest || exit 1
++ # Idiots belong shot! ./__conftest || exit 1
+ ) >/dev/null 2>&1; then
+ echo 'yes'
+ else
+@@ -141,7 +141,7 @@
+ echo -n 'Checking if C++ compiler works... '
+ if (
+ $CXX __conftest.cc -o __conftest || exit 1
+- ./__conftest || exit 1
++ # Iditios belong shot! ./__conftest || exit 1
+ ) >/dev/null 2>&1; then
+ echo 'yes'
+ else
+@@ -284,7 +284,7 @@
+ else
+ if (
+ $CXX $CXXFLAGS -D__USE_BSD_SIGNAL __conftest.cc -o __conftest || exit 1
+- ./__conftest || exit 1
++ # running still does not work./__conftest || exit 1
+ ) >/dev/null 2>&1; then
+ echo '-D__USE_BSD_SIGNAL'
+ CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
+@@ -501,7 +501,7 @@
+ EOF
+ if (
+ $CXX $CXXFLAGS __conftest.cc $LIBBSD -o __conftest || exit 1
+- ./__conftest || exit 1
++ # argh! morons!./__conftest || exit 1
+ ) >/dev/null 2>&1; then
+ echo 'ok'
+ else