Package: muse
Version: 0.8.1a-6.1
Severity: normal
Tags: patch

Hi,

thanks for maintaining muse.
During Ubunut's rebuild test, muse failed to build from source[1] due to 
changed signatures of the c++ string functions in gcc-4.4/new eglibc.

Attached is a patch to fix the problem.

Cheers,
   Stefan.

[1]:
<http://launchpadlibrarian.net/31947671/buildlog_ubuntu-karmic-amd64.muse_0.8.1a-6.1_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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 20_fix_const.dpatch by  <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad muse-0.8.1a~/grepmidi/grepmidi.cpp muse-0.8.1a/grepmidi/grepmidi.cpp
--- muse-0.8.1a~/grepmidi/grepmidi.cpp	2003-10-27 19:57:02.000000000 +0100
+++ muse-0.8.1a/grepmidi/grepmidi.cpp	2009-09-26 16:05:23.000000000 +0200
@@ -280,7 +280,7 @@
 int grepMidi(const char* name)
       {
       curName = name;
-      char*p = strrchr(name, '.');
+      const char *p = strrchr(name, '.');
       FILE* f;
       if (p && strcmp(p, ".gz") == 0) {
             char buffer[512];

Reply via email to