[Pkg-lxde-maintainers] Bug#585969: lxtask: FTBFS on kfreebsd-*: expected identifier or '(' before numeric constant

Cyril Brulebois kibi at debian.org
Tue Jun 15 09:19:44 UTC 2010


Source: lxtask
Version: 0.1.3-1
Severity: important
Tags: patch
User: debian-bsd at lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on GNU/kFreeBSD:
| make[3]: Entering directory `/build/buildd-lxtask_0.1.3-1-kfreebsd-amd64-9XdDVu/lxtask-0.1.3/src'
| gcc -DHAVE_CONFIG_H -I. -I.. -I../include -DG_LOG_DOMAIN=\"xfce4-taskmanager\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"   -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -g -O2 -c -o lxtask-main.o `test -f 'main.c' || echo './'`main.c
| main.c:54: error: expected identifier or '(' before numeric constant
| main.c: In function 'main':
| main.c:68: error: lvalue required as left operand of assignment
| make[3]: *** [lxtask-main.o] Error 1

The issue being PAGE_SIZE, which is defined already.

I'm attaching the patch I came up with, which seems to solve this FTBFS.
Thanks for considering.

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lxtask+kbsd.diff
Type: text/x-diff
Size: 3450 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lxde-maintainers/attachments/20100615/d862a18d/attachment-0001.diff>


More information about the Pkg-lxde-maintainers mailing list