- fix build of fakes.c due to missing #include <string.h>
This commit is contained in:
parent
76c00bbd3b
commit
fe787f3437
21
kdelibs-4.3.3-fix-kdefakes-build.patch
Normal file
21
kdelibs-4.3.3-fix-kdefakes-build.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
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;
|
@ -76,6 +76,8 @@ Patch21: kdelibs-4.3.1-ossl-1.x.patch
|
|||||||
# patch to fix keditbookmarks crash (kde#160679)
|
# patch to fix keditbookmarks crash (kde#160679)
|
||||||
Patch22: kdelibs-4.3.0-bookmarks.patch
|
Patch22: kdelibs-4.3.0-bookmarks.patch
|
||||||
Patch24: kdelibs-4.3.1-drkonq.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
|
# upstream
|
||||||
# 4.4 trunk
|
# 4.4 trunk
|
||||||
@ -200,6 +202,7 @@ format for easy browsing.
|
|||||||
%if 0%{?rhel} > 5
|
%if 0%{?rhel} > 5
|
||||||
%patch24 -p1 -b .drkonq
|
%patch24 -p1 -b .drkonq
|
||||||
%endif
|
%endif
|
||||||
|
%patch25 -p1 -b .fix-kdefakes-build
|
||||||
|
|
||||||
# upstream patches
|
# upstream patches
|
||||||
# 4.4
|
# 4.4
|
||||||
@ -399,6 +402,7 @@ rm -rf %{buildroot}
|
|||||||
* Fri Nov 06 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.3.3-2
|
* Fri Nov 06 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 4.3.3-2
|
||||||
- backport adFilteredBy API from trunk, required to build konq-plugins-4.3.3
|
- backport adFilteredBy API from trunk, required to build konq-plugins-4.3.3
|
||||||
- BR flex and bison for the Solid predicate parser
|
- 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@fedoraproject.org> - 4.3.3-1
|
* Fri Oct 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.3.3-1
|
||||||
- 4.3.3
|
- 4.3.3
|
||||||
|
Loading…
Reference in New Issue
Block a user