[Goodies-dev] [Bug 3811] [FreeBSD] Fix build on amd64

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Jan 21 20:39:17 CET 2008


DO NOT REPLY TO THIS EMAIL.  Also, do not reply via email to the person
whose email is mentioned below.  To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=3811


corsac at debian.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |corsac at debian.org




------- Comment #2 from corsac at debian.org  2008-01-21 19:39 UTC -------
This patch doesn't seem sufficient, at least on Debian/kfreebsd-amd64:

cc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-battery-plugin\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale\"    -DPNG_NO_MMX_CODE
-I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/atk-1.0   -DPNG_NO_MMX_CODE
-I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/atk-1.0   -I/usr/include/xfce4 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -DPNG_NO_MMX_CODE -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/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12    -g -Wall -O2 -c -o
xfce4_battery_plugin-battery.o `test -f 'battery.c' || echo './'`battery.c
In file included from battery.c:29:
/usr/include/machine/apm_bios.h:8:3: error: #error This header is not available
for amd64
battery.c: In function ‘update_apm_status’:
battery.c:313: error: storage size of ‘apm’ isn’t known
battery.c:313: warning: unused variable ‘apm’
make[3]: *** [xfce4_battery_plugin-battery.o] Error 1
make[3]: Leaving directory
`/home/corsac/xfce/xfce4-battery-plugin-0.5.0/panel-plugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/corsac/xfce/xfce4-battery-plugin-0.5.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/corsac/xfce/xfce4-battery-plugin-0.5.0'
make: *** [debian/stamp-makefile-build] Error 2
debuild: fatal error at line 1237:
debian/rules build failed


Anyway, the patch comment says it enables apm only for i386 but I can't see
anything in it doing that.
Is it the good one?

Cheers


-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Goodies-dev mailing list