pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/xfce4-wavelan-plugin Fix DragonFly build.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5c5e540e351c
branches: trunk
changeset: 527929:5c5e540e351c
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Apr 16 15:42:03 2007 +0000
description:
Fix DragonFly build.
diffstat:
net/xfce4-wavelan-plugin/distinfo | 3 +-
net/xfce4-wavelan-plugin/patches/patch-aa | 49 +++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 1 deletions(-)
diffs (64 lines):
diff -r 639e928a8e9e -r 5c5e540e351c net/xfce4-wavelan-plugin/distinfo
--- a/net/xfce4-wavelan-plugin/distinfo Mon Apr 16 15:31:44 2007 +0000
+++ b/net/xfce4-wavelan-plugin/distinfo Mon Apr 16 15:42:03 2007 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2007/04/12 09:55:12 martti Exp $
+$NetBSD: distinfo,v 1.7 2007/04/16 15:42:03 joerg Exp $
SHA1 (xfce4-wavelan-plugin-0.5.4.tar.gz) = d45d8a13a1512fdb74aacf09c5b6ae99c4743fdd
RMD160 (xfce4-wavelan-plugin-0.5.4.tar.gz) = 30d4893812004cfe0cf115790eb72daf92b4db5f
Size (xfce4-wavelan-plugin-0.5.4.tar.gz) = 596378 bytes
+SHA1 (patch-aa) = e38c49773a4e6890d75d17a7fea905d655baee4d
diff -r 639e928a8e9e -r 5c5e540e351c net/xfce4-wavelan-plugin/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/xfce4-wavelan-plugin/patches/patch-aa Mon Apr 16 15:42:03 2007 +0000
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.3 2007/04/16 15:42:03 joerg Exp $
+
+--- panel-plugin/wi_bsd.c.orig 2007-04-16 14:57:08.000000000 +0000
++++ panel-plugin/wi_bsd.c
+@@ -24,7 +24,7 @@
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__DragonFly__)
+
+ #include <sys/types.h>
+ #include <sys/cdefs.h>
+@@ -43,22 +43,24 @@
+ #if __FreeBSD_version >= 500033
+ #include <sys/endian.h>
+ #endif
++#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>
+ #include <netinet/if_ether.h>
+ #ifdef __NetBSD__
+-#include <net80211/ieee80211.h>
+-#include <net80211/ieee80211_ioctl.h>
+-#include <dev/ic/wi_ieee.h>
++# include <net80211/ieee80211.h>
++# include <net80211/ieee80211_ioctl.h>
++# include <dev/ic/wi_ieee.h>
++#elif defined(__OpenBSD__)
++# include <net/if_ieee80211.h>
++# include <dev/ic/if_wi_ieee.h>
++# define le16toh(x) letoh16(x)
+ #else
+-#if !defined(__OpenBSD__)
+-#include <dev/pcmcia/if_wavelan_ieee.h>
+-#endif
+-#endif
+-#ifdef __OpenBSD__
+-#include <net/if_ieee80211.h>
+-#include <dev/ic/if_wi_ieee.h>
+-#define le16toh(x) letoh16(x)
++# include <dev/pcmcia/if_wavelan_ieee.h>
+ #endif
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index