diff options
-rw-r--r-- | net/wimon/distinfo | 3 | ||||
-rw-r--r-- | net/wimon/patches/patch-aa | 18 | ||||
-rw-r--r-- | net/wistumbler2/distinfo | 6 | ||||
-rw-r--r-- | net/wistumbler2/patches/patch-ab | 21 | ||||
-rw-r--r-- | net/wistumbler2/patches/patch-ac | 15 | ||||
-rw-r--r-- | net/wistumbler2/patches/patch-ad | 13 | ||||
-rw-r--r-- | net/wistumbler2/patches/patch-ae | 20 |
7 files changed, 94 insertions, 2 deletions
diff --git a/net/wimon/distinfo b/net/wimon/distinfo index 32cfffa3b86..aac30eed790 100644 --- a/net/wimon/distinfo +++ b/net/wimon/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:14:07 agc Exp $ +$NetBSD: distinfo,v 1.4 2006/01/08 21:29:50 joerg Exp $ SHA1 (wimon-0.3.tar.gz) = 8be1bc6d4917adee5641310258fe77f8b265013f RMD160 (wimon-0.3.tar.gz) = d8670b1ceb1fde0c0001b2e6ca39a82909cd42d4 Size (wimon-0.3.tar.gz) = 8103 bytes +SHA1 (patch-aa) = 5edbd8bbebf8aa31f6a95d4c1c5370a7d61f0e1a diff --git a/net/wimon/patches/patch-aa b/net/wimon/patches/patch-aa new file mode 100644 index 00000000000..4f9a4991f00 --- /dev/null +++ b/net/wimon/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2006/01/08 21:29:50 joerg Exp $ + +--- showi.c.orig 2006-01-08 21:26:47.000000000 +0000 ++++ showi.c +@@ -51,6 +51,13 @@ + #include <net/if_var.h> + #include <net/ethernet.h> + #include <dev/wi/if_wavelan_ieee.h> ++ ++#elif defined(__DragonFly__) ++#include <net/if_var.h> ++#include <net/ethernet.h> ++#include <netproto/802_11/if_wavelan_ieee.h> ++#include <sys/endian.h> ++ + #else + + #include <netinet/in.h> diff --git a/net/wistumbler2/distinfo b/net/wistumbler2/distinfo index 7cbada43533..40770b5e071 100644 --- a/net/wistumbler2/distinfo +++ b/net/wistumbler2/distinfo @@ -1,6 +1,10 @@ -$NetBSD: distinfo,v 1.8 2005/05/31 12:31:59 wiz Exp $ +$NetBSD: distinfo,v 1.9 2006/01/08 21:22:58 joerg Exp $ SHA1 (wistumbler2-2.0pre10.tar.gz) = 1167dfbc53cdf43cca357fefd2153be9f4657669 RMD160 (wistumbler2-2.0pre10.tar.gz) = 27a1539c93560c753d9951c5c236108bf38d8639 Size (wistumbler2-2.0pre10.tar.gz) = 45972 bytes SHA1 (patch-aa) = 0b5c4409489d334f235373b67dcb3344f7839ea2 +SHA1 (patch-ab) = 87149860de4e4f75609748a3f8e5912320f98575 +SHA1 (patch-ac) = 039363ed35c94c971187d9bf98f97c7560b3fbeb +SHA1 (patch-ad) = bac9decfec5dde5b870042d4b26b8ff623660e8d +SHA1 (patch-ae) = 04ff3efea6225917e872522eb3fabcb0a0e83eeb diff --git a/net/wistumbler2/patches/patch-ab b/net/wistumbler2/patches/patch-ab new file mode 100644 index 00000000000..a5752da49d4 --- /dev/null +++ b/net/wistumbler2/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.3 2006/01/08 21:22:58 joerg Exp $ + +--- configure.orig 2006-01-08 21:08:17.000000000 +0000 ++++ configure +@@ -267,7 +267,7 @@ echo "ERROR: ${CPP} cannot parse sources + + + printf "checking for POSIX threads... " +-if [ "${TARGET_OS}" = "freebsd" ]; then ++if [ "${TARGET_OS}" = "freebsd" -o "${TARGET_OS}" = "dragonfly" ]; then + PTHREAD_LIBS=-pthread ; else + PTHREAD_LIBS=-lpthread ; fi + echo '#include <pthread.h>' > test.c +@@ -339,6 +339,7 @@ if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS= + if [ "$USE_GTK" = 0 ]; then GTK_CFLAGS="" ; fi + if [ "$USE_GTK" = 0 ]; then GTK_LDFLAGS="" ; fi + if [ "${TARGET_OS}" = "netbsd" ]; then OS_OK="1" ; fi ; ++if [ "${TARGET_OS}" = "dragonfly" ]; then OS_OK="1" ; fi ; + if [ "${TARGET_OS}" = "freebsd" ]; then OS_OK="1" ; fi ; + if [ "${TARGET_OS}" = "openbsd" ]; then OS_OK="1" ; fi ; + diff --git a/net/wistumbler2/patches/patch-ac b/net/wistumbler2/patches/patch-ac new file mode 100644 index 00000000000..2bc18cbfb5e --- /dev/null +++ b/net/wistumbler2/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.3 2006/01/08 21:22:58 joerg Exp $ + +--- src/stumbler.h.orig 2006-01-08 21:09:38.000000000 +0000 ++++ src/stumbler.h +@@ -54,6 +54,10 @@ + #include <net80211/ieee80211.h> + #include <net/ethernet.h> + #include <dev/wi/if_wavelan_ieee.h> ++#elif defined(__DragonFly__) ++#include <netproto/802_11/ieee80211.h> ++#include <net/ethernet.h> ++#include <netproto/802_11/if_wavelan_ieee.h> + #elif defined(__OpenBSD__) + #include "cdefs.h" + #include <sys/socket.h> diff --git a/net/wistumbler2/patches/patch-ad b/net/wistumbler2/patches/patch-ad new file mode 100644 index 00000000000..11075aa1c14 --- /dev/null +++ b/net/wistumbler2/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.3 2006/01/08 21:22:58 joerg Exp $ + +--- src/speaker.c.orig 2006-01-08 21:10:38.000000000 +0000 ++++ src/speaker.c +@@ -38,7 +38,7 @@ + #include <stdlib.h> + + #ifdef SPEAKER_PRESENT +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <machine/speaker.h> + #else + #include <machine/spkr.h> diff --git a/net/wistumbler2/patches/patch-ae b/net/wistumbler2/patches/patch-ae new file mode 100644 index 00000000000..5da73f001d3 --- /dev/null +++ b/net/wistumbler2/patches/patch-ae @@ -0,0 +1,20 @@ +$NetBSD: patch-ae,v 1.1 2006/01/08 21:22:58 joerg Exp $ + +--- src/sniffer.c.orig 2006-01-08 21:11:22.000000000 +0000 ++++ src/sniffer.c +@@ -8,13 +8,12 @@ + #include <unistd.h> + #include <stdio.h> + #include <sys/types.h> +-#if __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + #include <net/ethernet.h> + #else + #include <net/route.h> + #include <net/if.h> +-#if __OpenBSD__ +-#else ++#if !defined(__OpenBSD__) + #include <net/if_ether.h> + #endif + #endif |