rpms/kdelibs/devel kdelibs-4.3.3-fix-kdefakes-build.patch, NONE, 1.1 kdelibs.spec, 1.527, 1.528

Kevin Kofler kkofler at fedoraproject.org
Fri Nov 6 01:09:46 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/kdelibs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1425/devel

Modified Files:
	kdelibs.spec 
Added Files:
	kdelibs-4.3.3-fix-kdefakes-build.patch 
Log Message:
- fix build of fakes.c due to missing #include <string.h>

kdelibs-4.3.3-fix-kdefakes-build.patch:
 fakes.c |    4 ++++
 1 file changed, 4 insertions(+)

--- NEW FILE kdelibs-4.3.3-fix-kdefakes-build.patch ---
diff -ur kdelibs-4.3.3/kdecore/fakes.c kdelibs-4.3.3-fix-kdefakes-build/kdecore/fakes.c
--- kdelibs-4.3.3/kdecore/fakes.c	2008-05-21 13:09:15.000000000 +0200
+++ kdelibs-4.3.3-fix-kdefakes-build/kdecore/fakes.c	2009-11-06 01:47:27.000000000 +0100
@@ -313,6 +313,8 @@
 #endif /* !HAVE_MKDTEMP */
 
 #ifndef HAVE_STRLCPY
+#include <string.h>
+
 KDECORE_EXPORT unsigned long strlcpy(char* d, const char* s, unsigned long bufsize)
 {
     unsigned long len, ret = strlen(s);
@@ -331,6 +333,8 @@
 #endif
 
 #ifndef HAVE_STRLCAT
+#include <string.h>
+
 KDECORE_EXPORT unsigned long strlcat(char* d, const char* s, unsigned long bufsize)
 {
     char *cp;


Index: kdelibs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdelibs/devel/kdelibs.spec,v
retrieving revision 1.527
retrieving revision 1.528
diff -u -p -r1.527 -r1.528
--- kdelibs.spec	6 Nov 2009 00:17:18 -0000	1.527
+++ kdelibs.spec	6 Nov 2009 01:09:45 -0000	1.528
@@ -76,6 +76,8 @@ Patch21: kdelibs-4.3.1-ossl-1.x.patch
 # patch to fix keditbookmarks crash (kde#160679)
 Patch22: kdelibs-4.3.0-bookmarks.patch
 Patch24: kdelibs-4.3.1-drkonq.patch
+# fix build of fakes.c due to missing #include <string.h>
+Patch25: kdelibs-4.3.3-fix-kdefakes-build.patch
 
 # upstream
 # 4.4 trunk
@@ -200,6 +202,7 @@ format for easy browsing.
 %if 0%{?rhel} > 5
 %patch24 -p1 -b .drkonq
 %endif
+%patch25 -p1 -b .fix-kdefakes-build
 
 # upstream patches
 # 4.4
@@ -399,6 +402,7 @@ rm -rf %{buildroot}
 * Fri Nov 06 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.3-2
 - backport adFilteredBy API from trunk, required to build konq-plugins-4.3.3
 - BR flex and bison for the Solid predicate parser
+- fix build of fakes.c due to missing #include <string.h>
 
 * Fri Oct 30 2009 Rex Dieter <rdieter at fedoraproject.org> - 4.3.3-1
 - 4.3.3




More information about the fedora-extras-commits mailing list