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
Chris Piazza fb9f5ef38a Update to 4.0.3
PR:		18139
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-04-29 21:12:12 +00:00

14 lines
417 B
Plaintext

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