diff options
Diffstat (limited to 'devel/libgphoto2/patches/patch-aa')
-rw-r--r-- | devel/libgphoto2/patches/patch-aa | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libgphoto2/patches/patch-aa b/devel/libgphoto2/patches/patch-aa new file mode 100644 index 00000000000..cd91f5e3194 --- /dev/null +++ b/devel/libgphoto2/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.3 2005/11/07 18:38:37 joerg Exp $ + +--- libgphoto2_port/serial/unix.c.orig 2005-11-07 18:17:05.000000000 +0000 ++++ libgphoto2_port/serial/unix.c +@@ -438,7 +438,7 @@ gp_port_serial_open (GPPort *dev) + } + dev->pl->fd = -1; + +-#if defined(__FreeBSD__) || defined(__APPLE__) ++#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__DragonFly__) + dev->pl->fd = open (port, O_RDWR | O_NOCTTY | O_NONBLOCK); + #elif OS2 + fd = open (port, O_RDWR | O_BINARY); |