Marko On Fri, Oct 25, 2013 at 12:39 AM, Marko Lindqvist <[email protected]> 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 <[email protected]> > --- > .../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 <[email protected]> > +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 > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
