]> git.pld-linux.org Git - packages/gcc.git/blob - gcc-linux-mount.patch
- up to 9.5.0
[packages/gcc.git] / gcc-linux-mount.patch
1 --- gcc-9.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc.orig     2022-05-27 09:21:13.287390967 +0200
2 +++ gcc-9.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc  2022-09-25 15:24:41.297783298 +0200
3 @@ -58,6 +58,7 @@
4  #endif
5  
6  #if SANITIZER_LINUX
7 +#define _LINUX_MOUNT_H 1 /* rely on sys/mount.h */
8  #include <malloc.h>
9  #include <mntent.h>
10  #include <netinet/ether.h>
11 --- gcc-9.5.0/libgo/sysinfo.c.orig      2022-05-27 09:21:13.143390262 +0200
12 +++ gcc-9.5.0/libgo/sysinfo.c   2022-09-25 20:58:40.739220326 +0200
13 @@ -131,6 +131,8 @@
14  #endif
15  #if defined(HAVE_SYS_MOUNT_H)
16  #include <sys/mount.h>
17 +#elif defined(HAVE_LINUX_FS_H)
18 +#include <linux/fs.h>
19  #endif
20  #if defined(HAVE_SYS_VFS_H)
21  #include <sys/vfs.h>
22 @@ -150,9 +152,6 @@
23  #if defined(HAVE_LINUX_ETHER_H)
24  #include <linux/ether.h>
25  #endif
26 -#if defined(HAVE_LINUX_FS_H)
27 -#include <linux/fs.h>
28 -#endif
29  #if defined(HAVE_LINUX_REBOOT_H)
30  #include <linux/reboot.h>
31  #endif
This page took 0.029121 seconds and 3 git commands to generate.