summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/glew/files/fix-glew.pc-install.patch')
-rw-r--r--meta/recipes-graphics/glew/files/fix-glew.pc-install.patch23
1 files changed, 12 insertions, 11 deletions
diff --git a/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
index 5b6a94e471..9cbc0a95aa 100644
--- a/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
+++ b/meta/recipes-graphics/glew/files/fix-glew.pc-install.patch
@@ -6,21 +6,21 @@ Upstream-Status: Inappropriate
6 6
7Signed-off-by: Saul Wold <sgw@linux.intel.com> 7Signed-off-by: Saul Wold <sgw@linux.intel.com>
8 8
9Index: glew-1.9.0/Makefile.am 9Index: glew-1.10.0/Makefile.am
10=================================================================== 10===================================================================
11--- glew-1.9.0.orig/Makefile.am 11--- glew-1.10.0.orig/Makefile.am
12+++ glew-1.9.0/Makefile.am 12+++ glew-1.10.0/Makefile.am
13@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install 13@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install
14 14
15 SUBDIRS = include src 15 SUBDIRS = include src
16 16
17+pkgconfigdir = $(libdir)/pkgconfig 17+pkgconfigdir = $(libdir)/pkgconfig
18+pkgconfig_DATA = glew.pc 18+pkgconfig_DATA = glew.pc
19Index: glew-1.9.0/configure.ac 19Index: glew-1.10.0/configure.ac
20=================================================================== 20===================================================================
21--- glew-1.9.0.orig/configure.ac 21--- glew-1.10.0.orig/configure.ac
22+++ glew-1.9.0/configure.ac 22+++ glew-1.10.0/configure.ac
23@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:5:7]) 23@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0])
24 24
25 AC_CONFIG_FILES([Makefile 25 AC_CONFIG_FILES([Makefile
26 include/Makefile 26 include/Makefile
@@ -28,11 +28,11 @@ Index: glew-1.9.0/configure.ac
28+ src/Makefile 28+ src/Makefile
29+ glew.pc]) 29+ glew.pc])
30 AC_OUTPUT 30 AC_OUTPUT
31Index: glew-1.9.0/glew.pc.in 31Index: glew-1.10.0/glew.pc.in
32=================================================================== 32===================================================================
33--- glew-1.9.0.orig/glew.pc.in 33--- glew-1.10.0.orig/glew.pc.in
34+++ glew-1.9.0/glew.pc.in 34+++ glew-1.10.0/glew.pc.in
35@@ -5,6 +5,6 @@ includedir=@includedir@ 35@@ -5,7 +5,7 @@ includedir=@includedir@
36 36
37 Name: glew 37 Name: glew
38 Description: The OpenGL Extension Wrangler library 38 Description: The OpenGL Extension Wrangler library
@@ -42,3 +42,4 @@ Index: glew-1.9.0/glew.pc.in
42+Version: @VERSION@ 42+Version: @VERSION@
43+Cflags: -I${includedir} @CFLAGS@ 43+Cflags: -I${includedir} @CFLAGS@
44+Libs: -L${libdir} -lGLEW 44+Libs: -L${libdir} -lGLEW
45 Requires: glu