diff --git a/chmlib-0.39-axp.patch b/chmlib-0.39-axp.patch new file mode 100644 index 0000000..12141d8 --- /dev/null +++ b/chmlib-0.39-axp.patch @@ -0,0 +1,12 @@ +diff -up chmlib-0.39/src/chm_lib.c.axp chmlib-0.39/src/chm_lib.c +--- chmlib-0.39/src/chm_lib.c.axp 2007-08-02 18:04:52.000000000 +0200 ++++ chmlib-0.39/src/chm_lib.c 2007-08-02 18:05:17.000000000 +0200 +@@ -164,7 +164,7 @@ typedef unsigned long long UInt64; + + /* x86-64 */ + /* Note that these may be appropriate for other 64-bit machines. */ +-#elif __x86_64__ || __ia64__ ++#elif __x86_64__ || __ia64__ || __alpha__ + typedef unsigned char UChar; + typedef short Int16; + typedef unsigned short UInt16; diff --git a/chmlib.spec b/chmlib.spec index fc91beb..a4587eb 100644 --- a/chmlib.spec +++ b/chmlib.spec @@ -1,12 +1,13 @@ Name: chmlib Summary: Library for dealing with ITSS/CHM format files Version: 0.39 -Release: 1%{?dist} +Release: 3%{?dist} License: LGPL Group: Development/Libraries -Url: http://66.93.236.84/~jedwin/projects/chmlib/ -Source: http://66.93.236.84/~jedwin/projects/chmlib/%{name}-%{version}.tar.bz2 +Url: http://www.jedrea.com/chmlib/ +Source: http://www.jedrea.com/chmlib/%{name}-%{version}.tar.bz2 Patch0: chmlib-chm_lib_c-ppc-patch.diff +Patch1: chmlib-0.39-axp.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -27,6 +28,7 @@ Files needed for developing apps using chmlib. %prep %setup -q %patch0 -p0 +%patch1 -p1 -b .axp %build %configure --disable-static @@ -56,6 +58,12 @@ Files needed for developing apps using chmlib. %changelog +* Sat Aug 4 2007 Peter Lemenkov 0.39-3 +- Upstream URL changed + +* Thu Aug 02 2007 Oliver Falk 0.39-2 +- Add alpha fix + * Thu Feb 1 2007 Peter Lemenkov 0.39-1 - Ver. 0.39