Blame netkit-ftp-0.17-volatile.patch
|
cvsdist |
7ef794 |
--- netkit-ftp-0.17/configure.volatile 2004-06-14 12:08:26.000000000 -0400
|
|
cvsdist |
7ef794 |
+++ netkit-ftp-0.17/configure 2004-06-14 12:52:41.000000000 -0400
|
|
cvsdist |
7ef794 |
@@ -193,8 +193,8 @@
|
|
cvsdist |
7ef794 |
cat <<EOF >__conftest.c
|
|
cvsdist |
7ef794 |
#include <unistd.h>
|
|
cvsdist |
7ef794 |
#include <signal.h>
|
|
cvsdist |
7ef794 |
-int count=0;
|
|
cvsdist |
7ef794 |
-void handle(int foo) { count++; }
|
|
cvsdist |
7ef794 |
+volatile int count=0;
|
|
cvsdist |
7ef794 |
+void handle(int foo) { count++; write(1,"X",1);}
|
|
cvsdist |
7ef794 |
int main() {
|
|
cvsdist |
7ef794 |
int pid=getpid();
|
|
cvsdist |
7ef794 |
signal(SIGINT, handle);
|
|
cvsdist |
7ef794 |
@@ -209,20 +209,20 @@
|
|
cvsdist |
7ef794 |
if (
|
|
cvsdist |
7ef794 |
$CC $CFLAGS __conftest.c -o __conftest || exit 1
|
|
cvsdist |
7ef794 |
./__conftest || exit 1
|
|
cvsdist |
7ef794 |
- ) >/dev/null 2>&1; then
|
|
cvsdist |
7ef794 |
+ ); then
|
|
cvsdist |
7ef794 |
echo 'yes'
|
|
cvsdist |
7ef794 |
else
|
|
cvsdist |
7ef794 |
if (
|
|
cvsdist |
7ef794 |
$CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1
|
|
cvsdist |
7ef794 |
./__conftest || exit 1
|
|
cvsdist |
7ef794 |
- ) >/dev/null 2>&1; then
|
|
cvsdist |
7ef794 |
+ ); then
|
|
cvsdist |
7ef794 |
echo '-D__USE_BSD_SIGNAL'
|
|
cvsdist |
7ef794 |
CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
|
|
cvsdist |
7ef794 |
else
|
|
cvsdist |
7ef794 |
echo 'no'
|
|
cvsdist |
7ef794 |
- echo 'This package needs BSD signal semantics to run.'
|
|
cvsdist |
7ef794 |
- rm -f __conftest*
|
|
cvsdist |
7ef794 |
- exit
|
|
cvsdist |
7ef794 |
+ echo '***WARNING***: This package needs BSD signal semantics to run.'
|
|
cvsdist |
7ef794 |
+ echo '***WARNING***: Assuming its just ia64 buildroot breakage.'
|
|
cvsdist |
7ef794 |
+ CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
|
|
cvsdist |
7ef794 |
fi
|
|
cvsdist |
7ef794 |
fi
|
|
cvsdist |
7ef794 |
rm -f __conftest*
|