glew: Correct version in autotooling patches

The additional autotooling patched into glew claims the version is 1.9.0
whilst we are building 1.12.0. The version in the autotooling is used to
set the version number in the pkgconfig file, this results in the
configuration of packages which depend on glew > 1.9.0 failing.

This patch updates the version number used in the patches to match that of
the version being built.

(From OE-Core rev: 0ef7c0f30456cc242de331b273b92c1dfe835350)

Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martyn Welch
2016-04-27 12:25:00 +01:00
committed by Richard Purdie
parent ed3fc1ab85
commit 877a6b3ef4
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Index: glew/configure.ac
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.62])
+AC_INIT([glew], [1.9.0], [BUG-REPORT-ADDRESS])
+AC_INIT([glew], [1.12.0], [BUG-REPORT-ADDRESS])
+AC_CONFIG_SRCDIR([src/glew.c])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE([-Wall -Werror foreign])
@@ -77,7 +77,7 @@ Index: glew/configure.ac
+# for now we use the same version as the package, but that should be avoided
+# in the future
+
+AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0])
+AC_SUBST([LIBGLEW_SO_VERSION], [1:12:0])
+
+AC_CONFIG_FILES([Makefile
+ include/Makefile

View File

@@ -20,7 +20,7 @@ Index: glew-1.11.0/configure.ac
===================================================================
--- glew-1.11.0.orig/configure.ac
+++ glew-1.11.0/configure.ac
@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0])
@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:12:0])
AC_CONFIG_FILES([Makefile
include/Makefile