-diff -dur -x '*~' -x '*.orig' -x '*.rej' mesa-17.1.6.orig/src/gallium/drivers/swr/Makefile.am mesa-17.1.6/src/gallium/drivers/swr/Makefile.am
---- mesa-17.1.6.orig/src/gallium/drivers/swr/Makefile.am 2017-08-07 14:04:30.000000000 +0200
-+++ mesa-17.1.6/src/gallium/drivers/swr/Makefile.am 2017-08-07 21:03:24.230258941 +0200
-@@ -159,11 +159,13 @@
- $(top_builddir)/src/gallium/auxiliary/libgallium.la \
- $(top_builddir)/src/mesa/libmesagallium.la \
- $(LLVM_LIBS) \
-- $(PTHREAD_LIBS)
-+ $(PTHREAD_LIBS) \
-+ -ldl
-
+diff -dur mesa-17.2.1.orig/src/gallium/drivers/swr/Makefile.am mesa-17.2.1/src/gallium/drivers/swr/Makefile.am
+--- mesa-17.2.1.orig/src/gallium/drivers/swr/Makefile.am 2017-09-18 01:03:22.000000000 +0200
++++ mesa-17.2.1/src/gallium/drivers/swr/Makefile.am 2017-09-18 10:31:22.000000000 +0200
+@@ -236,6 +236,7 @@
COMMON_LDFLAGS = \
-shared \
-module \
+ -avoid-version \
-no-undefined \
$(GC_SECTIONS) \
- $(NO_UNDEFINED) \
+ $(LD_NO_UNDEFINED)
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
-Version: 17.1.6
-Release: 2
+Version: 17.2.1
+Release: 1
License: MIT (core) and others - see license.html file
Group: X11/Libraries
Source0: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
-# Source0-md5: 54758bf842f9ea53c8b57cce4311b87e
+# Source0-md5: f53ed38110237d9df5f9198c09ef0ab0
Patch0: %{name}-link.patch
URL: http://www.mesa3d.org/
BuildRequires: autoconf >= 2.60
BuildRequires: sed >= 4.0
# wayland-{client,server}
%{?with_wayland:BuildRequires: wayland-devel >= 1.11.0}
+%{?with_wayland:BuildRequires: wayland-protocols >= 1.8}
BuildRequires: xorg-lib-libXdamage-devel >= 1.1
BuildRequires: xorg-lib-libXext-devel >= 1.0.5
BuildRequires: xorg-lib-libXfixes-devel