[packages/libreoffice] - updated hamcrest/junit patch

baggins baggins at pld-linux.org
Sun Oct 12 15:02:07 CEST 2014


commit 5893fec7bc83666992b2a10597b585efe9e0a3d3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Oct 12 15:01:48 2014 +0200

    - updated hamcrest/junit patch

 libreoffice-hamcrest.patch | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/libreoffice-hamcrest.patch b/libreoffice-hamcrest.patch
index 2e8d3fe..8c1c683 100644
--- a/libreoffice-hamcrest.patch
+++ b/libreoffice-hamcrest.patch
@@ -1,15 +1,13 @@
---- configure.ac.orig	2012-02-01 13:56:49.000000000 +0100
-+++ configure.ac	2012-02-23 18:57:32.000000000 +0100
-@@ -7561,6 +7561,11 @@
-                     [AC_MSG_ERROR(commons-logging.jar not found.)], [])
-             fi
-         fi
-+        # hamcrest is a dependency of junit, add it to the classpath if
-+        # found
-+        if test -e /usr/share/java/hamcrest-core.jar; then
-+            OOO_JUNIT_JAR=$OOO_JUNIT_JAR:/usr/share/java/hamcrest-core.jar
-+        fi
-     else
-         AC_MSG_RESULT([internal])
-         SYSTEM_APACHE_COMMONS=NO
-
+--- ../BUILD/libreoffice-4.3.2.2/configure.ac.orig	2014-10-12 14:42:16.760723674 +0200
++++ ../BUILD/libreoffice-4.3.2.2/configure.ac	2014-10-12 14:59:04.195877183 +0200
+@@ -12315,6 +12315,10 @@
+     if test "$_os" = "WINNT"; then
+         OOO_JUNIT_JAR=`cygpath -m "$OOO_JUNIT_JAR"`
+     fi
++    # hamcrest is a dependency of junit, add it to the classpath if found
++    if test -e /usr/share/java/hamcrest-core.jar; then
++        OOO_JUNIT_JAR=$OOO_JUNIT_JAR:/usr/share/java/hamcrest-core.jar
++    fi
+     printf 'import org.junit.Before; import org.hamcrest.BaseDescription;' \
+         > conftest.java
+     if "$JAVACOMPILER" -classpath "$OOO_JUNIT_JAR" conftest.java >&5 2>&5; then
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreoffice.git/commitdiff/5893fec7bc83666992b2a10597b585efe9e0a3d3



More information about the pld-cvs-commit mailing list