[oe] [PATCH] jpeg_8b: Allow using older versions of automake

Maupin, Chase chase.maupin at ti.com
Mon Aug 30 13:24:30 UTC 2010


Khem,

I'd be happy to make the patch but in this case the resulting differences in configure appear to be just changes to line numbers in the script because my patch caused a new comment line to be inserted.  I'm not sure if this patch to configure would add anything but clutter.  However, if you still want it I'll add it to the patch and resend.  The changes to configure would be (and sorry for any outlook mangling):

diff -burpN orig/configure new/configure
--- orig/configure	2010-08-30 08:03:01.485893044 -0500
+++ new/configure	2010-08-30 08:08:57.961780786 -0500
@@ -2950,6 +2950,7 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
 # Make --enable-silent-rules the default.
 # To get verbose build output you may configure
 # with --disable-silent-rules or use "make V=1".
+# only use if available
 # Check whether --enable-silent-rules was given.
 if test "${enable_silent_rules+set}" = set; then :
   enableval=$enable_silent_rules;
@@ -6950,13 +6951,13 @@ if test "${lt_cv_nm_interface+set}" = se
 else
   lt_cv_nm_interface="BSD nm"
   echo "int some_variable = 0;" > conftest.$ac_ext
-  (eval echo "\"\$as_me:6953: $ac_compile\"" >&5)
+  (eval echo "\"\$as_me:6954: $ac_compile\"" >&5)
   (eval "$ac_compile" 2>conftest.err)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:6956: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
+  (eval echo "\"\$as_me:6957: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   cat conftest.err >&5
-  (eval echo "\"\$as_me:6959: output\"" >&5)
+  (eval echo "\"\$as_me:6960: output\"" >&5)
   cat conftest.out >&5
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     lt_cv_nm_interface="MS dumpbin"
@@ -8147,7 +8148,7 @@ ia64-*-hpux*)
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 8150 "configure"' > conftest.$ac_ext
+  echo '#line 8151 "configure"' > conftest.$ac_ext
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -9404,11 +9405,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9407: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9408: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:9411: \$? = $ac_status" >&5
+   echo "$as_me:9412: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -9743,11 +9744,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9746: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9747: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:9750: \$? = $ac_status" >&5
+   echo "$as_me:9751: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings other than the usual output.
@@ -9848,11 +9849,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9851: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9852: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:9855: \$? = $ac_status" >&5
+   echo "$as_me:9856: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -9903,11 +9904,11 @@ else
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:9906: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:9907: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:9910: \$? = $ac_status" >&5
+   echo "$as_me:9911: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -12270,7 +12271,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12273 "configure"
+#line 12274 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12366,7 +12367,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 12369 "configure"
+#line 12370 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H



Sincerely,
Chase Maupin
Software Applications
Catalog DSP Products
e-mail: chase.maupin at ti.com
phone: (281) 274-3285

For support:
Forums - http://community.ti.com/forums/
Wiki - http://wiki.davincidsp.com/
> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of
> Khem Raj
> Sent: Friday, August 27, 2010 3:19 PM
> To: openembedded-devel at lists.openembedded.org
> Subject: Re: [oe] [PATCH] jpeg_8b: Allow using older versions of automake
> 
> On Fri, Aug 27, 2010 at 8:50 AM, Chase Maupin <chasemaupin03 at gmail.com>
> wrote:
> >
> >
> > Signed-off-by: Chase Maupin <chase.maupin at ti.com>
> 
> patch looks ok. I would suggest to regenerate configure and also
> include in the patch. If we use autotools class do_configure
> then configure is regenerated so that may not be needed but it does
> not hurt to have it patched
> 
> > ---
> >  ...igure-make-jpeg-work-with-older-autotools.patch |   30
> ++++++++++++++++++++
> >  recipes/jpeg/jpeg_8b.bb                            |    7 +++-
> >  2 files changed, 35 insertions(+), 2 deletions(-)
> >  create mode 100644 recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-
> with-older-autotools.patch
> >
> > diff --git a/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-
> older-autotools.patch b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-
> work-with-older-autotools.patch
> > new file mode 100644
> > index 0000000..dd6fd52
> > --- /dev/null
> > +++ b/recipes/jpeg/jpeg-8b/0001-configure-make-jpeg-work-with-older-
> autotools.patch
> > @@ -0,0 +1,30 @@
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list