diff options
author | Saul Wold <sgw@linux.intel.com> | 2014-08-19 07:49:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:26:08 +0100 |
commit | 1203e1ee4097d253c7643966176596303163d747 (patch) | |
tree | 001e0c0a583278ae9115f4bd6c934bc0432b3e53 /meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch | |
parent | b1d8f59027092f58b021b8fa3ccfe1598105239d (diff) | |
download | poky-1203e1ee4097d253c7643966176596303163d747.tar.gz |
glew: Upgrade to 1.11.0
Rebase patch and move patches from too generic files to glew
(From OE-Core rev: 8d73b3b028bf81a2b3369960e98c3139e0c11943)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch')
-rw-r--r-- | meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch new file mode 100644 index 0000000000..a20fbfce00 --- /dev/null +++ b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | |||
2 | We maintain the autotools configure.ac and Makefile.am, to correctly | ||
3 | provide the glew.pc, the following patch is needed. | ||
4 | |||
5 | Upstream-Status: Inappropriate | ||
6 | |||
7 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
8 | |||
9 | Index: glew-1.11.0/Makefile.am | ||
10 | =================================================================== | ||
11 | --- glew-1.11.0.orig/Makefile.am | ||
12 | +++ glew-1.11.0/Makefile.am | ||
13 | @@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install | ||
14 | |||
15 | SUBDIRS = include src | ||
16 | |||
17 | +pkgconfigdir = $(libdir)/pkgconfig | ||
18 | +pkgconfig_DATA = glew.pc | ||
19 | Index: glew-1.11.0/configure.ac | ||
20 | =================================================================== | ||
21 | --- glew-1.11.0.orig/configure.ac | ||
22 | +++ glew-1.11.0/configure.ac | ||
23 | @@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0]) | ||
24 | |||
25 | AC_CONFIG_FILES([Makefile | ||
26 | include/Makefile | ||
27 | - src/Makefile]) | ||
28 | + src/Makefile | ||
29 | + glew.pc]) | ||
30 | AC_OUTPUT | ||
31 | Index: glew-1.11.0/glew.pc.in | ||
32 | =================================================================== | ||
33 | --- glew-1.11.0.orig/glew.pc.in | ||
34 | +++ glew-1.11.0/glew.pc.in | ||
35 | @@ -5,7 +5,7 @@ includedir=${prefix}/include/GL | ||
36 | |||
37 | Name: glew | ||
38 | Description: The OpenGL Extension Wrangler library | ||
39 | -Version: @version@ | ||
40 | -Cflags: -I${includedir} @cflags@ | ||
41 | -Libs: -L${libdir} -l@libname@ | ||
42 | +Version: @VERSION@ | ||
43 | +Cflags: -I${includedir} @CFLAGS@ | ||
44 | +Libs: -L${libdir} -lGLEW | ||
45 | Requires: @requireslib@ | ||