Blame SOURCES/netkit-ftp-0.17-volatile.patch

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