pkgsrc/net/gtk_wicontrol/patches/patch-ad
obache 2d6e78f0e4 Fixes patch for DragonFly BSD for if_wavelan_ieee.h's path.
PR#44321 by Sascha Wildner.

Still broken for 2.8.2, because `struct wi_req' is disabled in
the include file, but it was changed in DragonFly master.
2011-01-03 07:38:57 +00:00

13 lines
366 B
Text

$NetBSD: patch-ad,v 1.5 2011/01/03 07:38:58 obache Exp $
--- src/main.c.orig 2006-03-22 21:38:03.000000000 +0000
+++ src/main.c
@@ -34,6 +34,8 @@
#include <machine/if_wavelan_ieee.h>
#elif defined(HAVE_DEV_IC_WI_IEEE_H)
#include <dev/ic/wi_ieee.h>
+#elif defined(__DragonFly__)
+#include <dev/netif/wi/if_wavelan_ieee.h>
#endif
#include "interface.h"