Summary(pl.UTF-8): Widget do HTML-a oparty o Motif
Name: XmHTML
Version: 1.1.7
-Release: 13
+Release: 14
License: LGPL
Group: X11/Libraries
Source0: http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
Patch0: %{name}-am.patch
Patch1: %{name}-macro.patch
Patch2: %{name}-libpng.patch
+Patch3: format-security.patch
URL: http://www.xs4all.nl/~ripley/XmHTML/
BuildRequires: autoconf
BuildRequires: automake
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
# Argh! automake stuff outdated, imake stuff outdated even more,
# makefiles not outdated but don't support shared libraries :/
# Use automake with some patches/workarounds/etc
--- /dev/null
+--- XmHTML-1.1.7/lib/common/parse.c.orig 1999-01-20 06:13:08.000000000 +0100
++++ XmHTML-1.1.7/lib/common/parse.c 2013-11-06 22:11:19.395801941 +0100
+@@ -1935,7 +1935,7 @@
+ sprintf(msg, XMHTML_MSG_128, html_tokens[id], html_tokens[current]);
+ break;
+ case HTML_INTERNAL:
+- sprintf(msg, XMHTML_MSG_129);
++ sprintf(msg, "%s", XMHTML_MSG_129);
+ break;
+ case HTML_NOTIFY: /* not reached */
+ return;