[OE-core] [PATCH 4/4] libfm: allow build with automake-1.14

Khem Raj raj.khem at gmail.com
Tue Oct 29 00:35:08 UTC 2013


Marko

On Fri, Oct 25, 2013 at 12:39 AM, Marko Lindqvist <cazfi74 at gmail.com> wrote:
> Do not consider automake warnings about future incompatibility
> errors.

hmmm so disabling Werror is working around and I consider it degradation
in code quality, is there any alternative ? may be fix the code itself to not
generate the warning at all ?

>
> Signed-off-by: Marko Lindqvist <cazfi74 at gmail.com>
> ---
>  .../libfm/libfm-1.1.2.2/ignore_automake_warnings.patch     | 14 ++++++++++++++
>  meta/recipes-support/libfm/libfm_1.1.2.2.bb                |  1 +
>  2 files changed, 15 insertions(+)
>  create mode 100644 meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
>
> diff --git a/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch b/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
> new file mode 100644
> index 0000000..58a2f09
> --- /dev/null
> +++ b/meta/recipes-support/libfm/libfm-1.1.2.2/ignore_automake_warnings.patch
> @@ -0,0 +1,14 @@
> +Upstream-Status: Inappropriate [configuration]
> +
> +Signed-off-by: Marko Lindqvist <cazfi74 at gmail.com>
> +diff -Nurd libfm-1.1.2.2/configure.ac libfm-1.1.2.2/configure.ac
> +--- libfm-1.1.2.2/configure.ac 2013-08-22 23:16:09.000000000 +0300
> ++++ libfm-1.1.2.2/configure.ac 2013-10-25 01:35:18.110323079 +0300
> +@@ -3,7 +3,7 @@
> +
> + AC_PREREQ([2.63])
> + AC_INIT([libfm], [1.1.2.2], [http://pcmanfm.sourceforge.net/])
> +-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
> ++AM_INIT_AUTOMAKE([-Wall foreign])
> + AC_CONFIG_MACRO_DIR(m4)
> + AC_CONFIG_HEADERS([config.h])
> diff --git a/meta/recipes-support/libfm/libfm_1.1.2.2.bb b/meta/recipes-support/libfm/libfm_1.1.2.2.bb
> index 1146d16..8460223 100644
> --- a/meta/recipes-support/libfm/libfm_1.1.2.2.bb
> +++ b/meta/recipes-support/libfm/libfm_1.1.2.2.bb
> @@ -12,6 +12,7 @@ DEPENDS = "glib-2.0 pango gtk+ menu-cache intltool-native libexif"
>
>  SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.gz \
>             file://fix-make-parallelism-issue.patch \
> +           file://ignore_automake_warnings.patch \
>             "
>
>  SRC_URI[md5sum] = "ea3d09b23ef4c37cb84ae57ea16b8f08"
> --
> 1.8.4.rc3
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list