summaryrefslogtreecommitdiffstats
path: root/package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-02-23 22:43:08 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-23 22:52:00 +0100
commit911ac036e0e09149e31d5b67a71e4a896e2d8fdf (patch)
tree931c9297bd50dc25072e6c9d95fb88883c6a724e /package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch
parent06b555b6d5baadb6fe73e5d8a9fd640602908251 (diff)
downloadbuildroot-911ac036e0e09149e31d5b67a71e4a896e2d8fdf.tar.gz
buildroot-911ac036e0e09149e31d5b67a71e4a896e2d8fdf.zip
package/sslh: fix a patch, drop the other
It turned out that the troll character U+c2a0 was added by our own patch. So fix it amd drop our second patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch')
-rw-r--r--package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch b/package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch
index 5cb8ce2541..d23bc9fae6 100644
--- a/package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch
+++ b/package/sslh/0001-secure-version-while-building-sslh-in-a-larger-git-t.patch
@@ -12,6 +12,8 @@ subtree only, this patch adds a check : a .git directory has to exist at
the root of the project to enable git-extracted version string.
Signed-off-by: David Bachelart <david.bachelart@bbright.com>
+[yann.morin.1998@free.fr: fix troll character U+c2a0]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
genver.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -34,7 +36,7 @@ index 79fd0a0..051e57b 100755
fi
-if head=`git rev-parse --verify HEAD 2>/dev/null`; then
-+if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
++if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
# generate the version info based on the tag
release=`(git describe --tags || git --describe || git describe --all --long) \
2>/dev/null | tr -d '\n'`
OpenPOWER on IntegriCloud