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

mips build fix



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>
 

Attachment: pgpI1wgfiY6mj.pgp
Description: PGP signature


Reply to: