parted: update to version 3.1

* 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>
This commit is contained in:
Andreas Oberritter 2012-03-15 23:17:52 +01:00 committed by Richard Purdie
parent 86ff2d7196
commit d4129c186c
5 changed files with 50 additions and 4 deletions

View File

@ -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.

View File

@ -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;;

View 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"