aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libxshmfence/extensions.patch
blob: 461fe832ca0d4cbb2348042fd5a38fea99366d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
With glibc 2.27 memfd_create is behind a _GNU_SOURCE guard, so call
AC_USE_SYSTEM_EXTENSIONS to get that defined.

Upstream-Status: Submitted
Signed-off-by: Ross Burton <ross.burton@intel.com>

Index: libxshmfence-1.3/configure.ac
===================================================================
--- libxshmfence-1.3.orig/configure.ac
+++ libxshmfence-1.3/configure.ac
@@ -30,6 +30,8 @@ AC_CONFIG_HEADERS([config.h])
 
 AC_USE_SYSTEM_EXTENSIONS
 
+AC_USE_SYSTEM_EXTENSIONS
+
 # Initialize Automake
 AM_INIT_AUTOMAKE([foreign dist-bzip2])