Bug#429509: wmmixer: Segfault on AMD64

2007-06-18 Thread Florent Bayle
Package: wmmixer
Version: 1.5-7
Severity: serious
Tags: patch

Hi,

The version of wmmixer currently in unstable segfaults on AMD64.
Here is the backtrace :
Program received signal SIGSEGV, Segmentation fault.
#0  0x2aab1500fddb in free () from /lib/libc.so.6
#1  0x004029b9 in XHandler::initIcons (this=0x60c010, num=25) at 
xhandler.cc:365
#2  0x004034ec in XHandler::init (this=0x60c010, argc=1, 
argv=0x7fff969e6c98, num_channels=25) at xhandler.cc:75
#3  0x00405670 in WMMixer::init (this=0x7fff969e6a60, argc=1, 
argv=0x7fff969e6c98) at wmmixer.cc:119
#4  0x004056f2 in main (argc=1, argv=0x7fff969e6c98) at wmmixer.cc:579

I've attached a patch to fix this problem to this mail.

-- 
Florent
--- wmmixer-1.5.old/xhandler.cc
+++ wmmixer-1.5/xhandler.cc
@@ -24,6 +24,7 @@
   strcpy(backcolor_name_, BACKCOLOR);
 
   button_state_ = 0;
+  icon_list_ = NULL;
 }
 
 //


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


Bug#384824: galternatives: FTBFS: bashisms in build scripts

2006-08-26 Thread Florent Bayle
Package: galternatives
Version: 0.13.3
Severity: important
Justification: Policy 10.4

Hi,

There was a problem while autobuilding your package:

> Automatic build of galternatives_0.13.3 on saturne by sbuild/amd64 85
> Build started at 20060827-0239
> **

[...]

> /bin/sh translations/update-translations.sh
> Generating C format header file for translation.
> Wrote ../descriptions/x-terminal-emulator.control.in.h
> cs:
> . done.
> es:
> . done.
> fr:
> . done.
> sv:
> . done.
> pt_BR:
> . done.
> Merging translations into galternatives.desktop.
> ./merge-translations.sh: 8: Syntax error: Bad substitution
> make: *** [pre-build] Error 2
> **
> Build finished at 20060827-0239
> FAILED [dpkg-buildpackage died]

From  merge-translations.sh :
for desc in descriptions/*.in; do
intltool-merge -d translations ${desc} ${desc/.in/}
done

The problem is that ${desc/.in/} is not POSIX, and this make the build fail if
you're not using bash as sh.

-- 
Florent


pgpNxshThjVDz.pgp
Description: PGP signature