summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2012-03-15 23:17:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 13:01:06 +0000
commit27dd817838647d43769b400e7829730f7180a79a (patch)
tree5b7970154fc0007dab68dd5c11a99d6ceda43fa3 /meta/recipes-extended
parent4ab84358f072e29c618d4e7532ab903747bbe618 (diff)
downloadopenembedded-core-27dd817838647d43769b400e7829730f7180a79a.tar.gz
openembedded-core-27dd817838647d43769b400e7829730f7180a79a.tar.bz2
openembedded-core-27dd817838647d43769b400e7829730f7180a79a.tar.xz
openembedded-core-27dd817838647d43769b400e7829730f7180a79a.zip
parted: update to version 3.1
* Supports disks > 2TB Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/parted/parted-3.1/fix-doc-mandir.patch20
-rw-r--r--meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch24
-rw-r--r--meta/recipes-extended/parted/parted-3.1/no_check.patch (renamed from meta/recipes-extended/parted/parted-3.0/no_check.patch)0
-rw-r--r--meta/recipes-extended/parted/parted-3.1/syscalls.patch (renamed from meta/recipes-extended/parted/parted-3.0/syscalls.patch)0
-rw-r--r--meta/recipes-extended/parted/parted_3.1.bb (renamed from meta/recipes-extended/parted/parted_3.0.bb)10
5 files changed, 50 insertions, 4 deletions
diff --git a/meta/recipes-extended/parted/parted-3.1/fix-doc-mandir.patch b/meta/recipes-extended/parted/parted-3.1/fix-doc-mandir.patch
new file mode 100644
index 000000000..0711d4e29
--- /dev/null
+++ b/meta/recipes-extended/parted/parted-3.1/fix-doc-mandir.patch
@@ -0,0 +1,20 @@
+Upstream-Status: Submitted [bug-parted@gnu.org]
+
+| for po in `ls -1 ./*.pt_BR.po 2>/dev/null`; do \
+| make $(basename ${po%.pt_BR.po}); \
+| done
+| Makefile:904: *** Recursive variable `mandir' references itself (eventually). Stop.
+
+Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
+
+--- parted-3.1/doc/po4a.mk.orig 2012-03-15 14:09:11.555831872 +0100
++++ parted-3.1/doc/po4a.mk 2012-03-15 14:10:44.243830985 +0100
+@@ -23,7 +23,7 @@
+ # threshold is 80%), it won't be distributed, and the build won't fail.
+ #
+
+-mandir = $(mandir)/$(lang)
++mandir := $(mandir)/$(lang)
+
+ # Inform automake that we want to install some man pages in section 1, 5
+ # and 8.
diff --git a/meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch b/meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch
new file mode 100644
index 000000000..3110a724f
--- /dev/null
+++ b/meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch
@@ -0,0 +1,24 @@
+Upstream-Status: Submitted [bug-parted@gnu.org]
+
+Initialize (version-)prefix to prevent inheritance from
+the build environment during autoreconf.
+
+| sed: -e expression #1, char 9: unknown option to `s'
+| configure.ac:55: error: AC_INIT should be called with package and version arguments
+| aclocal.m4:594: AM_INIT_AUTOMAKE is expanded from...
+| configure.ac:55: the top level
+| autom4te: /usr/bin/m4 failed with exit status: 1
+
+Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
+
+--- parted-3.1/build-aux/git-version-gen.orig 2012-03-15 13:51:38.911841912 +0100
++++ parted-3.1/build-aux/git-version-gen 2012-03-15 13:51:50.171841800 +0100
+@@ -92,6 +92,8 @@
+
+ Running without arguments will suffice in most cases."
+
++prefix="v"
++
+ while test $# -gt 0; do
+ case $1 in
+ --help) echo "$usage"; exit 0;;
diff --git a/meta/recipes-extended/parted/parted-3.0/no_check.patch b/meta/recipes-extended/parted/parted-3.1/no_check.patch
index 58d8db442..58d8db442 100644
--- a/meta/recipes-extended/parted/parted-3.0/no_check.patch
+++ b/meta/recipes-extended/parted/parted-3.1/no_check.patch
diff --git a/meta/recipes-extended/parted/parted-3.0/syscalls.patch b/meta/recipes-extended/parted/parted-3.1/syscalls.patch
index e9bbe9a95..e9bbe9a95 100644
--- a/meta/recipes-extended/parted/parted-3.0/syscalls.patch
+++ b/meta/recipes-extended/parted/parted-3.1/syscalls.patch
diff --git a/meta/recipes-extended/parted/parted_3.0.bb b/meta/recipes-extended/parted/parted_3.1.bb
index 2fba6d144..267e53b4f 100644
--- a/meta/recipes-extended/parted/parted_3.0.bb
+++ b/meta/recipes-extended/parted/parted_3.1.bb
@@ -6,12 +6,14 @@ SECTION = "console/tools"
DEPENDS = "readline e2fsprogs"
PR = "r0"
-SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
+SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.xz \
file://no_check.patch \
- file://syscalls.patch "
+ file://syscalls.patch \
+ file://fix-git-version-gen.patch \
+ file://fix-doc-mandir.patch"
-SRC_URI[md5sum] = "a94e84a9b9944715c4453f82ccc639bf"
-SRC_URI[sha256sum] = "8886eece015202f6bd5ce8414f4b68838452cef509f2e3389ad56128219837b7"
+SRC_URI[md5sum] = "5d89d64d94bcfefa9ce8f59f4b81bdcb"
+SRC_URI[sha256sum] = "5e9cc1f91eaf016e5033d85b9b893fd6d3ffaca532a48de1082df9b94225ca15"
EXTRA_OECONF = "--disable-device-mapper"