wok-next view wvstreams/stuff/patches/wvstreams-4.6.1-glibc212.patch @ rev 20866

mono: fix build by not enabling Spectre mitigation
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 01 23:19:43 2018 +0300 (2018-07-01)
parents
children
line source
1 http://bugs.gentoo.org/333301
2 https://bugs.archlinux.org/task/27188
4 --- ipstreams/wvunixdgsocket.cc
5 +++ ipstreams/wvunixdgsocket.cc
6 @@ -1,5 +1,5 @@
7 #include "wvunixdgsocket.h"
8 -#ifdef MACOS
9 +#if defined(MACOS) || defined(__GNUC__)
10 #include <sys/types.h>
11 #include <sys/stat.h>
12 #endif
13 --- streams/wvatomicfile.cc
14 +++ streams/wvatomicfile.cc
15 @@ -11,7 +11,8 @@
16 #include "wvfileutils.h"
17 #include "wvstrutils.h"
19 -#ifdef MACOS
20 +#if defined(MACOS) || defined(__GNUC__)
21 +#include <sys/types.h>
22 #include <sys/stat.h>
23 #endif