]> git.pld-linux.org Git - packages/xchm.git/commitdiff
- up to 1.16 auto/th/xchm-1_16-1
authorwitekfl <witekfl@pld-linux.org>
Sun, 17 May 2009 13:46:31 +0000 (13:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

xchm-inttypes.patch [new file with mode: 0644]
xchm.spec

diff --git a/xchm-inttypes.patch b/xchm-inttypes.patch
new file mode 100644 (file)
index 0000000..f834503
--- /dev/null
@@ -0,0 +1,24 @@
+--- 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>
index ff2798bc488f2cd0f8c13387afcbadd895046088..7254977486d802abe6fe58e0314858937f7c613c 100644 (file)
--- a/xchm.spec
+++ b/xchm.spec
@@ -6,13 +6,14 @@
 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
@@ -33,6 +34,7 @@ CHMLIB Jeda Winga, z użyciem wxWidgets.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gettextize}
This page took 0.125414 seconds and 4 git commands to generate.