SHA256
1
0
forked from pool/libglvnd

reintroduce n_0001-GL-Bump-GL-version-to-9-2.patch

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libglvnd?expand=0&rev=39
This commit is contained in:
Stefan Dirsch 2019-10-07 20:05:14 +00:00 committed by Git OBS Bridge
parent 2947fc516c
commit 4b6d974a79
3 changed files with 35 additions and 1 deletions

View File

@ -6,7 +6,6 @@ Mon Oct 7 16:12:05 UTC 2019 - Stefan Dirsch <sndirsch@suse.com>
corresponding Mesa gl, egl, gles* devel subpackages; headers
just aren't compatible; instead require them ...
- supersedes patches:
* n_0001-GL-Bump-GL-version-to-9-2.patch
* n_0001-eglplatform-fix-mesa-specific-defines.patch
* u_add-gl3ext.h

View File

@ -29,6 +29,7 @@ Url: https://github.com/NVIDIA/libglvnd
# Source is _service generated
Source: %name-%version.tar.gz
Source1: baselibs.conf
Patch0: n_0001-GL-Bump-GL-version-to-9-2.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@ -67,6 +68,7 @@ development.
%prep
%setup -q
%patch0 -p1
# fix env shebang to call py3 directly
sed -i -e "1s|#!.*|#!/usr/bin/python3|" src/generate/*.py

View File

@ -0,0 +1,33 @@
From d498a96f97c7d41f773b326f643a6ae1d46a090d Mon Sep 17 00:00:00 2001
From: Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Date: Fri, 20 Sep 2019 20:30:52 +0200
Subject: [PATCH] GL: Bump GL Version to 9.2
With a version of 1.2 the XServer build fails with:
configure: error: Package requirements (glproto >= 1.4.17 gl >= 9.2.0) were not met:
Package dependency requirement 'gl >= 9.2.0' could not be satisfied.
Package 'gl' has version '1.2', required version is '>= 9.2.0'
Set the version accordingly to allow XServer builds again.
Signed-off-by: Tobias Klausmann <tobias.klausmann@freenet.de>
---
src/GL/gl.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/GL/gl.pc.in b/src/GL/gl.pc.in
index 0eaa149..d643756 100644
--- a/src/GL/gl.pc.in
+++ b/src/GL/gl.pc.in
@@ -5,6 +5,6 @@ includedir=@includedir@
Name: gl
Description: Legacy OpenGL and GLX library and headers
-Version: 1.2
+Version: 9.2.0
Libs: -L${libdir} -lGL
Cflags: -I${includedir}
--
2.23.0