diff --git a/0001-egl-Be-somewhat-aware-of-EGL-client-extensions.patch b/0001-egl-Be-somewhat-aware-of-EGL-client-extensions.patch deleted file mode 100644 index c3a879b..0000000 --- a/0001-egl-Be-somewhat-aware-of-EGL-client-extensions.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 79b1a811651f41a0647d70d19c7b37c0d728ccfa Mon Sep 17 00:00:00 2001 -From: Adam Jackson -Date: Fri, 23 Sep 2016 03:22:21 -0400 -Subject: [PATCH] egl: Be somewhat aware of EGL client extensions - -Client extensions are only listed in eglQueryString(dpy=NULL). Without -this we can't call anything from e.g. EXT_platform_base. - -Signed-off-by: Adam Jackson ---- - src/dispatch_egl.c | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -diff --git a/src/dispatch_egl.c b/src/dispatch_egl.c -index 9649ba4..b42aacd 100644 ---- a/src/dispatch_egl.c -+++ b/src/dispatch_egl.c -@@ -54,16 +54,11 @@ epoxy_egl_version(EGLDisplay dpy) - bool - epoxy_conservative_has_egl_extension(const char *ext) - { -- EGLDisplay dpy = eglGetCurrentDisplay(); -- -- if (!dpy) -- return true; -- -- return epoxy_has_egl_extension(dpy, ext); -+ return epoxy_has_egl_extension(eglGetCurrentDisplay(), ext); - } - - PUBLIC bool - epoxy_has_egl_extension(EGLDisplay dpy, const char *ext) - { -- return epoxy_extension_in_string(eglQueryString(dpy, EGL_EXTENSIONS), ext); -+ return epoxy_extension_in_string(eglQueryString(dpy, EGL_EXTENSIONS), ext) || epoxy_extension_in_string(eglQueryString(NULL, EGL_EXTENSIONS), ext); - } --- -2.9.3 - diff --git a/libepoxy.spec b/libepoxy.spec index c28348a..9724413 100644 --- a/libepoxy.spec +++ b/libepoxy.spec @@ -5,15 +5,13 @@ Summary: epoxy runtime library Name: libepoxy -Version: 1.3.1 -Release: 4%{?dist} +Version: 1.4.1 +Release: 1%{?dist} License: MIT URL: http://github.com/anholt/libepoxy # github url - generated archive #ource0: https://github.com/anholt/libepoxy/archive/%{commit}/%{name}-%{commit}.tar.gz -Source0: https://github.com/anholt/libepoxy/archive/v%{version}/v%{version}.tar.gz - -Patch0: 0001-egl-Be-somewhat-aware-of-EGL-client-extensions.patch +Source0: https://github.com/anholt/libepoxy/archive/libepoxy-%{version}.tar.gz BuildRequires: automake autoconf libtool BuildRequires: mesa-libGL-devel @@ -35,7 +33,6 @@ developing applications that use %{name}. %prep %setup -q -%patch0 -p1 -b .clientext %build autoreconf -vif || exit 1 @@ -72,6 +69,9 @@ make check ||: %{_libdir}/pkgconfig/epoxy.pc %changelog +* Thu Mar 09 2017 Dave Airlie - 1.4.1-1 +- libepoxy 1.4.1 + * Fri Feb 10 2017 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 6f3c80a..7f31817 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -981396e099bc91c29e6769e49a0cb8d6 v1.3.1.tar.gz +SHA512 (libepoxy-1.4.1.tar.gz) = 6656df4d447bd581b7701931070e03accb5b105426248f2b3360ba59bf50e09ce8be4c9691904b517b92fbfe241f8f3f435de116ca77ea2a0ecf1c121fb24a11