]> git.pld-linux.org Git - packages/liblangtag.git/blob - liblangtag-Werror.patch
- initial from fc
[packages/liblangtag.git] / liblangtag-Werror.patch
1 --- liblangtag-0.4.0/liblangtag/lt-ext-module.c~        2012-10-16 04:48:31.000000000 +0200
2 +++ liblangtag-0.4.0/liblangtag/lt-ext-module.c 2013-02-14 11:35:35.138119334 +0100
3 @@ -258,7 +258,7 @@
4                                                (lt_destroy_func_t)dlclose);
5                                 func = dlsym(module->module, "module_get_version");
6                                 if (!func) {
7 -                                       lt_warning(dlerror());
8 +                                       lt_warning("%s", dlerror());
9                                         break;
10                                 }
11                                 if (((lt_ext_module_version_func_t)func)() != LT_EXT_MODULE_VERSION) {
12 @@ -268,7 +268,7 @@
13                                 }
14                                 func = dlsym(module->module, "module_get_funcs");
15                                 if (!func) {
16 -                                       lt_warning(dlerror());
17 +                                       lt_warning("%s", dlerror());
18                                         break;
19                                 }
20                                 if (!(module->funcs = ((lt_ext_module_get_funcs_func_t)func)())) {
21 --- liblangtag-0.4.0/tests/main.c~      2012-10-09 11:44:06.000000000 +0200
22 +++ liblangtag-0.4.0/tests/main.c       2013-02-14 11:36:53.860009569 +0100
23 @@ -37,7 +37,7 @@
24         const char            *message,
25         lt_pointer_t           user_data)
26  {
27 -       lt_error_set(&error, type, message);
28 +       lt_error_set(&error, type, "%s", message);
29  }
30  
31  static void
This page took 0.122977 seconds and 3 git commands to generate.