fix build problem

This commit is contained in:
Than Ngo 2005-10-24 12:27:56 +00:00
parent 2bcc3ad6b2
commit cdccb3d6eb
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- kdelibs-3.4.92/kwallet/backend/sha1.cc.orig 2005-10-24 08:01:18.000000000 -0400
+++ kdelibs-3.4.92/kwallet/backend/sha1.cc 2005-10-24 08:11:28.000000000 -0400
@@ -27,6 +27,8 @@
#include <sys/bitypes.h> /* For uintXX_t on Tru64 */
#endif
+#include <inttypes.h>
+
#include "sha1.h"
#include <string.h>

View File

@ -51,6 +51,7 @@ Patch24: kdelibs-3.1-libtool.patch
Patch32: kdelibs-3.2.3-cups.patch
Patch33: kdelibs-3.3.2-ppc.patch
Patch34: kdelibs-3.4.0-qtdoc.patch
Patch35: kdelibs-3.4.92-inttype.patch
%if %{arts}
Requires: arts >= %{arts_epoch}:%{arts_version}
@ -166,7 +167,8 @@ format for easy browsing.
%patch32 -p1 -b .cups
%patch33 -p1 -b .ppc
%patch34 -p1 -b .qtdoc
%patch35 -p1 -b .inttype
%
# add redhat into KDE_VERSION_STRING
%if %{redhatify}
perl -pi -e "s,^#define KDE_VERSION_STRING .*,#define KDE_VERSION_STRING \"%{version}-%{release} Red Hat\"," kdecore/kdeversion.h