[Libreoffice-commits] .: hunspell/hunspell-valgrind.patch hunspell/makefile.mk
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 10 04:17:35 PST 2010
hunspell/hunspell-valgrind.patch | 13 +++++++++++++
hunspell/makefile.mk | 3 ++-
2 files changed, 15 insertions(+), 1 deletion(-)
New commits:
commit d2a6becaf08cf579ece7c6ba1874ef77d8804ca0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Dec 10 12:17:28 2010 +0000
backport the run valgrind correctly fix
diff --git a/hunspell/hunspell-valgrind.patch b/hunspell/hunspell-valgrind.patch
new file mode 100644
index 0000000..5ae1a86
--- /dev/null
+++ b/hunspell/hunspell-valgrind.patch
@@ -0,0 +1,13 @@
+--- misc/hunspell-1.2.9/tests/test.sh
++++ misc/build/hunspell-1.2.9/tests/test.sh
+@@ -41,8 +41,8 @@
+ if [ ! -d $TEMPDIR/badlogs ]; then
+ mkdir $TEMPDIR/badlogs
+ fi
+- alias hunspell='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-hunspell'
+- alias analyze='valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/.libs/lt-analyze'
++ alias hunspell='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/hunspell'
++ alias analyze='../libtool --mode=execute -dlopen ../src/hunspell/.libs/libhunspell*.la valgrind --tool=$VALGRIND --leak-check=yes --show-reachable=yes --log-file=$TEMPDIR/test.pid ../src/tools/analyze'
+ fi
+
+ # Tests good words
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index a455cce..ded4bb6 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -43,7 +43,8 @@ ADDITIONAL_FILES+=config.h
PATCH_FILES=\
hunspell-wntconfig.patch \
hunspell-solaris.patch \
- hunspell-stacksmash.patch
+ hunspell-stacksmash.patch \
+ hunspell-valgrind.patch
.IF "$(GUI)"=="UNX"
More information about the Libreoffice-commits
mailing list