vapier 15/05/17 06:56:56 Modified: yaboot-stubfuncs.patch Log: Also stub out fcntl #527974 by Agostino Sarubbo. (Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.5 sys-boot/yaboot/files/yaboot-stubfuncs.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot/files/yaboot-stubfuncs.patch?rev=1.5&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot/files/yaboot-stubfuncs.patch?rev=1.5&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-boot/yaboot/files/yaboot-stubfuncs.patch?r1=1.4&r2=1.5 Index: yaboot-stubfuncs.patch =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-boot/yaboot/files/yaboot-stubfuncs.patch,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- yaboot-stubfuncs.patch 17 May 2015 05:02:02 -0000 1.4 +++ yaboot-stubfuncs.patch 17 May 2015 06:56:56 -0000 1.5 @@ -20,7 +20,7 @@ int posix_memalign(void **memptr, size_t alignment, size_t size) --- lib/nonstd.c +++ lib/nonstd.c -@@ -65,3 +65,203 @@ +@@ -65,3 +65,208 @@ { return NULL; } @@ -89,6 +89,11 @@ + return 0; +} + ++// ext2 libs only use this to turn off caches currently ++int fcntl(int fd, int cmd, ...) { ++ return 0; ++} ++ +void exit(int status) { + prom_exit(); +}
