Package: kudzu
Version: 1.1.67-1
Severity: normal
Tags: patch

When building 'kudzu' on ppc64/unstable with gcc-4.0,
I get the following error:

cc -c  -Wall -D_GNU_SOURCE -g -I. -DVERSION=\"1.1.67\" -fpic -o vio.o vio.c
vio.c: In function 'vioProbe':
vio.c:183: error: label at end of compound statement
vio.c:130: warning: unused variable 'ptr'
vio.c:130: warning: unused variable 'model'
make[1]: *** [vio.o] Error 1
make[1]: Leaving directory `/kudzu-1.1.67'
make: *** [build-stamp] Error 2

With the attached patch 'kudzu' can be compiled
on ppc64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/kudzu-1.1.67/vio.c ./vio.c
--- ../tmp-orig/kudzu-1.1.67/vio.c      2004-05-10 17:57:00.000000000 +0000
+++ ./vio.c     2005-08-05 17:54:56.000000000 +0000
@@ -179,8 +179,8 @@
            }
        }
 
-vethdone:
     } 
+vethdone:
 
     if (probeClass & CLASS_CDROM) {
        char *buf, *ptr, *b;
diff -urN ../tmp-orig/kudzu-1.1.67/hwconf.c ./hwconf.c
--- ../tmp-orig/kudzu-1.1.67/hwconf.c   2005-08-06 07:55:29.000000000 +0000
+++ ./hwconf.c  2005-08-05 17:53:38.000000000 +0000
@@ -56,9 +56,7 @@
 int removedMouse = 0;
 
 static int rhgb = 0;
-static char *module_file = NULL;
 static char *kernel_ver = NULL;
-static float kernel_release;
 
 void startNewt()
 {


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

Reply via email to