summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch')
-rw-r--r--meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch24
1 files changed, 24 insertions, 0 deletions
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 0000000000..3110a724f8
--- /dev/null
+++ b/meta/recipes-extended/parted/parted-3.1/fix-git-version-gen.patch
@@ -0,0 +1,24 @@
1Upstream-Status: Submitted [bug-parted@gnu.org]
2
3Initialize (version-)prefix to prevent inheritance from
4the build environment during autoreconf.
5
6| sed: -e expression #1, char 9: unknown option to `s'
7| configure.ac:55: error: AC_INIT should be called with package and version arguments
8| aclocal.m4:594: AM_INIT_AUTOMAKE is expanded from...
9| configure.ac:55: the top level
10| autom4te: /usr/bin/m4 failed with exit status: 1
11
12Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
13
14--- parted-3.1/build-aux/git-version-gen.orig 2012-03-15 13:51:38.911841912 +0100
15+++ parted-3.1/build-aux/git-version-gen 2012-03-15 13:51:50.171841800 +0100
16@@ -92,6 +92,8 @@
17
18 Running without arguments will suffice in most cases."
19
20+prefix="v"
21+
22 while test $# -gt 0; do
23 case $1 in
24 --help) echo "$usage"; exit 0;;