view sources/patches/linux-fixsparc.patch @ 1228:8a88cae14011

Remove RW_SYSTEM_IMAGE option. The gentoo-stage1 build shows how to setup a writeable chroot, and the FAQ says how to build a writeable system image. I'm not shipping two different system iamges, then I'd have to explain it and it's not worth the confusion.
author Rob Landley <rob@landley.net>
date Tue, 24 Aug 2010 02:53:11 -0500
parents 10e435a91df3
children
line wrap: on
line source

The strace build can't find definitions of uid16_t and gid16_t becuase they're
both behind #ifdef KERNEL and get cleaned out by the header export.  Just use
the actual types.

--- a/arch/sparc/include/asm/stat.h
+++ b/arch/sparc/include/asm/stat.h
@@ -53,8 +53,8 @@ struct stat {
 	ino_t		st_ino;
 	mode_t		st_mode;
 	short		st_nlink;
-	uid16_t		st_uid;
-	gid16_t		st_gid;
+	unsigned short	st_uid;
+	unsigned short	st_gid;
 	unsigned short	st_rdev;
 	off_t		st_size;
 	time_t		st_atime;