[Pkg-phototools-devel] Bug#671545: gphoto2: FTBFS on hurd-i386.

Cyril Roelandt tipecaml at gmail.com
Fri May 4 22:24:55 UTC 2012


Package: gphoto2
Severity: important
Tags: patch

Dear Maintainer,

gphoto2 currently FTBFS on hurd-i386 because of the unconditional use of PATH_MAX in gphoto2/main.c. The attached patch should fix this issue.

I've set the size of the buf variable to 256 instead of PATH_MAX, as it is done
a few lines above. I'm not sure there is a way to get the real size of the
buffer, but it seems to be supposed to be 256 (http://libgphoto2.sourcearchive.com/documentation/2.4.6/structSetting.html).

WBR,
Cyril Roelandt.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)

Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-do_not_use_PATH_MAX.patch
Type: text/x-diff
Size: 531 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20120504/92624eb7/attachment.patch>


More information about the Pkg-phototools-devel mailing list