summaryrefslogtreecommitdiffstats
path: root/graphics/gphoto/files/patch-ai
blob: ce4cc2badd55ebca29a1b573964da74a15fa6888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/callbacks.c.orig	Thu Jun 17 00:09:31 1999
+++ src/callbacks.c	Thu Jun 17 00:10:16 1999
@@ -403,7 +403,9 @@
 
 #ifdef linux
         sprintf(serial_port_prefix, "/dev/ttyS");
-#elif defined(__FreeBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__)
+        sprintf(serial_port_prefix, "/dev/cuaa");
+#elif defined(__NetBSD__)
         sprintf(serial_port_prefix, "/dev/tty0");
 #else
         sprintf(serial_port_prefix, "/dev/tty0");
OpenPOWER on IntegriCloud