- added the inttypes.patch. Before the compiler didn't find uint32_t and others.
Changed files:
xchm-inttypes.patch -> 1.1
xchm.spec -> 1.68
--- /dev/null
+--- xchm-1.16/src/chmfile.h.old 2009-05-17 15:31:42.000000000 +0200
++++ xchm-1.16/src/chmfile.h 2009-05-17 15:37:27.000000000 +0200
+@@ -24,6 +24,10 @@
+ #define __CHMFILE_H_
+
+ #include <config.h>
++
++/* for uint32_t */
++#include <inttypes.h>
++
+ #include <chm_lib.h>
+ #include <wx/filefn.h>
+ #include <wx/string.h>
+--- xchm-1.16/src/bitfiddle.inl.old 2009-05-17 15:33:26.000000000 +0200
++++ xchm-1.16/src/bitfiddle.inl 2009-05-17 15:38:28.000000000 +0200
+@@ -21,7 +21,7 @@
+
+ */
+
+-
++#include <inttypes.h>
+ #include <wx/string.h>
+
+
Summary: CHM viewer for UNIX
Summary(pl.UTF-8): Przeglądarka CHM dla Uniksów
Name: xchm
-Version: 1.15
+Version: 1.16
Release: 1
License: GPL
Group: X11/Applications
Source0: http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
-# Source0-md5: a054dd396bf40d1823dbbb63ae08ec49
+# Source0-md5: bf3449c26ea2177edea056a75534e04b
Source1: %{name}.desktop
+Patch0: %{name}-inttypes.patch
URL: http://xchm.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
%build
%{__gettextize}