1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/gphoto2/files/patch-ai

14 lines
417 B
Plaintext
Raw Normal View History

--- src/callbacks.c.orig Tue Mar 7 06:23:06 2000
+++ src/callbacks.c Thu Apr 20 03:00:00 2000
@@ -529,7 +529,9 @@
#ifdef linux
sprintf(serial_port_prefix, "/dev/ttyS");
-#elif defined(BSD)
+#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");