1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Author: Michael Hudson-Doyle <michael.hudson@ubuntu.com>
Origin: vendor, Ubuntu
Bug-Debian: https://bugs.debian.org/1069449
Description: Fix build on armhf by #undef-ining _FILE_OFFSET_BITS and _TIME_BITS
--- a/src/libtrace/libtrace.c
+++ b/src/libtrace/libtrace.c
@@ -18,6 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _GNU_SOURCE
+#undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
--- a/src/libtracelog/libtracelog.c
+++ b/src/libtracelog/libtracelog.c
@@ -18,6 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#define _GNU_SOURCE
+#undef _FILE_OFFSET_BITS
+#undef _TIME_BITS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
|