summaryrefslogtreecommitdiffstats
path: root/package/openzwave/0003-Ensure-correct-git-repository-path.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-02 18:53:32 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-07-03 00:05:18 +0200
commit80f08a4b281eecdf13eb7fa994d5bab21007e75f (patch)
treee583c89582bbb690a392a3a0ef3afd25cfee0ec6 /package/openzwave/0003-Ensure-correct-git-repository-path.patch
parent4e7522aacd4e76c0ab5e602ade9a60f5a4473939 (diff)
downloadbuildroot-80f08a4b281eecdf13eb7fa994d5bab21007e75f.tar.gz
buildroot-80f08a4b281eecdf13eb7fa994d5bab21007e75f.zip
openzwave: don't download patch from Github
Patches downloaded from Github are not stable, so bring them in the tree. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openzwave/0003-Ensure-correct-git-repository-path.patch')
-rw-r--r--package/openzwave/0003-Ensure-correct-git-repository-path.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/openzwave/0003-Ensure-correct-git-repository-path.patch b/package/openzwave/0003-Ensure-correct-git-repository-path.patch
new file mode 100644
index 0000000000..6c40ec9d0f
--- /dev/null
+++ b/package/openzwave/0003-Ensure-correct-git-repository-path.patch
@@ -0,0 +1,29 @@
+From 89cdc83307f61422db21cc7965ea294862c128bf Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fabrice.fontaine@orange.com>
+Date: Mon, 30 May 2016 10:37:42 +0200
+Subject: [PATCH 2/2] Ensure correct git repository path
+
+Add "--git-dir ./.git" to ensure the correct git repository path is used (this
+fix a bug when trying to add openzwave to buildroot build system)
+
+Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
+---
+ cpp/build/support.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cpp/build/support.mk b/cpp/build/support.mk
+index 3f74c7e..f529b25 100644
+--- a/cpp/build/support.mk
++++ b/cpp/build/support.mk
+@@ -29,7 +29,7 @@ GIT := $(shell which git)
+ ifeq ($(GIT),)
+ VERSION_REV ?= 0
+ else
+-GITVERSION := $(shell $(GIT) describe --long --tags --dirty 2>/dev/null | sed s/^v//)
++GITVERSION := $(shell $(GIT) --git-dir ./.git describe --long --tags --dirty 2>/dev/null | sed s/^v//)
+ ifeq ($(GITVERSION),)
+ GITVERSION := $(VERSION_MAJ).$(VERSION_MIN).-1
+ VERSION_REV := 0
+--
+2.7.4
+
OpenPOWER on IntegriCloud