summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch')
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch37
1 files changed, 18 insertions, 19 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch b/meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch
index 6dfd16fd96..b55fbbd6e0 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.33/posix_fallocate.patch
@@ -101,8 +101,8 @@ Upstream-Status: Pending
101 101
102Index: git/include/fcntl.h 102Index: git/include/fcntl.h
103=================================================================== 103===================================================================
104--- git.orig/include/fcntl.h 2012-06-26 14:51:04.000000000 -0700 104--- git.orig/include/fcntl.h 2012-09-02 17:00:26.000000000 -0700
105+++ git/include/fcntl.h 2012-06-26 14:51:36.361767240 -0700 105+++ git/include/fcntl.h 2012-09-02 17:01:51.567076705 -0700
106@@ -210,9 +210,7 @@ 106@@ -210,9 +210,7 @@
107 107
108 #endif 108 #endif
@@ -116,22 +116,21 @@ Index: git/include/fcntl.h
116 116
117Index: git/libc/sysdeps/linux/common/Makefile.in 117Index: git/libc/sysdeps/linux/common/Makefile.in
118=================================================================== 118===================================================================
119--- git.orig/libc/sysdeps/linux/common/Makefile.in 2012-06-26 14:51:04.000000000 -0700 119--- git.orig/libc/sysdeps/linux/common/Makefile.in 2012-09-02 17:00:26.000000000 -0700
120+++ git/libc/sysdeps/linux/common/Makefile.in 2012-06-26 14:52:33.153769997 -0700 120+++ git/libc/sysdeps/linux/common/Makefile.in 2012-09-02 17:03:02.739079369 -0700
121@@ -81,7 +81,8 @@ 121@@ -81,7 +81,7 @@
122 sched_get_priority_max.c sched_get_priority_min.c sched_getscheduler.c \ 122 sched_get_priority_max.c sched_get_priority_min.c sched_getscheduler.c \
123 sched_rr_get_interval.c sched_setparam.c sched_setscheduler.c sigqueue.c 123 sched_rr_get_interval.c sched_setparam.c sched_setscheduler.c sigqueue.c
124 # clock_getcpuclockid|clock_nanosleep|mq_timedreceive|mq_timedsend|posix_fadvise|posix_fallocate|posix_madvise|posix_memalign|posix_mem_offset|posix_spawnattr_destroy|posix_spawnattr_init|posix_spawnattr_getflags|posix_spawnattr_setflags|posix_spawnattr_getpgroup|posix_spawnattr_setpgroup|posix_spawnattr_getschedparam|posix_spawnattr_setschedparam|posix_spawnattr_getschedpolicy|posix_spawnattr_setschedpolicy|posix_spawnattr_getsigdefault|posix_spawnattr_setsigdefault|posix_spawnattr_getsigmask|posix_spawnattr_setsigmask|posix_spawnattr_init|posix_spawnattr_setflags|posix_spawnattr_setpgroup|posix_spawnattr_setschedparam|posix_spawnattr_setschedpolicy|posix_spawnattr_setsigdefault|posix_spawnattr_setsigmask|posix_spawn_file_actions_addclose|posix_spawn_file_actions_addopen|posix_spawn_file_actions_adddup2|posix_spawn_file_actions_addopen|posix_spawn_file_actions_destroy|posix_spawn_file_actions_init|posix_spawn_file_actions_init|posix_spawn|posix_spawnp|posix_spawnp|posix_typed_mem_get_info|pthread_mutex_timedlock|sem_timedwait 124 # clock_getcpuclockid|clock_nanosleep|mq_timedreceive|mq_timedsend|posix_fadvise|posix_fallocate|posix_madvise|posix_memalign|posix_mem_offset|posix_spawnattr_destroy|posix_spawnattr_init|posix_spawnattr_getflags|posix_spawnattr_setflags|posix_spawnattr_getpgroup|posix_spawnattr_setpgroup|posix_spawnattr_getschedparam|posix_spawnattr_setschedparam|posix_spawnattr_getschedpolicy|posix_spawnattr_setschedpolicy|posix_spawnattr_getsigdefault|posix_spawnattr_setsigdefault|posix_spawnattr_getsigmask|posix_spawnattr_setsigmask|posix_spawnattr_init|posix_spawnattr_setflags|posix_spawnattr_setpgroup|posix_spawnattr_setschedparam|posix_spawnattr_setschedpolicy|posix_spawnattr_setsigdefault|posix_spawnattr_setsigmask|posix_spawn_file_actions_addclose|posix_spawn_file_actions_addopen|posix_spawn_file_actions_adddup2|posix_spawn_file_actions_addopen|posix_spawn_file_actions_destroy|posix_spawn_file_actions_init|posix_spawn_file_actions_init|posix_spawn|posix_spawnp|posix_spawnp|posix_typed_mem_get_info|pthread_mutex_timedlock|sem_timedwait
125-CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise64.c posix_fadvise.c 125-CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise64.c posix_fadvise.c posix_madvise.c
126+CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise64.c posix_fadvise.c \ 126+CSRC-$(UCLIBC_HAS_ADVANCED_REALTIME) += posix_fadvise64.c posix_fadvise.c posix_madvise.c posix_fallocate.c posix_fallocate64.c
127+ posix_fallocate.c posix_fallocate64.c
128 CSRC-$(UCLIBC_SUSV4_LEGACY) += utime.c 127 CSRC-$(UCLIBC_SUSV4_LEGACY) += utime.c
129 CSRC-$(UCLIBC_HAS_EPOLL) += epoll.c 128 CSRC-$(UCLIBC_HAS_EPOLL) += epoll.c
130 CSRC-$(UCLIBC_HAS_XATTR) += xattr.c 129 CSRC-$(UCLIBC_HAS_XATTR) += xattr.c
131Index: git/libc/sysdeps/linux/common/bits/kernel-features.h 130Index: git/libc/sysdeps/linux/common/bits/kernel-features.h
132=================================================================== 131===================================================================
133--- git.orig/libc/sysdeps/linux/common/bits/kernel-features.h 2012-06-26 14:51:04.000000000 -0700 132--- git.orig/libc/sysdeps/linux/common/bits/kernel-features.h 2012-09-02 17:00:26.000000000 -0700
134+++ git/libc/sysdeps/linux/common/bits/kernel-features.h 2012-06-26 14:51:36.361767240 -0700 133+++ git/libc/sysdeps/linux/common/bits/kernel-features.h 2012-09-02 17:01:51.567076705 -0700
135@@ -494,6 +494,14 @@ 134@@ -494,6 +494,14 @@
136 # define __ASSUME_PRIVATE_FUTEX 1 135 # define __ASSUME_PRIVATE_FUTEX 1
137 #endif 136 #endif
@@ -150,7 +149,7 @@ Index: git/libc/sysdeps/linux/common/bits/kernel-features.h
150Index: git/libc/sysdeps/linux/common/posix_fallocate.c 149Index: git/libc/sysdeps/linux/common/posix_fallocate.c
151=================================================================== 150===================================================================
152--- /dev/null 1970-01-01 00:00:00.000000000 +0000 151--- /dev/null 1970-01-01 00:00:00.000000000 +0000
153+++ git/libc/sysdeps/linux/common/posix_fallocate.c 2012-06-26 14:51:36.373767243 -0700 152+++ git/libc/sysdeps/linux/common/posix_fallocate.c 2012-09-02 17:01:51.579076667 -0700
154@@ -0,0 +1,43 @@ 153@@ -0,0 +1,43 @@
155+/* vi: set sw=4 ts=4: */ 154+/* vi: set sw=4 ts=4: */
156+/* 155+/*
@@ -198,7 +197,7 @@ Index: git/libc/sysdeps/linux/common/posix_fallocate.c
198Index: git/libc/sysdeps/linux/common/posix_fallocate64.c 197Index: git/libc/sysdeps/linux/common/posix_fallocate64.c
199=================================================================== 198===================================================================
200--- /dev/null 1970-01-01 00:00:00.000000000 +0000 199--- /dev/null 1970-01-01 00:00:00.000000000 +0000
201+++ git/libc/sysdeps/linux/common/posix_fallocate64.c 2012-06-26 14:51:36.373767243 -0700 200+++ git/libc/sysdeps/linux/common/posix_fallocate64.c 2012-09-02 17:01:51.579076667 -0700
202@@ -0,0 +1,39 @@ 201@@ -0,0 +1,39 @@
203+/* vi: set sw=4 ts=4: */ 202+/* vi: set sw=4 ts=4: */
204+/* 203+/*
@@ -241,8 +240,8 @@ Index: git/libc/sysdeps/linux/common/posix_fallocate64.c
241+#endif 240+#endif
242Index: git/libc/sysdeps/linux/common/stubs.c 241Index: git/libc/sysdeps/linux/common/stubs.c
243=================================================================== 242===================================================================
244--- git.orig/libc/sysdeps/linux/common/stubs.c 2012-06-26 14:51:04.000000000 -0700 243--- git.orig/libc/sysdeps/linux/common/stubs.c 2012-09-02 17:00:26.000000000 -0700
245+++ git/libc/sysdeps/linux/common/stubs.c 2012-06-26 14:53:48.997773660 -0700 244+++ git/libc/sysdeps/linux/common/stubs.c 2012-09-02 17:01:51.579076667 -0700
246@@ -209,6 +209,10 @@ 245@@ -209,6 +209,10 @@
247 make_stub(madvise) 246 make_stub(madvise)
248 #endif 247 #endif
@@ -256,8 +255,8 @@ Index: git/libc/sysdeps/linux/common/stubs.c
256 #endif 255 #endif
257Index: git/test/.gitignore 256Index: git/test/.gitignore
258=================================================================== 257===================================================================
259--- git.orig/test/.gitignore 2012-06-26 14:51:04.000000000 -0700 258--- git.orig/test/.gitignore 2012-09-02 17:00:26.000000000 -0700
260+++ git/test/.gitignore 2012-06-26 14:51:36.373767243 -0700 259+++ git/test/.gitignore 2012-09-02 17:01:51.579076667 -0700
261@@ -302,6 +302,7 @@ 260@@ -302,6 +302,7 @@
262 unistd/getopt 261 unistd/getopt
263 unistd/getopt_long 262 unistd/getopt_long
@@ -268,8 +267,8 @@ Index: git/test/.gitignore
268 unistd/vfork 267 unistd/vfork
269Index: git/test/unistd/Makefile.in 268Index: git/test/unistd/Makefile.in
270=================================================================== 269===================================================================
271--- git.orig/test/unistd/Makefile.in 2012-06-26 14:51:05.000000000 -0700 270--- git.orig/test/unistd/Makefile.in 2012-09-02 17:00:26.000000000 -0700
272+++ git/test/unistd/Makefile.in 2012-06-26 14:51:36.373767243 -0700 271+++ git/test/unistd/Makefile.in 2012-09-02 17:01:51.579076667 -0700
273@@ -4,6 +4,9 @@ 272@@ -4,6 +4,9 @@
274 ifeq ($(UCLIBC_HAS_LFS),) 273 ifeq ($(UCLIBC_HAS_LFS),)
275 TESTS_DISABLED := tst-preadwrite64 274 TESTS_DISABLED := tst-preadwrite64
@@ -283,7 +282,7 @@ Index: git/test/unistd/Makefile.in
283Index: git/test/unistd/tst-posix_fallocate.c 282Index: git/test/unistd/tst-posix_fallocate.c
284=================================================================== 283===================================================================
285--- /dev/null 1970-01-01 00:00:00.000000000 +0000 284--- /dev/null 1970-01-01 00:00:00.000000000 +0000
286+++ git/test/unistd/tst-posix_fallocate.c 2012-06-26 14:51:36.373767243 -0700 285+++ git/test/unistd/tst-posix_fallocate.c 2012-09-02 17:01:51.579076667 -0700
287@@ -0,0 +1,121 @@ 286@@ -0,0 +1,121 @@
288+#include <fcntl.h> 287+#include <fcntl.h>
289+#include <sys/stat.h> 288+#include <sys/stat.h>