parted: update to version 3.1
authorAndreas Oberritter <obi@opendreambox.org>
Thu, 15 Mar 2012 22:17:52 +0000 (23:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Mar 2012 15:33:03 +0000 (15:33 +0000)
* Supports disks > 2TB

(From OE-Core rev: 27dd817838647d43769b400e7829730f7180a79a)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/parted/parted-3.1/fix-doc-mandir.patch [new file with mode: 0644]
meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch [new file with mode: 0644]
meta/recipes-extended/parted/parted-3.1/no_check.patch [moved from meta/recipes-extended/parted/parted-3.0/no_check.patch with 100% similarity]
meta/recipes-extended/parted/parted-3.1/syscalls.patch [moved from meta/recipes-extended/parted/parted-3.0/syscalls.patch with 100% similarity]
meta/recipes-extended/parted/parted_3.1.bb [moved from meta/recipes-extended/parted/parted_3.0.bb with 57% similarity]

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 (file)
index 0000000..0711d4e
--- /dev/null
@@ -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 (file)
index 0000000..3110a72
--- /dev/null
@@ -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;;
similarity index 57%
rename from meta/recipes-extended/parted/parted_3.0.bb
rename to meta/recipes-extended/parted/parted_3.1.bb
index 2fba6d1..267e53b 100644 (file)
@@ -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"