Package: xosview
Version: 1.8.3+debian-17
Severity: normal
Tags: patch
Hi,
thanks for maintaining xosview.
During Ubuntu's rebuild test, xosview failed to build with gcc-4.4.
The reason for the failure is that the string functions changed
with gcc-4.4/new eglibc for c++.
Attached is a simple patch which fixes the problem.
Cheers,
Stefan.
-- 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
Versions of packages xosview depends on:
ii libc6 2.10.1-0ubuntu12 GNU C Library: Shared libraries
ii libgcc1 1:4.4.1-4ubuntu3 GCC support library
ii libstdc++6 4.4.1-4ubuntu3 The GNU Standard C++ Library v3
ii libx11-6 2:1.2.2-1ubuntu1 X11 client-side library
Versions of packages xosview recommends:
ii xfonts-base 1:1.0.0-6 standard fonts for X
xosview suggests no packages.
-- no debconf information
Index: xosview-1.8.3+debian/linux/lmstemp.cc
===================================================================
--- xosview-1.8.3+debian.orig/linux/lmstemp.cc 2009-09-26 20:14:23.000000000 +0200
+++ xosview-1.8.3+debian/linux/lmstemp.cc 2009-09-26 20:14:19.000000000 +0200
@@ -33,7 +33,7 @@
parent_->done(1);
}
}
- char *p;
+ const char *p;
if ((p = strrchr(caption,'/')) != 0)
_highest = atoi(p+1);
else