summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-05-17 06:56:56 +0000
committerMike Frysinger <vapier@gentoo.org>2015-05-17 06:56:56 +0000
commitfd93b9d9025b6b0467e4e3013b3f3c2ee9660362 (patch)
tree57bf69cb7ef755aa86271306efde2b27bac8f961 /sys-boot/yaboot/files
parentRemove old. (diff)
downloadgentoo-2-fd93b9d9025b6b0467e4e3013b3f3c2ee9660362.tar.gz
gentoo-2-fd93b9d9025b6b0467e4e3013b3f3c2ee9660362.tar.bz2
gentoo-2-fd93b9d9025b6b0467e4e3013b3f3c2ee9660362.zip
Also stub out fcntl #527974 by Agostino Sarubbo.
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-boot/yaboot/files')
-rw-r--r--sys-boot/yaboot/files/yaboot-stubfuncs.patch7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-boot/yaboot/files/yaboot-stubfuncs.patch b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
index 6b1d5218251f..8ae522b7d4eb 100644
--- a/sys-boot/yaboot/files/yaboot-stubfuncs.patch
+++ b/sys-boot/yaboot/files/yaboot-stubfuncs.patch
@@ -20,7 +20,7 @@ Stub out some functions that are not provided (and unneeded)
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 @@ Stub out some functions that are not provided (and unneeded)
+ 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();
+}