summaryrefslogtreecommitdiff
path: root/graphics/gphoto/patches/patch-ac
blob: ba16b9ff72393abee43394547954e6887c72df13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.3 2006/05/12 12:26:58 joerg Exp $

--- mustek/device.c.orig	2006-05-12 11:09:50.000000000 +0000
+++ mustek/device.c
@@ -59,7 +59,7 @@ int mdc800_device_setupDevice (fd, baud)
 	newtio.c_cflag = (newtio.c_cflag & ~CSIZE) | CS8;
 
 	//  Set into raw, no echo mode 
-	#if defined(__NetBSD__)
+	#if defined(__NetBSD__) || defined(__DragonFly__)
 	newtio.c_iflag &= ~(IGNBRK | IGNCR | INLCR | ICRNL |
 		IXANY | IXON | IXOFF | INPCK | ISTRIP);
 	#else