Add patch to fix string format error

This commit is contained in:
Andrey Bondrov 2015-04-03 23:30:32 +10:00
parent a0675ac163
commit 02d4abe81e
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -urN libreoffice-4.4.2.2/vcl/unx/gtk/a11y/atktextattributes.cxx libreoffice-4.4.2.2-patched/vcl/unx/gtk/a11y/atktextattributes.cxx
--- libreoffice-4.4.2.2/vcl/unx/gtk/a11y/atktextattributes.cxx 2015-03-26 21:51:14.000000000 +1000
+++ libreoffice-4.4.2.2-patched/vcl/unx/gtk/a11y/atktextattributes.cxx 2015-04-03 23:23:10.113442272 +1000
@@ -1235,7 +1235,7 @@
pSet = attribute_set_prepend( pSet,
atk_text_attribute_register( sPropertyName.getStr() ),
- g_strdup_printf( sPropertyValue.getStr() ) );
+ g_strdup_printf( "%s", sPropertyValue.getStr() ) );
}
while ( nIndex >= 0 && nIndex < sExtendedAttrs.getLength() );

View file

@ -105,6 +105,7 @@ Patch1: libreoffice-4.2.5-icu-49.patch
Patch2: help-images-mdv64789.patch
Patch3: 0002-fix-tubes-build.patch
Patch4: libreoffice-4.4.2.2-disable-test2.patch
Patch5: libreoffice-4.4.2.2-sfmt.patch
Patch51: libreoffice-4.4.1.2-impress-kde-crash-hack.patch