Bug#568339: patch for three compiler warnings

2010-02-14 Thread Alex Perry
This patch resolves the three compiler warnings in the function
xft_setfont at draw.c:5476 that was triggering the segfault in
libfontconfig via libXft.  MGP now runs the presentation on which I
originally also observed the crash.  Could we get those into a debian
patched release please?

$ diff -u mgp-1.13a+upstream20090219/draw.c mgp-1.13a+local/draw.c
--- mgp-1.13a+upstream20090219/draw.c   2009-02-15 03:35:19.0 -0800
+++ mgp-1.13a+local/draw.c  2010-02-14 14:42:30.0 -0800
@@ -5425,7 +5425,6 @@
char *p, *p2;
char style[100];
char font[100];
-   int stlen;

bzero(style, sizeof(style));
bzero(font, sizeof(font));
@@ -5471,12 +5470,12 @@
XFT_FAMILY, XftTypeString, font,
XFT_ENCODING, XftTypeString, registry,
XFT_STYLE, XftTypeString, style,
-   XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
+   XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, (char*)0);
} else {
xftfont = XftFontOpen(display, screen,
XFT_FAMILY, XftTypeString, font,
XFT_ENCODING, XftTypeString, registry,
-   XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
+   XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, (char*)0);
}
if (xftfont == 0) {
free(xfont);



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/161e37d01002141501g13f2052bs65f90a6865846...@mail.gmail.com



wavtools ... -D /dev/something option

2003-04-02 Thread Alex Perry

I'm running a locally patched version of "wavtools"
that trivially adds the "-D" option to change device.
It defaults to "/dev/dsp" for backward compatibility.
If you are interested in incorporating it into the official
package, let me know and I'll make a patch to implement it
and file it as a bug against the package for y'all.
In general, I'm happy just to keep it a local change.

Alex.