[poky] [PATCH] [jethro] glew: Correct version in autotooling patches

Martyn Welch martyn.welch at collabora.co.uk
Wed Apr 27 04:12:14 PDT 2016



On 27/04/16 11:50, Burton, Ross wrote:
> Hi Martyn,
>
> Patches for oe-core should go to
> openembedded-core at lists.openembedded.org
> <mailto:openembedded-core at lists.openembedded.org>, not poky at .
>

Thanks Ross, sorry for the confusion,

Martyn

> Cheers,
> Ross
>
>
> On 27 April 2016 at 10:40, Martyn Welch <martyn.welch at collabora.co.uk
> <mailto:martyn.welch at collabora.co.uk>> wrote:
>
>     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.
>
>     Signed-off-by: Martyn Welch <martyn.welch at collabora.co.uk
>     <mailto:martyn.welch at collabora.co.uk>>
>     ---
>       meta/recipes-graphics/glew/glew/autotools.patch           | 4 ++--
>       meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch | 2 +-
>       2 files changed, 3 insertions(+), 3 deletions(-)
>
>     diff --git a/meta/recipes-graphics/glew/glew/autotools.patch
>     b/meta/recipes-graphics/glew/glew/autotools.patch
>     index 7dfe087..81a1343 100644
>     --- a/meta/recipes-graphics/glew/glew/autotools.patch
>     +++ b/meta/recipes-graphics/glew/glew/autotools.patch
>     @@ -20,7 +20,7 @@ Index: glew/configure.ac <http://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 <http://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
>     diff --git
>     a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
>     b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
>     index 70a99ae..baab9ff 100644
>     --- a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
>     +++ b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
>     @@ -20,7 +20,7 @@ Index: glew-1.11.0/configure.ac <http://configure.ac>
>       ===================================================================
>       --- glew-1.11.0.orig/configure.ac <http://configure.ac>
>       +++ glew-1.11.0/configure.ac <http://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
>     --
>     1.8.3.1
>
>     --
>     _______________________________________________
>     poky mailing list
>     poky at yoctoproject.org <mailto:poky at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/poky
>
>


More information about the poky mailing list