SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
devel/libftdi/patches/patch-src_ftdi_c
Normal file
13
devel/libftdi/patches/patch-src_ftdi_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/ftdi.c.orig Thu Mar 15 05:58:44 2012
|
||||
+++ src/ftdi.c Sat Nov 9 19:47:18 2013
|
||||
@@ -44,6 +44,10 @@
|
||||
#include <linux/usbdevice_fs.h>
|
||||
#endif
|
||||
|
||||
+#if !defined(ENODATA) && defined(ENOENT)
|
||||
+#define ENODATA ENOENT
|
||||
+#endif
|
||||
+
|
||||
#define ftdi_error_return(code, str) do { \
|
||||
ftdi->error_str = str; \
|
||||
return code; \
|
Loading…
Add table
Add a link
Reference in a new issue