SHA256
1
0
forked from pool/libglvnd

Accepting request 516841 from home:michalsrb:branches:bnc1052776:X11:XOrg

- U_Fix-typo-in-LIBRARY_FEATURE_NAMES.patch
  * Fix typo that caused gles 3.1 and 3.2 symbols to be missing in
    the generated libraries. (bnc#1052776)

OBS-URL: https://build.opensuse.org/request/show/516841
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libglvnd?expand=0&rev=17
This commit is contained in:
Michal Srb 2017-08-14 13:45:18 +00:00 committed by Git OBS Bridge
parent 997d57f709
commit 4f2e55c07b
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,29 @@
Git-commit: 37fc6caa4b80bb7c75a8285d36d168cbf6932ef2
Patch-mainline: To-be-upstreamed
Author: Michal Srb <msrb@suse.com>
Subject: Fix typo in _LIBRARY_FEATURE_NAMES.
References: bnc#1052776
The missing comma caused the "GL_ES_VERSION_3_1" and "GL_ES_VERSION_3_2" to
concatenate into non-existing feature name. Symbols from gles 3.1 and 3.2 were
then missing in the generated files.
---
src/generate/genCommon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/generate/genCommon.py b/src/generate/genCommon.py
index b486ad0..5c721ac 100644
--- a/src/generate/genCommon.py
+++ b/src/generate/genCommon.py
@@ -44,7 +44,7 @@ _LIBRARY_FEATURE_NAMES = {
)),
"glesv1" : frozenset(("GL_VERSION_ES_CM_1_0", "GL_OES_point_size_array")),
"glesv2" : frozenset(("GL_ES_VERSION_2_0", "GL_ES_VERSION_3_0",
- "GL_ES_VERSION_3_1" "GL_ES_VERSION_3_2",
+ "GL_ES_VERSION_3_1", "GL_ES_VERSION_3_2",
)),
}
--
2.12.3

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 14 13:35:51 UTC 2017 - msrb@suse.com
- U_Fix-typo-in-LIBRARY_FEATURE_NAMES.patch
* Fix typo that caused gles 3.1 and 3.2 symbols to be missing in
the generated libraries. (bnc#1052776)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 21 14:48:46 UTC 2017 - zaitor@opensuse.org Wed Jun 21 14:48:46 UTC 2017 - zaitor@opensuse.org

View File

@ -29,6 +29,7 @@ Url: https://github.com/NVIDIA/libglvnd
# Source is _service generated # Source is _service generated
Source: %name-%version.tar.gz Source: %name-%version.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
Patch1: U_Fix-typo-in-LIBRARY_FEATURE_NAMES.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
@ -61,6 +62,7 @@ development.
%prep %prep
%setup -q -n %name-%version %setup -q -n %name-%version
%patch1 -p1
%build %build
./autogen.sh ./autogen.sh