openbsd-ports/graphics/gphoto/patches/patch-am

12 lines
343 B
Plaintext

--- ./minolta/dimage_v_util.c.orig Wed Nov 10 18:25:51 1999
+++ ./minolta/dimage_v_util.c Wed Nov 10 18:25:59 1999
@@ -6,7 +6,7 @@
int fd=-1, errorlen=0;
char *errormsg, *buffer;
- #ifdef __FreeBSD__
+ #ifdef BSD
fd = open(dimage_v_device, O_RDWR|O_NOCTTY);
#else
fd = open(dimage_v_device, O_RDWR|O_NOCTTY|O_SYNC);