File: fix-FTBFS-on-kfreebsd.patch

package info (click to toggle)
libfuse-perl 0.16.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 400 kB
  • ctags: 104
  • sloc: perl: 1,608; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix FTBFS on Debian GNU/kFreeBSD
Origin: vendor
Bug-Debian: http://bugs.debian.org/670808
Forwarded: no
Author: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2012-04-30

--- a/Fuse.xs
+++ b/Fuse.xs
@@ -17,7 +17,7 @@
 #define FUSE_MINOR_VERSION FUSE_FOUND_MINOR_VER
 #endif /* defined(__OpenBSD__) */
 
-#if defined(__linux__) || defined(__sun__)
+#if ( defined(__linux__) || defined(__sun__) || defined(__GNU__) || defined(__GLIBC__) )
 # define STAT_SEC(st, st_xtim) ((st)->st_xtim.tv_sec)
 # define STAT_NSEC(st, st_xtim) ((st)->st_xtim.tv_nsec)
 #else