Skip to content

Commit

Permalink
graphics/tesseract: fix build when building from ports
Browse files Browse the repository at this point in the history
PR:	265091
Submitted by:	junchoon@dec.sakura.ne.jp
  • Loading branch information
pkubaj committed Sep 7, 2022
1 parent 4747d3f commit 6c266c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions graphics/tesseract/files/patch-configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- configure.ac.orig
+++ configure.ac
@@ -7,7 +7,7 @@
# ----------------------------------------
AC_PREREQ([2.69])
AC_INIT([tesseract],
- [m4_esyscmd_s([git describe --abbrev=4 2>/dev/null || cat VERSION])],
+ [m4_esyscmd_s([test -d .git && git describe --abbrev=4 || cat VERSION])],
[https://github.com/tesseract-ocr/tesseract/issues],,
[https://github.com/tesseract-ocr/tesseract/])

0 comments on commit 6c266c9

Please sign in to comment.