aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/util-linux/patches/002-mkostemp.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-11-30 22:11:09 +0000
committerLuka Perkov <luka@openwrt.org>2014-11-30 22:11:09 +0000
commit3534e26463e74586700800ca96f1443da338832d (patch)
tree96617913cbae7d5a97b1ae49167bf4921b980598 /package/utils/util-linux/patches/002-mkostemp.patch
parent62100c31d60d1af9831f9cb85bc00cd019f1170e (diff)
downloadupstream-3534e26463e74586700800ca96f1443da338832d.tar.gz
upstream-3534e26463e74586700800ca96f1443da338832d.tar.bz2
upstream-3534e26463e74586700800ca96f1443da338832d.zip
util-linux: update to 2.25.2
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43443
Diffstat (limited to 'package/utils/util-linux/patches/002-mkostemp.patch')
-rw-r--r--package/utils/util-linux/patches/002-mkostemp.patch27
1 files changed, 4 insertions, 23 deletions
diff --git a/package/utils/util-linux/patches/002-mkostemp.patch b/package/utils/util-linux/patches/002-mkostemp.patch
index 0ad84722d2..0281842300 100644
--- a/package/utils/util-linux/patches/002-mkostemp.patch
+++ b/package/utils/util-linux/patches/002-mkostemp.patch
@@ -16,20 +16,21 @@ Patches revert upstream changes in order to support older
machines.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+---
--- a/configure.ac
+++ b/configure.ac
-@@ -299,6 +299,7 @@ AC_CHECK_FUNCS([ \
+@@ -315,6 +315,7 @@ AC_CHECK_FUNCS([ \
llseek \
lseek64 \
mempcpy \
+ mkostemp \
nanosleep \
+ open_memstream \
personality \
- posix_fadvise \
--- a/include/c.h
+++ b/include/c.h
-@@ -236,6 +236,13 @@ static inline int dirfd(DIR *d)
+@@ -233,6 +233,13 @@ static inline int dirfd(DIR *d)
#endif
/*
@@ -43,23 +44,3 @@ Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* MAXHOSTNAMELEN replacement
*/
static inline size_t get_hostname_max(void)
---- a/lib/randutils.c
-+++ b/lib/randutils.c
-@@ -16,6 +16,7 @@
- #include <sys/syscall.h>
-
- #include "randutils.h"
-+#include "c.h"
-
- #ifdef HAVE_TLS
- #define THREAD_LOCAL static __thread
---- a/lib/wholedisk.c
-+++ b/lib/wholedisk.c
-@@ -10,6 +10,7 @@
-
- #include "blkdev.h"
- #include "wholedisk.h"
-+#include "c.h"
-
- int is_whole_disk_fd(int fd, const char *name)
- {