- Add u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
* Fixes build with GLIBC 2.27. (bnc#1079830) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libxshmfence?expand=0&rev=11
This commit is contained in:
parent
0af95df3be
commit
4c0f3122ae
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 7 14:33:29 UTC 2018 - msrb@suse.com
|
||||
|
||||
- Add u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
|
||||
* Fixes build with GLIBC 2.27. (bnc#1079830)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 5 16:44:31 UTC 2015 - sndirsch@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libxshmfence
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -29,6 +29,7 @@ Url: http://xorg.freedesktop.org/
|
||||
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libxshmfence/
|
||||
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch1: u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: autoconf >= 2.60
|
||||
@ -70,6 +71,7 @@ in %name.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
|
31
u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
Normal file
31
u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch
Normal file
@ -0,0 +1,31 @@
|
||||
Git-commit: 0b550a4e7acf02d3478602848f6afbfcbfb0d4b2
|
||||
Author: Ross Burton <ross.burton@intel.com>
|
||||
Subject: configure.ac: call AC_USE_SYSTEM_EXTENSIONS
|
||||
Signed-off-by: Michal Srb <msrb@suse.com>
|
||||
References: bnc#1079830
|
||||
Patch-mainline: Upstream
|
||||
|
||||
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: Ross Burton <ross.burton@intel.com>
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 55772d0..ed77e6d 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -28,6 +28,8 @@ AC_INIT([libxshmfence], [1.2],
|
||||
AC_CONFIG_SRCDIR([Makefile.am])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
+AC_USE_SYSTEM_EXTENSIONS
|
||||
+
|
||||
# Initialize Automake
|
||||
AM_INIT_AUTOMAKE([foreign dist-bzip2])
|
||||
|
||||
--
|
||||
2.13.6
|
||||
|
Loading…
x
Reference in New Issue
Block a user