aboutsummaryrefslogtreecommitdiffstats
path: root/testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-03-25 15:33:36 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-03-25 15:36:29 +0100
commit4e44d1bcfa9acbdab1d9c8e86a363a3db6491928 (patch)
treef18a914feb6271191a01d27e557d74dea3664112 /testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch
parentf7c486c359a63f5fadab9aace1fbbd9e969e318d (diff)
downloadaports-4e44d1bcfa9acbdab1d9c8e86a363a3db6491928.tar.bz2
aports-4e44d1bcfa9acbdab1d9c8e86a363a3db6491928.tar.xz
testing/zfs-grsec: upgrade to 0.6.5.6 and rebase patches
musl patches have been split and send upstream.
Diffstat (limited to 'testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch')
-rw-r--r--testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch b/testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch
new file mode 100644
index 0000000000..81cf4387f0
--- /dev/null
+++ b/testing/zfs-grsec/0008-Set-_DATE_FMT-to-if-not-defined-in-libspl-timestamp..patch
@@ -0,0 +1,28 @@
+From b49e2287871f612167dc40eb0d86e1c8b2d6311e Mon Sep 17 00:00:00 2001
+From: Carlo Landmeter <clandmeter@gmail.com>
+Date: Tue, 1 Mar 2016 16:23:12 +0100
+Subject: [PATCH 8/8] Set _DATE_FMT to '%+' if not defined in
+ libspl/timestamp.c
+
+---
+ lib/libspl/timestamp.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/lib/libspl/timestamp.c b/lib/libspl/timestamp.c
+index a4f4cf4..85b7ecf 100644
+--- a/lib/libspl/timestamp.c
++++ b/lib/libspl/timestamp.c
+@@ -28,6 +28,10 @@
+ #include <langinfo.h>
+ #include "statcommon.h"
+
++#ifndef _DATE_FMT
++#define _DATE_FMT "%+"
++#endif
++
+ /*
+ * Print timestamp as decimal reprentation of time_t value (-T u was specified)
+ * or in date(1) format (-T d was specified).
+--
+2.7.2
+