]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
package/x11r7/xlib_libxshmfence: fix build with glibc 2.27
authorRomain Naour <romain.naour@gmail.com>
Mon, 5 Feb 2018 20:57:12 +0000 (21:57 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 5 Feb 2018 21:53:05 +0000 (22:53 +0100)
commitab9b556f981c6b0d22325455bb47927f109b7584
tree395a0146560b8e56090ca7b23845131fc4d044a2
parent14fdb63804f1548b5d1ab9598100c7f103d4512d
package/x11r7/xlib_libxshmfence: fix build with glibc 2.27

With glibc 2.27 memfd_create() is inside a _GNU_SOURCE guard, so call
AC_USE_SYSTEM_EXTENSIONS to get this defined.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add reference to upstream commit, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/x11r7/xlib_libxshmfence/0001-configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch [new file with mode: 0644]
package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk