ports/69521: [patch] graphics/libgphoto2 fails to download pictures on amd64
Francois Tigeot
ftigeot at wolfpond.org
Sat Jul 24 07:40:18 UTC 2004
>Number: 69521
>Category: ports
>Synopsis: [patch] graphics/libgphoto2 fails to download pictures on amd64
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 24 07:40:17 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Francois Tigeot <ftigeot at wolfpond.org>
>Release: FreeBSD 5.2-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD aoi.wolfpond.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sun Jun 27 22:03:09 CEST 2004 ftigeot at aoi.wolfpond.org:/usr/obj/usr/src/sys/AOI amd64
libgphoto2-2.1.4_1
>Description:
On a FreeBSD/amd64 machine libgphoto2 is unable to download full-size
pictures from an USB camera.
>How-To-Repeat:
Plug a digital camera and try to download a full-size picture with one
of graphics/libgphoto2 front-ends such as graphics/digikam.
>Fix:
Put the following patch in graphics/libgphoto2/files and recompile the
port.
--- patch-libgphoto2::gphoto2-filesys.c begins here ---
--- 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) {
--- patch-libgphoto2::gphoto2-filesys.c ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list