- Fix serial port detection on FreeBSD 6.0 and above
- Bump PORTREVISION
This commit is contained in:
parent
91f198dc7c
commit
e92df606a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153981
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libgphoto2
|
||||
PORTVERSION= 2.1.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= gphoto
|
||||
|
@ -0,0 +1,14 @@
|
||||
--- libgphoto2_port/serial/unix.c.orig Wed Jan 18 18:06:35 2006
|
||||
+++ libgphoto2_port/serial/unix.c Wed Jan 18 18:08:39 2006
|
||||
@@ -108,7 +108,11 @@
|
||||
|
||||
/* FreeBSD */
|
||||
#if defined(__FreeBSD__)
|
||||
+#if __FreeBSD_version < 600000
|
||||
#define GP_PORT_SERIAL_PREFIX "/dev/cuaa%x"
|
||||
+#else
|
||||
+#define GP_PORT_SERIAL_PREFIX "/dev/cuad%x"
|
||||
+#endif
|
||||
#define GP_PORT_SERIAL_RANGE_LOW 0
|
||||
#define GP_PORT_SERIAL_RANGE_HIGH (0xf)
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user