1 |
commit: 0bbf2d08308c122469ed7281a648fe2f32f72eaf |
2 |
Author: Axant <tech <AT> axant <DOT> it> |
3 |
AuthorDate: Sat Aug 31 02:25:42 2013 +0000 |
4 |
Commit: Keiji Costantini <strites <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Aug 31 02:25:42 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde-sunset.git;a=commit;h=0bbf2d08 |
7 |
|
8 |
Cups stdio patch |
9 |
|
10 |
--- |
11 |
kde-base/kdelibs/files/kdelibs-3.5.10-cups-util.c.patch | 8 ++++++++ |
12 |
kde-base/kdelibs/kdelibs-3.5.10-r10.ebuild | 3 +++ |
13 |
2 files changed, 11 insertions(+) |
14 |
|
15 |
diff --git a/kde-base/kdelibs/files/kdelibs-3.5.10-cups-util.c.patch b/kde-base/kdelibs/files/kdelibs-3.5.10-cups-util.c.patch |
16 |
new file mode 100644 |
17 |
index 0000000..eaa05cb |
18 |
--- /dev/null |
19 |
+++ b/kde-base/kdelibs/files/kdelibs-3.5.10-cups-util.c.patch |
20 |
@@ -0,0 +1,8 @@ |
21 |
+--- kdelibs-3.5.10/kdeprint/cups/cupsdconf2/cups-util.c 2007-10-08 12:52:10.000000000 +0300 |
22 |
++++ ./cups-util.c 2012-02-12 21:19:50.000000000 +0200 |
23 |
+@@ -1,3 +1,4 @@ |
24 |
++#include <stdio.h> |
25 |
+ #include <cups/ipp.h> |
26 |
+ #include <cups/http.h> |
27 |
+ #include <cups/cups.h> |
28 |
+ |
29 |
|
30 |
diff --git a/kde-base/kdelibs/kdelibs-3.5.10-r10.ebuild b/kde-base/kdelibs/kdelibs-3.5.10-r10.ebuild |
31 |
index 204fc95..a55255b 100644 |
32 |
--- a/kde-base/kdelibs/kdelibs-3.5.10-r10.ebuild |
33 |
+++ b/kde-base/kdelibs/kdelibs-3.5.10-r10.ebuild |
34 |
@@ -161,6 +161,9 @@ src_unpack() { |
35 |
|
36 |
# bug 267018 |
37 |
sed -i '/^SUBDIRS/s/ hicolor / /' pics/Makefile.{am,in} |
38 |
+ |
39 |
+ # new versions of cups breaks |
40 |
+ epatch "${FILESDIR}/kdelibs-3.5.10-cups-util.c.patch" |
41 |
} |
42 |
|
43 |
src_compile() { |