aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch')
-rw-r--r--meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch b/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
new file mode 100644
index 0000000000..a8064cfd79
--- /dev/null
+++ b/meta/recipes-extended/ltp/ltp/fix_building_fom_archive.patch
@@ -0,0 +1,13 @@
+Index: ltp-20120401/Makefile
+===================================================================
+--- ltp-20120401.orig/Makefile
++++ ltp-20120401/Makefile
+@@ -173,7 +173,7 @@ SRCDIR_INSTALL_TARGETS := $(SRCDIR_INSTA
+ #
+ .PHONY: Version
+ Version:
+- if git describe &> /dev/null; then \
++ if git describe > /dev/null 2>&1; then \
+ git describe > "$@"; \
+ else \
+ cp VERSION "$@"; \