pkg-perl: set PERL_USE_UNSAFE_INC
[buildroot-gz.git] / package / openzwave / 0002-Ensure-correct-git-repository-path.patch
blob6c40ec9d0fffe72ca4ca3500f98288d9110c35a8
1 From 89cdc83307f61422db21cc7965ea294862c128bf Mon Sep 17 00:00:00 2001
2 From: Fabrice Fontaine <fabrice.fontaine@orange.com>
3 Date: Mon, 30 May 2016 10:37:42 +0200
4 Subject: [PATCH 2/2] Ensure correct git repository path
6 Add "--git-dir ./.git" to ensure the correct git repository path is used (this
7 fix a bug when trying to add openzwave to buildroot build system)
9 Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
10 ---
11 cpp/build/support.mk | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
14 diff --git a/cpp/build/support.mk b/cpp/build/support.mk
15 index 3f74c7e..f529b25 100644
16 --- a/cpp/build/support.mk
17 +++ b/cpp/build/support.mk
18 @@ -29,7 +29,7 @@ GIT := $(shell which git)
19 ifeq ($(GIT),)
20 VERSION_REV ?= 0
21 else
22 -GITVERSION := $(shell $(GIT) describe --long --tags --dirty 2>/dev/null | sed s/^v//)
23 +GITVERSION := $(shell $(GIT) --git-dir ./.git describe --long --tags --dirty 2>/dev/null | sed s/^v//)
24 ifeq ($(GITVERSION),)
25 GITVERSION := $(VERSION_MAJ).$(VERSION_MIN).-1
26 VERSION_REV := 0
27 --
28 2.7.4