Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jul 2004 09:37:32 +0200 (CEST)
From:      Francois Tigeot <ftigeot@wolfpond.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/69521: [patch] graphics/libgphoto2 fails to download pictures on amd64
Message-ID:  <200407240737.i6O7bWgU032149@aoi.wolfpond.org>
Resent-Message-ID: <200407240740.i6O7eIQj042730@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407240737.i6O7bWgU032149>