this is already fixed in the current development branch, and thus will
be fixed in the next stable yaboot release.

On Thu, Aug 11, 2005 at 12:01:18PM +0200, Andreas Jochens wrote:
> Package: yaboot
> Version: 1.3.13-4
> Severity: serious
> Tags: patch
> 
> When building 'yaboot' on powerpc/unstable,
> I get the following error:
> 
> gcc -Os  -nostdinc -Wall -isystem `gcc -print-file-name=include` 
> -fsigned-char -DVERSION=\"1.3.13\"    -DTEXTADDR=0x200000 -DDEBUG=0 
> -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I 
> ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS 
> -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o lib/strstr.o lib/strstr.c
> lib/strstr.c: In function 'strstr':
> lib/strstr.c:79: error: label at end of compound statement
> make[1]: *** [lib/strstr.o] Error 1
> make[1]: Leaving directory `/yaboot-1.3.13'
> make: *** [debian/stamps/build] Error 2
> 
> The attached patch fixes this.
> 
> Regards
> Andreas Jochens
> 
> diff -urN ../tmp-orig/yaboot-1.3.13/lib/strstr.c ./lib/strstr.c
> --- ../tmp-orig/yaboot-1.3.13/lib/strstr.c    2001-09-20 13:15:31.000000000 
> +0000
> +++ ./lib/strstr.c    2005-08-11 08:56:27.000000000 +0000
> @@ -76,7 +76,8 @@
>             a = *++haystack;
>             if (a == '\0')
>               goto ret0;
> -shloop:          }
> +shloop:            continue;
> +         }
>            while (a != b);
>  
>  jin:   a = *++haystack;
> 

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpxaTzBw2l65.pgp
Description: PGP signature

Reply via email to