1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/graphics/gphoto2/files/patch-ai
Chris Piazza 63632e432b Update to 0.3.2 with modifications by me.
PR:		12404
Submitted by:	Anders Nordby <anders@fix.no>, maintainer
1999-07-20 03:41:23 +00:00

14 lines
448 B
Plaintext

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