diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-03-16 20:40:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-20 09:59:32 +0000 |
commit | 35b28399d5ac6935d6fcfcd4dfa4aca5caafcc5e (patch) | |
tree | 13bd30da9e4083201b50ecdc5ff751a9217ed9c1 /meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch | |
parent | 9a6b5496a427a1c733fbe5b73e7a4ac95b4df17b (diff) | |
download | poky-35b28399d5ac6935d6fcfcd4dfa4aca5caafcc5e.tar.gz |
dpkg: Backport riscv support
Refresh patches with devtool
(From OE-Core rev: 6d21977c9d1cf00b102a58e28797250b9a853caf)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch')
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch b/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch index d56b8a69a3..d48386647e 100644 --- a/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch +++ b/meta/recipes-devtools/dpkg/dpkg/glibc2.5-sync_file_range.patch | |||
@@ -1,12 +1,17 @@ | |||
1 | From 9d260d408f9e17abd1d1dccd685bd7e80a3655a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Donn Seeley <donn.seeley@windriver.com> | ||
3 | Date: Tue, 25 Feb 2014 17:44:04 +0800 | ||
4 | Subject: [PATCH] dpkg: fix a link problem for dpkg-native on CentOS 5.8 | ||
5 | |||
1 | CentOS 5.8 kernels and headers support the sync_file_range() system call, | 6 | CentOS 5.8 kernels and headers support the sync_file_range() system call, |
2 | but glibc 2.5 doesn't provide the syscall stub. It appears that this | 7 | but glibc 2.5 doesn't provide the syscall stub. It appears that this |
3 | problem is known but will never be fixed: | 8 | problem is known but will never be fixed: |
4 | 9 | ||
5 | https://bugzilla.redhat.com/show_bug.cgi?id=518581 | 10 | https://bugzilla.redhat.com/show_bug.cgi?id=518581 |
6 | 11 | ||
7 | Bug 518581 - [RHEL5] glibc misses sync_file_range syscall interface | 12 | Bug 518581 - [RHEL5] glibc misses sync_file_range syscall interface |
8 | 13 | ||
9 | Status: CLOSED CANTFIX | 14 | Status: CLOSED CANTFIX |
10 | Last Closed: 2009-11-22 22:19:55 | 15 | Last Closed: 2009-11-22 22:19:55 |
11 | 16 | ||
12 | Kirby Zhou 2009-08-20 23:37:55 EDT | 17 | Kirby Zhou 2009-08-20 23:37:55 EDT |
@@ -60,13 +65,16 @@ Upstream-Status: Inappropriate [everyone else builds on newer hosts :-)] | |||
60 | 65 | ||
61 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> | 66 | Signed-off-by: Donn Seeley <donn.seeley@windriver.com> |
62 | Signed-off-by: Lei Liu <lei.liu2@windriver.com> | 67 | Signed-off-by: Lei Liu <lei.liu2@windriver.com> |
68 | |||
63 | --- | 69 | --- |
64 | src/archives.c | 4 ++-- | 70 | src/archives.c | 4 ++-- |
65 | 1 file changed, 2 insertions(+), 2 deletions(-) | 71 | 1 file changed, 2 insertions(+), 2 deletions(-) |
66 | 72 | ||
73 | diff --git a/src/archives.c b/src/archives.c | ||
74 | index 4b2fc92..a92b795 100644 | ||
67 | --- a/src/archives.c | 75 | --- a/src/archives.c |
68 | +++ b/src/archives.c | 76 | +++ b/src/archives.c |
69 | @@ -75,7 +75,7 @@ | 77 | @@ -69,7 +69,7 @@ fd_writeback_init(int fd) |
70 | /* Ignore the return code as it should be considered equivalent to an | 78 | /* Ignore the return code as it should be considered equivalent to an |
71 | * asynchronous hint for the kernel, we are doing an fsync() later on | 79 | * asynchronous hint for the kernel, we are doing an fsync() later on |
72 | * anyway. */ | 80 | * anyway. */ |
@@ -75,7 +83,7 @@ Signed-off-by: Lei Liu <lei.liu2@windriver.com> | |||
75 | sync_file_range(fd, 0, 0, SYNC_FILE_RANGE_WRITE); | 83 | sync_file_range(fd, 0, 0, SYNC_FILE_RANGE_WRITE); |
76 | #elif defined(HAVE_POSIX_FADVISE) | 84 | #elif defined(HAVE_POSIX_FADVISE) |
77 | posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED); | 85 | posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED); |
78 | @@ -1179,7 +1179,7 @@ | 86 | @@ -1078,7 +1078,7 @@ tarobject(void *ctx, struct tar_entry *ti) |
79 | return 0; | 87 | return 0; |
80 | } | 88 | } |
81 | 89 | ||
@@ -84,3 +92,6 @@ Signed-off-by: Lei Liu <lei.liu2@windriver.com> | |||
84 | static void | 92 | static void |
85 | tar_writeback_barrier(struct fileinlist *files, struct pkginfo *pkg) | 93 | tar_writeback_barrier(struct fileinlist *files, struct pkginfo *pkg) |
86 | { | 94 | { |
95 | -- | ||
96 | 2.16.2 | ||
97 | |||