From fb9f623c1ea0223a5605d95ed1b20ad2e9f9bb2b Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 25 May 2005 14:47:28 +0000 Subject: Not needed after update to 2.0pre10. --- net/wistumbler2/patches/patch-aa | 15 --------------- net/wistumbler2/patches/patch-ab | 30 ------------------------------ net/wistumbler2/patches/patch-ac | 19 ------------------- net/wistumbler2/patches/patch-ad | 24 ------------------------ 4 files changed, 88 deletions(-) delete mode 100644 net/wistumbler2/patches/patch-aa delete mode 100644 net/wistumbler2/patches/patch-ab delete mode 100644 net/wistumbler2/patches/patch-ac delete mode 100644 net/wistumbler2/patches/patch-ad (limited to 'net') diff --git a/net/wistumbler2/patches/patch-aa b/net/wistumbler2/patches/patch-aa deleted file mode 100644 index 613dc52e571..00000000000 --- a/net/wistumbler2/patches/patch-aa +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2004/10/21 21:25:23 reinoud Exp $ - ---- src/stumbler.h.orig 2004-07-03 19:55:01.000000000 +0200 -+++ src/stumbler.h -@@ -60,8 +60,10 @@ - #include - #else - #if __NetBSD_Version__ > 106220000 -+#include - #include - #else -+#include - #include - #include - #include diff --git a/net/wistumbler2/patches/patch-ab b/net/wistumbler2/patches/patch-ab deleted file mode 100644 index 938359f660a..00000000000 --- a/net/wistumbler2/patches/patch-ab +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2004/10/21 21:25:23 reinoud Exp $ - ---- configure.orig 2003-11-30 00:39:01.000000000 +0100 -+++ configure -@@ -95,6 +95,16 @@ if [ "${USE_GTK}" = "0" ]; then - GTK=0; - fi - -+printf "[*] Checking for beeper...\t\t\t" -+if [ -f /usr/include/machine/spkr.h -o -f /usr/include/machine/speaker.h ]; then -+ SPEAKER=1 -+ echo "OK" -+else -+ SPEAKER=0 -+ echo "NOT PRESENT" -+fi -+ -+ - # Clean exit - printf "\n== Configuration done. Now type 'make' ==\n\n" - echo "PREFIX=${PREFIX}" > CONFIG -@@ -115,4 +125,8 @@ else - echo "CFLAGS+=-DUSE_PCAP" >> CONFIG - echo "LDFLAGS+=-lpcap" >> CONFIG - fi -+if [ "${SPEAKER}" = "1" ]; then -+ echo "CFLAGS+=-DSPEAKER_PRESENT" >> CONFIG -+fi -+ - exit 0 diff --git a/net/wistumbler2/patches/patch-ac b/net/wistumbler2/patches/patch-ac deleted file mode 100644 index 17b5ae9209d..00000000000 --- a/net/wistumbler2/patches/patch-ac +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2004/10/21 21:25:23 reinoud Exp $ - ---- src/speaker.c.orig 2003-11-17 21:47:38.000000000 +0100 -+++ src/speaker.c -@@ -32,4 +32,9 @@ - */ - -+#ifndef DSPEAKER_PRESENT -+ void swap_beep(void) {}; -+ void do_beep(int pc) {}; -+#else /* DSPEAKER_PRESENT */ -+ - #include - #include -@@ -101,3 +106,3 @@ void do_beep(pc) - fclose(fd); - } -- -+#endif /* DSPEAKER_PRESENT */ diff --git a/net/wistumbler2/patches/patch-ad b/net/wistumbler2/patches/patch-ad deleted file mode 100644 index 9a5dd5622d9..00000000000 --- a/net/wistumbler2/patches/patch-ad +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2004/11/07 19:57:51 itojun Exp $ - ---- src/stumbler.c- 2004-11-08 04:54:27.000000000 +0900 -+++ src/stumbler.c 2004-11-08 04:54:49.000000000 +0900 -@@ -328,8 +328,10 @@ - if (naps&&!save) - do_beep(maxsignal); - -+#if USE_GTK - while(gtk_events_pending()) - gtk_main_iteration(); -+#endif - } - - int wi_polling() -@@ -345,7 +347,7 @@ - wistumbler_gui_error("No wifi devices found"); - #else - printf("No wifi devices found"); -- if (!App.usex) working=false; -+ if (!App.usex) App.working=false; - #endif - return 0; - } else { -- cgit v1.2.3