1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/graphics/gphoto/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");