summaryrefslogtreecommitdiff
path: root/cross/avrdude/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'cross/avrdude/patches/patch-ab')
-rw-r--r--cross/avrdude/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/cross/avrdude/patches/patch-ab b/cross/avrdude/patches/patch-ab
new file mode 100644
index 00000000000..ae1fead3c7f
--- /dev/null
+++ b/cross/avrdude/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.3 2009/08/27 15:34:48 hasso Exp $
+
+--- freebsd_ppi.h.orig 2009-03-06 21:09:11 +0100
++++ freebsd_ppi.h
+@@ -22,7 +22,11 @@
+ #ifndef freebsd_ppi_h
+ #define freebsd_ppi_h
+
++#ifdef __FreeBSD__
+ #include <dev/ppbus/ppi.h>
++#else
++#include <dev/misc/ppi/ppi.h>
++#endif
+
+ #define ppi_claim(fd) {}
+