aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Sedov <stas@FreeBSD.org>2009-08-09 07:21:36 +0000
committerStanislav Sedov <stas@FreeBSD.org>2009-08-09 07:21:36 +0000
commit6cb99ef0e35608cbb909f5d2e2d993240da0494c (patch)
tree76bd77074a34236ccb47e27ff4a8e51bb3ca8621
parent90187e8a6c597675bcc1a9dece1cbc6ac8cd1459 (diff)
downloadports-6cb99ef0e35608cbb909f5d2e2d993240da0494c.tar.gz
ports-6cb99ef0e35608cbb909f5d2e2d993240da0494c.zip
Notes
-rw-r--r--misc/ftdi-eeprom/Makefile8
-rw-r--r--misc/ftdi-eeprom/files/patch-ftdi-eeprom.c10
2 files changed, 11 insertions, 7 deletions
diff --git a/misc/ftdi-eeprom/Makefile b/misc/ftdi-eeprom/Makefile
index fd02996a7cf7..02eb5a746395 100644
--- a/misc/ftdi-eeprom/Makefile
+++ b/misc/ftdi-eeprom/Makefile
@@ -20,10 +20,4 @@ PLIST_FILES= sbin/ftdi-eeprom
MAN8= ftdi-eeprom.8
MANCOMPRESSED= maybe
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 800064
-BROKEN= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c b/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c
new file mode 100644
index 000000000000..e1e2958300b8
--- /dev/null
+++ b/misc/ftdi-eeprom/files/patch-ftdi-eeprom.c
@@ -0,0 +1,10 @@
+--- ftdi-eeprom.c.orig 2009-08-09 11:21:23.000000000 +0400
++++ ftdi-eeprom.c 2009-08-09 11:21:37.000000000 +0400
+@@ -44,6 +44,7 @@
+ #include <string.h>
+ #include <limits.h>
+ #include <dev/usb/usb.h>
++#include <dev/usb/usb_ioctl.h>
+
+ #include "ftdi-eeprom.h"
+