1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/graphics/gphoto2/files/patch-ai

14 lines
448 B
Plaintext
Raw Normal View History

--- 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");