summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-io_hpiod
diff options
context:
space:
mode:
Diffstat (limited to 'print/hplip/files/patch-io_hpiod')
-rw-r--r--print/hplip/files/patch-io_hpiod24
1 files changed, 24 insertions, 0 deletions
diff --git a/print/hplip/files/patch-io_hpiod b/print/hplip/files/patch-io_hpiod
new file mode 100644
index 000000000000..eea8422eed52
--- /dev/null
+++ b/print/hplip/files/patch-io_hpiod
@@ -0,0 +1,24 @@
+diff -ruN io/hpiod.orig/usbext.c io/hpiod/usbext.c
+--- io/hpiod.orig/usbext.c Sat Apr 1 16:11:45 2006
++++ io/hpiod/usbext.c Sat Apr 1 16:10:29 2006
+@@ -33,7 +33,7 @@
+ int fd;
+ };
+
+-#if defined(__APPLE__) && defined(__MACH__)
++#if defined(__APPLE__) && defined(__MACH__) || defined(__FreeBSD__)
+
+ #else
+
+diff -ruN io/hpiod.orig/usbext.h io/hpiod/usbext.h
+--- io/hpiod.orig/usbext.h Sat Apr 1 16:11:45 2006
++++ io/hpiod/usbext.h Sat Apr 1 16:05:57 2006
+@@ -32,7 +32,7 @@
+ #include <sys/time.h>
+ #include <usb.h>
+
+-#if defined(__APPLE__) && defined(__MACH__)
++#if defined(__APPLE__) && defined(__MACH__) || defined(__FreeBSD__)
+ #else
+ #include <linux/usbdevice_fs.h>
+