diff options
Diffstat (limited to 'meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch')
-rw-r--r-- | meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch b/meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch deleted file mode 100644 index ae4f6def31..0000000000 --- a/meta-systemd/recipes-core/systemd/systemd/paper-over-mkostemp.patch +++ /dev/null @@ -1,19 +0,0 @@ -uclibc does not have mkostemp() so we redefine it to use mkstemp() - -Signed-off-by: Khem Raj <raj.khem@gmail.com> - -Index: git/src/shared/macro.h -=================================================================== ---- git.orig/src/shared/macro.h 2012-08-23 22:13:18.618931300 -0700 -+++ git/src/shared/macro.h 2012-08-23 22:15:05.558935366 -0700 -@@ -27,6 +27,10 @@ - #include <sys/uio.h> - #include <inttypes.h> - -+#ifdef __UCLIBC__ -+/* uclibc does not implement mkostemp GNU extention */ -+#define mkostemp(x,y) mkstemp(x) -+#endif - #define _printf_attr_(a,b) __attribute__ ((format (printf, a, b))) - #define _sentinel_ __attribute__ ((sentinel)) - #define _noreturn_ __attribute__((noreturn)) |