Hello community, here is the log from the commit of package libxshmfence for openSUSE:Factory checked in at 2018-02-14 09:18:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxshmfence (Old) and /work/SRC/openSUSE:Factory/.libxshmfence.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libxshmfence" Wed Feb 14 09:18:48 2018 rev:5 rq:573735 version:1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libxshmfence/libxshmfence.changes 2015-01-09 01:11:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libxshmfence.new/libxshmfence.changes 2018-02-14 09:18:52.867184671 +0100 @@ -1,0 +2,6 @@ +Wed Feb 7 14:33:29 UTC 2018 - [email protected] + +- Add u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch + * Fixes build with GLIBC 2.27. (bnc#1079830) + +------------------------------------------------------------------- New: ---- u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxshmfence.spec ++++++ --- /var/tmp/diff_new_pack.oQxLGm/_old 2018-02-14 09:18:54.851112759 +0100 +++ /var/tmp/diff_new_pack.oQxLGm/_new 2018-02-14 09:18:54.855112615 +0100 @@ -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 @@ #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 @@ %prep %setup -q +%patch1 -p1 %build autoreconf -fi ++++++ u_configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch ++++++ Git-commit: 0b550a4e7acf02d3478602848f6afbfcbfb0d4b2 Author: Ross Burton <[email protected]> Subject: configure.ac: call AC_USE_SYSTEM_EXTENSIONS Signed-off-by: Michal Srb <[email protected]> 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 <[email protected]> --- 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
