[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mips build fix



Heya Guido, do you still have the log showing the failure?

It would be nice to include that when I submit this upstream.

I'm also really curious why it fails for MIPS and not others?  This
isn't in mips-specific code...

Tks,
Jeff Bailey

On Mon, Jul 21, 2003 at 06:37:39PM +0200, Guido Guenther wrote:
> Hi,
> attache patch fixes the build of 2.3.2-1 on mips(el).
>  -- Guido

> #! /bin/sh -e
> 
> # DP: include string.h to get a memcpy prototype and NULL defined
> # DP: Author: Guido Guenther
> # DP: Upstream status: Not submitted
> # DP: Date: 2003-07-19
> 
> if [ $# -ne 2 ]; then
>     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
>     exit 1
> fi
> case "$1" in
>     -patch) patch -d "$2" -f --no-backup-if-mismatch -p0 < $0;;
>     -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
>     *)
> 	echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
> 	exit 1
> esac
> exit 0
> 
> Index: sysdeps/unix/sysv/linux/futimes.c
> ===================================================================
> RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/futimes.c,v
> retrieving revision 1.4
> diff -u -p -u -r1.4 futimes.c
> --- sysdeps/unix/sysv/linux/futimes.c	12 Jul 2003 22:50:45 -0000	1.4
> +++ sysdeps/unix/sysv/linux/futimes.c	19 Jul 2003 09:06:02 -0000
> @@ -20,6 +20,7 @@
>  #include <errno.h>
>  #include <sysdep.h>
>  #include <utime.h>
> +#include <string.h>
>  #include <sys/time.h>
>  #include <stdio-common/_itoa.h>
>  




-- 
Breathe into my hands, I'll cup them like a glass to drink from...
 - Tattle Tale



Reply to: