- n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch

glesv2.pc: Add "-lGL" for libglvnd builds (boo#1052776)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=633
This commit is contained in:
Stefan Dirsch 2017-08-08 14:20:49 +00:00 committed by Git OBS Bridge
parent c8fb596141
commit 7c61184d43
3 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 8 14:12:45 UTC 2017 - sndirsch@suse.com
- n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch
glesv2.pc: Add "-lGL" for libglvnd builds (boo#1052776)
-------------------------------------------------------------------
Mon Aug 7 19:13:20 UTC 2017 - mimi.vx@gmail.com

View File

@ -84,6 +84,7 @@ Patch21: n_Define-GLAPIVAR-separate-from-GLAPI.patch
# currently needed for libglvnd support
Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch
Patch32: archlinux_glvnd-fix-gl-dot-pc.patch
Patch33: n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch
Patch40: u_gallivm-correct-channel-shift-logic-on-big-endian.patch
Patch41: u_llvmpipe-lp_build_gather_elem_vec-BE-fix-for-3x16-lo.patch
Patch42: u_r600-Add-support-for-B5G5R5A1.patch
@ -656,6 +657,7 @@ rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{?libglvnd}
%patch31 -p1
%patch32 -p1
%patch33 -p1
%endif
%patch40 -p1

View File

@ -0,0 +1,25 @@
From 1902aaa97ec2d7919cc48dcde2b6ca165ca00a2f Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Tue, 8 Aug 2017 16:07:46 +0200
Subject: [PATCH glx/glxglvnd] glesv2.pc: Add "-lGL" for libglvnd builds
(boo#1052776)
---
src/mapi/es2api/glesv2.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mapi/es2api/glesv2.pc.in b/src/mapi/es2api/glesv2.pc.in
index e5bf12f878..8b5fb84fd8 100644
--- a/src/mapi/es2api/glesv2.pc.in
+++ b/src/mapi/es2api/glesv2.pc.in
@@ -7,6 +7,6 @@ Name: glesv2
Description: Mesa OpenGL ES 2.0 library
Requires.private:
Version: @VERSION@
-Libs: -L${libdir} -lGLESv2
+Libs: -L${libdir} -lGLESv2 -lGL
Libs.private: @GLESv2_PC_LIB_PRIV@
Cflags: -I${includedir}
--
2.13.1