Your message dated Sat, 6 Oct 2012 16:13:42 +1000
with message-id <>
and subject line Re: Bug#547416: fails to build with gcc-4.4/new eglibc
has caused the Debian Bug report #547416,
regarding fails to build with gcc-4.4/new eglibc
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: lensfun
Version: 0.2.3-2
Severity: wishlist
Tags: patch


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.


-- 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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10-makedep-fix-ftbfs.dpatch by Stefan Potyra <>
## All lines beginning with `## DP:' are a description of the patch.
## DP: ugly fix for ftbfs.

diff -urNad lensfun-0.2.3~/tools/makedep/cppsetup.cpp lensfun-0.2.3/tools/makedep/cppsetup.cpp
--- lensfun-0.2.3~/tools/makedep/cppsetup.cpp	2007-11-04 00:52:20.000000000 +0100
+++ lensfun-0.2.3/tools/makedep/cppsetup.cpp	2009-09-19 16:20:19.000000000 +0200
@@ -181,7 +181,7 @@
 static long my_eval_variable (IfParser *ip, const char *var, int len)
     struct symtab **s;
-    char *eol;
+    const char *eol;
     s = lookup_variable (ip, var, len);
     if (!s)
@@ -215,7 +215,7 @@
     while (eol > var && isspace (eol [-1]))
-    *eol = 0;
+    *(char *)eol = 0;
     return strtol (var, NULL, 0);

--- End Message ---
--- Begin Message ---
On Sun, 20 Sep 2009 00:31:23 Stefan Potyra wrote:
> Package: lensfun
> Version: 0.2.3-2


I am closing your report as this version is now longer supported in Debian and 
future versions build fine.


Attachment: signature.asc
Description: This is a digitally signed message part.

--- End Message ---
pkg-kde-extras mailing list

Reply via email to