From 7c61184d43c0e3c8e42432e2951c89e5bbb3b0e45e8aea74cb0bc41d5f91f1b7 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 8 Aug 2017 14:20:49 +0000 Subject: [PATCH] - 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 --- Mesa.changes | 6 +++++ Mesa.spec | 2 ++ ...-lGL-for-libglvnd-builds-boo-1052776.patch | 25 +++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch diff --git a/Mesa.changes b/Mesa.changes index c821dc9..87a466e 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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 diff --git a/Mesa.spec b/Mesa.spec index f334f2e..b85fbe2 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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 diff --git a/n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch b/n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch new file mode 100644 index 0000000..c5ec3ee --- /dev/null +++ b/n_glesv2.pc-Add-lGL-for-libglvnd-builds-boo-1052776.patch @@ -0,0 +1,25 @@ +From 1902aaa97ec2d7919cc48dcde2b6ca165ca00a2f Mon Sep 17 00:00:00 2001 +From: Stefan Dirsch +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 +