[Pkg-kde-extras] Bug#547416: fails to build with gcc-4.4/new eglibc

Stefan Potyra sistpoty at ubuntu.com
Sat Sep 19 14:31:23 UTC 2009


Package: lensfun
Version: 0.2.3-2
Severity: wishlist
Tags: patch

Hi,

thanks for maintaining lensfun.

During Ubuntu's rebuild test lensfun failed to build[1] as gcc-4.4/new eglibc
changed the definition of strchr, so that it either needs a const char *
argument and returns a const char*, or needs a char * argument and returns
a char *.

I've attached an ugly patch which fixes this. It doesn't address the real
problem that my_eval_variable overwrites the const argument though.

Cheers,
    Stefan.

[1]:
<http://launchpadlibrarian.net/31818250/buildlog_ubuntu-karmic-amd64.lensfun_0.2.3-0ubuntu3_FAILEDTOBUILD.txt.gz>
-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-10-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10-makedep-fix-ftbfs.dpatch
Type: text/x-shellscript
Size: 850 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-kde-extras/attachments/20090919/e84624eb/attachment.bin>


More information about the pkg-kde-extras mailing list