File: lfs-fixes.patch

package info (click to toggle)
firejail 0.9.78-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,336 kB
  • sloc: ansic: 47,244; exp: 10,586; sh: 1,499; makefile: 684; python: 505; awk: 32
file content (27 lines) | stat: -rw-r--r-- 765 bytes parent folder | download | duplicates (2)
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>