Hello, please find attached the same patch in dpatch format, ready to be put in debian/patches.
Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enr...@debian.org>
#! /bin/sh /usr/share/dpatch/dpatch-run ## 02_lxlauncher-matchbox.dpatch by Enrico Zini <enr...@debian.org> ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Do not segfault if a window manager returns no data for current desktop. @DPATCH@ diff -urNad lxlauncher-0.2~/src/working-area.c lxlauncher-0.2/src/working-area.c --- lxlauncher-0.2~/src/working-area.c 2008-06-15 15:09:45.000000000 +0100 +++ lxlauncher-0.2/src/working-area.c 2009-01-30 13:21:00.000000000 +0000 @@ -94,7 +94,10 @@ if(!data) return FALSE; - current = *(guint32 *)data; + if (len == 0) + current = 0; + else + current = *(guint32 *)data; XFree(data); /* find the _NET_WORKAREA atom */
signature.asc
Description: Digital signature