--- /dev/null
+--- libgtkhtml-2.11.1/libgtkhtml/a11y/htmlboxblocktextaccessible.c~ 2015-03-22 13:54:32.000000000 +0200
++++ libgtkhtml-2.11.1/libgtkhtml/a11y/htmlboxblocktextaccessible.c 2015-03-22 13:54:34.104449611 +0200
+@@ -999,7 +999,7 @@
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_PIXELS_ABOVE_LINES,
+ value);
+- value = g_strdup_printf (atk_text_attribute_get_value (ATK_TEXT_ATTR_EDITABLE, 0));
++ value = g_strdup_printf ("%s", atk_text_attribute_get_value (ATK_TEXT_ATTR_EDITABLE, 0));
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_EDITABLE,
+ value);
+@@ -1007,7 +1007,7 @@
+ int_value = 0;
+ else
+ int_value = 1;
+- value = g_strdup_printf (atk_text_attribute_get_value (ATK_TEXT_ATTR_INVISIBLE, int_value));
++ value = g_strdup_printf ("%s", atk_text_attribute_get_value (ATK_TEXT_ATTR_INVISIBLE, int_value));
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_INVISIBLE,
+ value);
+--- libgtkhtml-2.11.1/libgtkhtml/a11y/htmlboxtextaccessible.c~ 2015-03-22 13:55:18.000000000 +0200
++++ libgtkhtml-2.11.1/libgtkhtml/a11y/htmlboxtextaccessible.c 2015-03-22 13:55:20.216748906 +0200
+@@ -945,7 +945,7 @@
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_PIXELS_ABOVE_LINES,
+ value);
+- value = g_strdup_printf (atk_text_attribute_get_value (ATK_TEXT_ATTR_EDITABLE, 0));
++ value = g_strdup_printf ("%s", atk_text_attribute_get_value (ATK_TEXT_ATTR_EDITABLE, 0));
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_EDITABLE,
+ value);
+@@ -953,7 +953,7 @@
+ int_value = 0;
+ else
+ int_value = 1;
+- value = g_strdup_printf (atk_text_attribute_get_value (ATK_TEXT_ATTR_INVISIBLE, int_value));
++ value = g_strdup_printf ("%s", atk_text_attribute_get_value (ATK_TEXT_ATTR_INVISIBLE, int_value));
+ attrib_set = gail_misc_add_attribute (attrib_set,
+ ATK_TEXT_ATTR_INVISIBLE,
+ value);
Summary(pl.UTF-8): Widget GTK HTML dla GNOME2
Name: libgtkhtml
Version: 2.11.1
-Release: 5
+Release: 6
License: GPL/LGPL
Group: X11/Libraries
-Source0: http://ftp.gnome.org/pub/gnome/sources/libgtkhtml/2.11/%{name}-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/GNOME/sources/libgtkhtml/2.11/%{name}-%{version}.tar.bz2
# Source0-md5: a1d1a197dcff8c4571659deef5495e24
+Patch0: format-security.patch
URL: http://gtkhtml2.codefactory.se/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gail-devel >= 1.9.0
BuildRequires: gtk+2-devel >= 2:2.10.0
-BuildRequires: libtool
BuildRequires: libselinux-devel
+BuildRequires: libtool
BuildRequires: libxml2-devel >= 1:2.6.26
BuildRequires: pkgconfig
BuildRequires: xorg-lib-libSM-devel
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT