Bug#896447: mesa: Lintian wishlist: Add notes to glvnd-fix-gl-dot-pc.patch
Source: mesa
Severity: wishlist
Tags: patch
Dear Maintainer,
Attached patch provides notes for the glvnd build patch shipped with Debian.
Note: I have not tried compiling without glvnd-fix-gl-dot-pc.patch so I have
no idea if this patch is even needed anymore, but having some provenance info
listed in the actual patch may help determine that at some future time.
--- debian/patches/glvnd-fix-gl-dot-pc.patch.orig 2018-04-21 16:40:41.045683013 +1000
+++ debian/patches/glvnd-fix-gl-dot-pc.patch 2018-04-21 17:27:00.755255524 +1000
@@ -1,3 +1,13 @@
+Patch which seems originate from Redhat/Fedora to not use the variable library
+name in pkg-config input. Appears to be required for building with glvnd
+support.
+
+First appears in Fedora at:
+ https://src.fedoraproject.org/rpms/mesa/c/0e83570d6c2560dc879061c9a50b3526a96c4bcf?branch=master
+
+Appears to be a revert of upstream commit:
+ https://cgit.freedesktop.org/mesa/mesa/commit/src/mesa/gl.pc.in?id=a9c97c5f2a9b880d01336a23134600e4b34429d0
+
diff -up mesa-12.0.3/src/mesa/gl.pc.in.jx mesa-12.0.3/src/mesa/gl.pc.in
--- mesa-12.0.3/src/mesa/gl.pc.in.jx 2016-01-18 02:39:26.000000000 -0500
+++ mesa-12.0.3/src/mesa/gl.pc.in 2016-10-25 13:06:44.013159358 -0400
Reply to: