hunspell/hunspell-grep2.24.patch
Petr Gajdos 4f3598d0fd Accepting request 384048 from home:scarabeus_iv:branches:devel:libraries:c_c++
- Version update to 1.3.4:
  * Various updates to the buildsystem
  * Various werror bugfixes
  * Loads of coverity fixes
- Add patch to build with grep 2.24:
  * hunspell-grep2.24.patch
- Remove upstreamed patch:
  * hunspell-emacs-utf8.patch
- Do not search for translations - broken automake from upstream
  * Not worth fixing only bit italian and mostly hungarian translations
    for cli anyway

OBS-URL: https://build.opensuse.org/request/show/384048
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=42
2016-04-04 13:09:40 +00:00

25 lines
956 B
Diff

From ded5b4c62c37084d216154e02e4d5e6efbd3ccfa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= <rul@kalgan.cc>
Date: Wed, 9 Mar 2016 23:14:56 +0100
Subject: [PATCH] Fix FTBFS due new grep binary matching behavior
(cherry-picked from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=814968#16)
---
tests/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test.sh b/tests/test.sh
index c6755c6..f7e852f 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -136,7 +136,7 @@ check_valgrind_log "morphological analysis"
# Tests suggestions
if test -f $TESTDIR/$NAME.sug; then
- hunspell $* -a -d $TESTDIR/$NAME <$TESTDIR/$NAME.wrong | grep '^&' | \
+ hunspell $* -a -d $TESTDIR/$NAME <$TESTDIR/$NAME.wrong | grep -a '^&' | \
sed 's/^[^:]*: //' >$TEMPDIR/$NAME.sug
if ! cmp $TEMPDIR/$NAME.sug $TESTDIR/$NAME.sug >/dev/null; then
echo "============================================="