packages: xchm/xchm.spec, xchm/xchm-inttypes.patch (NEW) - up to 1.16 - add...

witekfl witekfl at pld-linux.org
Sun May 17 15:46:37 CEST 2009


Author: witekfl                      Date: Sun May 17 13:46:37 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.16
- added the inttypes.patch. Before the compiler didn't find uint32_t and others.

---- Files affected:
packages/xchm:
   xchm.spec (1.67 -> 1.68) , xchm-inttypes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/xchm/xchm.spec
diff -u packages/xchm/xchm.spec:1.67 packages/xchm/xchm.spec:1.68
--- packages/xchm/xchm.spec:1.67	Wed Apr 15 17:49:01 2009
+++ packages/xchm/xchm.spec	Sun May 17 15:46:31 2009
@@ -7,13 +7,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
@@ -34,6 +35,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gettextize}
@@ -86,6 +88,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2009/05/17 13:46:31  witekfl
+- up to 1.16
+- added the inttypes.patch. Before the compiler didn't find uint32_t and others.
+
 Revision 1.67  2009/04/15 15:49:01  duddits
 - up to 1.15
 - compile.patch obsolete

================================================================
Index: packages/xchm/xchm-inttypes.patch
diff -u /dev/null packages/xchm/xchm-inttypes.patch:1.1
--- /dev/null	Sun May 17 15:46:37 2009
+++ packages/xchm/xchm-inttypes.patch	Sun May 17 15:46:31 2009
@@ -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>
+ 
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xchm/xchm.spec?r1=1.67&r2=1.68&f=u



More information about the pld-cvs-commit mailing list