diff options
-rw-r--r-- | liblangtag/liblangtag-0.2-msvc-warning.patch | 21 | ||||
-rw-r--r-- | liblangtag/makefile.mk | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/liblangtag/liblangtag-0.2-msvc-warning.patch b/liblangtag/liblangtag-0.2-msvc-warning.patch new file mode 100644 index 000000000000..5b3c16d3fe4f --- /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 436e38dc4313..f6345ee4050e 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) |