All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] jpeg_8b: Allow using older versions of automake
@ 2010-08-27 15:50 Chase Maupin
  2010-08-27 20:19 ` Khem Raj
  2010-08-29 15:10 ` Enrico Scholz
  0 siblings, 2 replies; 6+ messages in thread
From: Chase Maupin @ 2010-08-27 15:50 UTC (permalink / raw)
  To: openembedded-devel

From: Chase <chase@chase-laptop.(none)>

* Added patch to allow using older versions of automake such
  as 1.10.3 when building jpeg version 8b.
* Only use the AM_SILENT_RULES if it is available.

Signed-off-by: Chase Maupin <chase.maupin@ti.com>
---
 ...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 @@
+From e9e77ee999553f9b94de0288688a0bdc60b92e0f Mon Sep 17 00:00:00 2001
+From: Chase Maupin <chase.maupin@ti.com>
+Date: Tue, 17 Aug 2010 08:30:56 -0500
+Subject: [PATCH] configure: make jpeg work with older autotools
+
+* Only use the AM_SILENT_RULES variable if it is defined.  Older
+  versions of automake don't support this option.
+
+Signed-off-by: Chase Maupin <chase.maupin@ti.com>
+---
+ configure.ac |    3 ++-
+ 1 files changed, 2 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 96da13b..9a58c51 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -26,7 +26,8 @@ AM_INIT_AUTOMAKE([-Wall -Werror ansi2knr no-dist foreign])
+ # Make --enable-silent-rules the default.
+ # To get verbose build output you may configure
+ # with --disable-silent-rules or use "make V=1".
+-AM_SILENT_RULES([yes])
++# only use if available
++m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+ 
+ # This is required when using the de-ANSI-fication feature.
+ AM_C_PROTOTYPES
+-- 
+1.7.0.4
+
diff --git a/recipes/jpeg/jpeg_8b.bb b/recipes/jpeg/jpeg_8b.bb
index 4251ca6..4e6f25b 100644
--- a/recipes/jpeg/jpeg_8b.bb
+++ b/recipes/jpeg/jpeg_8b.bb
@@ -2,12 +2,15 @@ DESCRIPTION = "libjpeg is a library for handling the JPEG (JFIF) image format."
 LICENSE = "jpeg"
 SECTION = "libs"
 PRIORITY = "required"
-PR = "r0"
+PR = "r1"
 
 # TODO: really needed?
 RPROVIDES_${PN} = "jpeg"
 
-SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz"
+SRC_URI = "\
+    http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
+    file://0001-configure-make-jpeg-work-with-older-autotools.patch;apply=yes \
+    "
 S = "${WORKDIR}/jpeg-${PV}"
 
 inherit autotools
-- 
1.7.0.4




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-10 18:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-27 15:50 [PATCH] jpeg_8b: Allow using older versions of automake Chase Maupin
2010-08-27 20:19 ` Khem Raj
2010-08-30 13:24   ` Maupin, Chase
2010-09-10 18:04     ` Denys Dmytriyenko
2010-09-10 18:09       ` Maupin, Chase
2010-08-29 15:10 ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.