From ceb39cb535f9c4d9d9ea2823a6c84926770f3377 Mon Sep 17 00:00:00 2001 From: Daniel Dickinson Date: Sat, 11 Dec 2010 06:26:40 +0000 Subject: [PATCH] [packages] collectd: Fixed error for git users due to use of git describe for version number (which pulls any tags on the git tree for OpenWRT, not collectd as the author intended. SVN-Revision: 24478 --- .../collectd/patches/200-fix-git-describe-error.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 utils/collectd/patches/200-fix-git-describe-error.patch diff --git a/utils/collectd/patches/200-fix-git-describe-error.patch b/utils/collectd/patches/200-fix-git-describe-error.patch new file mode 100644 index 0000000000..b5f6e4c23c --- /dev/null +++ b/utils/collectd/patches/200-fix-git-describe-error.patch @@ -0,0 +1,11 @@ +--- a/version-gen.sh ++++ b/version-gen.sh +@@ -2,7 +2,7 @@ + + DEFAULT_VERSION="4.10.2.git" + +-VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`" ++#VERSION="`git describe 2> /dev/null | sed -e 's/^collectd-//'`" + + if test -z "$VERSION"; then + VERSION="$DEFAULT_VERSION" -- 2.30.2