liblangtag/liblangtag-0.2-msvc-warning.patch |   21 +++++++++++++++++++++
 liblangtag/makefile.mk                       |    1 +
 2 files changed, 22 insertions(+)

New commits:
commit 976deb6b99df6a34f627cef726db595e924a8d87
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Wed Aug 8 08:49:18 2012 +0200

    MSVC warning C4510: default constructor could not be generated
    
    and warning C4610: struct can never be instantiated - user defined 
constructor
    required
    
    Change-Id: Ie387f62def8a3d282f39f861971f25ff52df73d3

diff --git a/liblangtag/liblangtag-0.2-msvc-warning.patch 
b/liblangtag/liblangtag-0.2-msvc-warning.patch
new file mode 100644
index 0000000..5b3c16d
--- /dev/null
+++ b/liblangtag/liblangtag-0.2-msvc-warning.patch
@@ -0,0 +1,21 @@
+--- misc/liblangtag-0.2/liblangtag/lt-ext-module.h     2012-02-02 
06:02:45.000000000 +0100
++++ misc/build/liblangtag-0.2/liblangtag/lt-ext-module.h       2012-08-08 
08:46:57.810860044 +0200
+@@ -151,12 +151,12 @@
+  * and #lt_ext_module_t and extend features.
+  */
+ struct _lt_ext_module_funcs_t {
+-      const lt_ext_module_singleton_func_t get_singleton;
+-      const lt_ext_module_data_new_func_t  create_data;
+-      const lt_ext_module_precheck_func_t  precheck_tag;
+-      const lt_ext_module_parse_func_t     parse_tag;
+-      const lt_ext_module_get_tag_func_t   get_tag;
+-      const lt_ext_module_validate_func_t  validate_tag;
++      lt_ext_module_singleton_func_t get_singleton;
++      lt_ext_module_data_new_func_t  create_data;
++      lt_ext_module_precheck_func_t  precheck_tag;
++      lt_ext_module_parse_func_t     parse_tag;
++      lt_ext_module_get_tag_func_t   get_tag;
++      lt_ext_module_validate_func_t  validate_tag;
+ };
+ 
+ 
diff --git a/liblangtag/makefile.mk b/liblangtag/makefile.mk
index 436e38d..f6345ee 100644
--- a/liblangtag/makefile.mk
+++ b/liblangtag/makefile.mk
@@ -40,6 +40,7 @@ PATCH_FILES=liblangtag-0.2-0001-Fix-a-memory-leak.patch
 PATCH_FILES+=liblangtag-0.2-0002-Fix-invalid-memory-access.patch
 PATCH_FILES+=liblangtag-0.2-configure.patch
 PATCH_FILES+=liblangtag-0.2-datadir.patch
+PATCH_FILES+=liblangtag-0.2-msvc-warning.patch
 
 CONFIGURE_DIR=.
 BUILD_DIR=$(CONFIGURE_DIR)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to