Mesa/U_wayland-egl-pc-require-wayland.patch

23 lines
869 B
Diff

From: Torsten Duwe <duwe@suse.de>
Subject: require wayland.pc in wayland-egl.pc
Git-commit: 3bc642cbf69b3ba71fc636d6120fc7ac0b83aecb
Patch-mainline: 9.2
Mesa provides the wayland-egl libs and the pkgconfig file, but
the headers originate from the wayland package. Ensure everything
matches, by requiring application builds to look at the wayland
headers as well.
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Johannes Obermayr <johannesobermayr@gmx.de>
--- Mesa-9.1.5/src/egl/wayland/wayland-egl/wayland-egl.pc.in.orig 2013-04-08 20:21:04.000000000 +0200
+++ Mesa-9.1.5/src/egl/wayland/wayland-egl/wayland-egl.pc.in 2013-09-09 14:32:07.000000000 +0200
@@ -6,5 +6,6 @@ includedir=@includedir@
Name: wayland-egl
Description: Mesa wayland-egl library
Version: @VERSION@
+Requires: wayland-client
Libs: -L${libdir} -lwayland-egl
Cflags: -I${includedir}