diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-16 14:51:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-16 14:51:16 +0000 |
commit | 15e77dc1b7e476ce47bb1259a15b428b9e4c8f59 (patch) | |
tree | a494c9e650b16078c1c46531f4d390012a20e954 /testing/zfs-git-grsec/timestamp.patch | |
parent | 257b00a96d4464f4dca9978aedb35165ea54b74e (diff) | |
download | aports-15e77dc1b7e476ce47bb1259a15b428b9e4c8f59.tar.bz2 aports-15e77dc1b7e476ce47bb1259a15b428b9e4c8f59.tar.xz |
Revert "testing/{spl,zfs}-git-grsec: remove due to it broke build servers"
This reverts commit 565d2dc553589877ca5bb16231ab6961b21d4379.
Diffstat (limited to 'testing/zfs-git-grsec/timestamp.patch')
-rw-r--r-- | testing/zfs-git-grsec/timestamp.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/zfs-git-grsec/timestamp.patch b/testing/zfs-git-grsec/timestamp.patch new file mode 100644 index 000000000..68a612faa --- /dev/null +++ b/testing/zfs-git-grsec/timestamp.patch @@ -0,0 +1,16 @@ +uclibc does not support _DATE_FMT, it seems to be a libc only thing +not sure this will work, will need to take a closer look. +http://pubs.opengroup.org/onlinepubs/007904975/basedefs/langinfo.h.html +http://sources.redhat.com/ml/libc-alpha/2000-10/msg00298.html + +--- ./lib/libspl/timestamp.c.orig ++++ ./lib/libspl/timestamp.c +@@ -40,7 +40,7 @@ + + /* We only need to retrieve this once per invocation */ + if (fmt == NULL) +- fmt = nl_langinfo(_DATE_FMT); ++ fmt = nl_langinfo(D_FMT); + + if (timestamp_fmt == UDATE) { + (void) printf("%ld\n", t); |