summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-04-14 23:16:07 +0000
committerRichard Purdie <richard@openedhand.com>2008-04-14 23:16:07 +0000
commit993b552e4034921b2ac9d761b687a39024ac9dcb (patch)
treee7446eea3fc5c5ae9e0b89b1d13871b0d4a8254d /meta/packages
parent461d3b4a94685fe5cc3aa5f3eb0ad8b66c2949bd (diff)
downloadpoky-993b552e4034921b2ac9d761b687a39024ac9dcb.tar.gz
libpng: Fix makefile for libtool 2.2.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4267 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/libpng/libpng-1.2.16/makefile_fix.patch18
-rw-r--r--meta/packages/libpng/libpng_1.2.16.bb5
2 files changed, 21 insertions, 2 deletions
diff --git a/meta/packages/libpng/libpng-1.2.16/makefile_fix.patch b/meta/packages/libpng/libpng-1.2.16/makefile_fix.patch
new file mode 100644
index 0000000000..3fa8793add
--- /dev/null
+++ b/meta/packages/libpng/libpng-1.2.16/makefile_fix.patch
@@ -0,0 +1,18 @@
1Old versions of libtool (1.5.10) used to set ECHO as a side effect. With
2libtool 2.2.2 we need to do this manually
3
4RP - 14/4/08
5
6Index: libpng-1.2.16/Makefile.am
7===================================================================
8--- libpng-1.2.16.orig/Makefile.am 2008-04-14 14:47:21.000000000 +0100
9+++ libpng-1.2.16/Makefile.am 2008-04-14 14:47:47.000000000 +0100
10@@ -102,6 +102,8 @@
11 >$@.new
12 mv $@.new $@
13
14+ECHO=echo
15+
16 libpng.vers: libpng.sym
17 rm -f $@ $@.new
18 $(ECHO) PNG@PNGLIB_MAJOR@@PNGLIB_MINOR@_0 '{global:' > $@.new
diff --git a/meta/packages/libpng/libpng_1.2.16.bb b/meta/packages/libpng/libpng_1.2.16.bb
index 3395bc857e..0b15018d06 100644
--- a/meta/packages/libpng/libpng_1.2.16.bb
+++ b/meta/packages/libpng/libpng_1.2.16.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.libpng.org/"
3LICENSE = "libpng" 3LICENSE = "libpng"
4SECTION = "libs" 4SECTION = "libs"
5PRIORITY = "required" 5PRIORITY = "required"
6PR = "r5" 6PR = "r6"
7 7
8DEPENDS = "zlib" 8DEPENDS = "zlib"
9 9
@@ -17,7 +17,8 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \
17 ${libdir}/*.a ${libdir}/pkgconfig \ 17 ${libdir}/*.a ${libdir}/pkgconfig \
18 ${datadir}/aclocal ${bindir} ${sbindir}" 18 ${datadir}/aclocal ${bindir} ${sbindir}"
19 19
20SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2" 20SRC_URI = "${SOURCEFORGE_MIRROR}/libpng/libpng-${PV}.tar.bz2 \
21 file://makefile_fix.patch;patch=1"
21S = "${WORKDIR}/libpng-${PV}" 22S = "${WORKDIR}/libpng-${PV}"
22 23
23inherit autotools binconfig pkgconfig 24inherit autotools binconfig pkgconfig