[Libreoffice-commits] core.git: external/libnumbertext

Stephan Bergmann sbergman at redhat.com
Fri May 4 11:10:12 UTC 2018


 external/libnumbertext/UnpackedTarball_libnumbertext.mk |    6 ++++++
 external/libnumbertext/configure.patch                  |   10 ++++++++++
 2 files changed, 16 insertions(+)

New commits:
commit d59760428669a3e6b90524b9bc52829ece539c80
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 3 16:54:11 2018 +0200

    Allow actually passing CXXFLAGS into external/libnumbertext
    
    ...as external/libnumbertext/ExternalProject_libnumbertext.mk tried to do
    
    Change-Id: I8c0deeaa1db31fc0ab5042c7f8a1ced0d65e29ee
    Reviewed-on: https://gerrit.libreoffice.org/53806
    Reviewed-by: László Németh <nemeth at numbertext.org>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/external/libnumbertext/UnpackedTarball_libnumbertext.mk b/external/libnumbertext/UnpackedTarball_libnumbertext.mk
index ac2a14133205..f5c1607562e3 100644
--- a/external/libnumbertext/UnpackedTarball_libnumbertext.mk
+++ b/external/libnumbertext/UnpackedTarball_libnumbertext.mk
@@ -13,4 +13,10 @@ $(eval $(call gb_UnpackedTarball_set_tarball,libnumbertext,$(LIBNUMBERTEXT_TARBA
 
 $(eval $(call gb_UnpackedTarball_update_autoconf_configs,libnumbertext))
 
+$(eval $(call gb_UnpackedTarball_set_patchlevel,libnumbertext,0))
+
+$(eval $(call gb_UnpackedTarball_add_patches,libnumbertext, \
+    external/libnumbertext/configure.patch \
+))
+
 # vim: set noet sw=4 ts=4:
diff --git a/external/libnumbertext/configure.patch b/external/libnumbertext/configure.patch
new file mode 100644
index 000000000000..f31ab31cdc57
--- /dev/null
+++ b/external/libnumbertext/configure.patch
@@ -0,0 +1,10 @@
+--- configure.ac
++++ configure.ac
+@@ -22,7 +22,6 @@
+ 
+ dnl Checks for typedefs, structures, and compiler characteristics.
+ AC_LANG([C++])
+-CXXFLAGS='-Wall -std=c++11'
+ 
+ AC_CHECK_HEADERS([codecvt regex])
+ 


More information about the Libreoffice-commits mailing list