Package: hardinfo
Version: 0.3.7pre-2
Severity: wishlist
Tags: patch

Your package fails to compile on a MIPS box with a 64-bit kernel
because configure doesn't recognize mips64.  For some reason, this
leads to -I/usr/include/cairo not being added.  A patch is below.


3116:[EMAIL PROTECTED]: ~] uname -a
Linux bigsur 2.6.16-rc5 #8 SMP Thu Mar 2 15:19:49 GMT 2006 mips64 GNU/Linux


> Automatic build of hardinfo_0.3.7pre-2 on bigsur by sbuild/mips 1.75
...
> ./configure
> ToscoConf (version 0.04) for hardinfo version 0.3.7pre
> Running: Linux (OK) Architeture "" not supported.
> touch configure-stamp
> dh_testdir
> /usr/bin/make
> make[1]: Entering directory `/build/tbm/hardinfo-0.3.7pre'
> gcc -Wall -g -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 
> -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
>  -O6    -c -o hardinfo.o hardinfo.c
> In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:23,
>                  from /usr/include/gtk-2.0/gdk/gdk.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:31,
>                  from hardinfo.h:10,
>                  from hardinfo.c:9:
> /usr/include/gtk-2.0/gdk/gdkcolor.h:30:19: error: cairo.h: No such file or 
> directory
> In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:25,
>                  from /usr/include/gtk-2.0/gdk/gdk.h:30,
>                  from /usr/include/gtk-2.0/gtk/gtk.h:31,
>                  from hardinfo.h:10,
>                  from hardinfo.c:9:
> /usr/include/pango-1.0/pango/pangocairo.h:62: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:66: warning: type defaults to 'int' 
> in declaration of 'cairo_font_options_t'
> /usr/include/pango-1.0/pango/pangocairo.h:66: error: expected ';', ',' or ')' 
> before '*' token
> /usr/include/pango-1.0/pango/pangocairo.h:67: error: expected '=', ',', ';', 
> 'asm' or '__attribute__' before '*' token
> /usr/include/pango-1.0/pango/pangocairo.h:75: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:76: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:82: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:85: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:87: error: expected ')' before '*' 
> token
> /usr/include/pango-1.0/pango/pangocairo.h:93: error: expected ')' before '*' 
> token



--- hardinfo-0.3.7pre/configure~        2006-03-08 02:48:17.000000000 +0000
+++ hardinfo-0.3.7pre/configure 2006-03-08 02:48:29.000000000 +0000
@@ -79,7 +79,7 @@
                ARCH="ARCH_PPC" ;;
        x86_64)
                ARCH="ARCH_x86_64" ;;
-       mips)
+       mips*)
                ARCH="ARCH_MIPS" ;;
        parisc*)
                ARCH="ARCH_PARISC" ;;

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to