diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-25 12:02:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-25 12:02:55 +0000 |
commit | 85e5f64da56f10c4a8f922f72cbf0f82f9928671 (patch) | |
tree | 418819d893b5318f73e4ef37e9cb4a7bc9fbaf95 | |
parent | - Add lock outgoing files with flock, XPAT command, ability to handle (diff) |
- Fix downloading of full size pictures from camera on 64-bit platforms.
PR: ports/69521
Submitted by: Francois Tigeot <ftigeot@wolfpond.org>
Obtained from: libgphoto2 CVS (rev. 1.68 of libgphoto2/gphoto2-filesys.c)
-rw-r--r-- | graphics/libgphoto2/Makefile | 2 | ||||
-rw-r--r-- | graphics/libgphoto2/files/patch-libgphoto2::gphoto2-filesys.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/graphics/libgphoto2/Makefile b/graphics/libgphoto2/Makefile index 6bce08a87326..ce3538bf6621 100644 --- a/graphics/libgphoto2/Makefile +++ b/graphics/libgphoto2/Makefile @@ -7,7 +7,7 @@ PORTNAME= libgphoto2 PORTVERSION= 2.1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gphoto diff --git a/graphics/libgphoto2/files/patch-libgphoto2::gphoto2-filesys.c b/graphics/libgphoto2/files/patch-libgphoto2::gphoto2-filesys.c new file mode 100644 index 000000000000..017bdec955b1 --- /dev/null +++ b/graphics/libgphoto2/files/patch-libgphoto2::gphoto2-filesys.c @@ -0,0 +1,11 @@ +--- libgphoto2/gphoto2-filesys.c.orig Sun Jan 18 20:46:59 2004 ++++ libgphoto2/gphoto2-filesys.c Thu Jul 22 07:55:25 2004 +@@ -1920,7 +1920,7 @@ + #elif HAVE_SYSCTL && (__FreeBSD__ || __NetBSD__ || __OpenBSD__ || __APPLE__ ) + + int mib[2] = { CTL_HW, HW_PHYSMEM }; +- int value; ++ unsigned long value; + size_t valuelen = sizeof(value); + *free=0; + if (sysctl(mib, 2 , &value, &valuelen, NULL, 0) == -1) { |