diff options
author | Markus Brueffer <markus@FreeBSD.org> | 2006-01-20 11:55:20 +0000 |
---|---|---|
committer | Markus Brueffer <markus@FreeBSD.org> | 2006-01-20 11:55:20 +0000 |
commit | e92df606a159e75eb1f68b1b16034244f27a1b73 (patch) | |
tree | e953e4f018d56f164420654c9b4421960e1e2483 /graphics/libgphoto2 | |
parent | 91f198dc7c15a6bfe79b8a400c6050cf77cbb45d (diff) | |
download | ports-e92df606a159e75eb1f68b1b16034244f27a1b73.tar.gz ports-e92df606a159e75eb1f68b1b16034244f27a1b73.zip |
Notes
Diffstat (limited to 'graphics/libgphoto2')
-rw-r--r-- | graphics/libgphoto2/Makefile | 2 | ||||
-rw-r--r-- | graphics/libgphoto2/files/patch-libgphoto2_port-serial-unix.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 7c1eb3a6776f..8c8838469a4b 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -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 diff --git a/graphics/libgphoto2/files/patch-libgphoto2_port-serial-unix.c b/graphics/libgphoto2/files/patch-libgphoto2_port-serial-unix.c new file mode 100644 index 000000000000..024a3ff23353 --- /dev/null +++ b/graphics/libgphoto2/files/patch-libgphoto2_port-serial-unix.c @@ -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 |