compiling kdelibs 3.5.2 and cups 1.2.0
Stefan Fiedler
stefan.fiedler at students.jku.at
Fri May 19 17:35:51 BST 2006
Hi all,
the following patch is required to compile kdelibs 3.5.2 against cups 1.2.0.
It should work with cups 1.1.19 or later. The problem with cups 1.2.0 is that
the function _ipp_free_attr is no longer defined in usr/include/cups/ipp.h.
With best regards,
Stefan Fiedler
--- kdelibs-3.5.2/kdeprint/cups/ipprequest.cpp~ 2005-10-10
17:06:30.000000000 +0200
+++ kdelibs-3.5.2/kdeprint/cups/ipprequest.cpp 2006-05-17
19:55:52.000000000 +0200
@@ -516,9 +516,7 @@
{
if (attr->next && strcmp(attr->next->name, "document-format")
== 0)
{
- ipp_attribute_t *attr2 = attr->next;
- attr->next = attr2->next;
- _ipp_free_attr(attr2);
+ ippDeleteAttribute(request_, attr);
break;
}
attr = attr->next;
More information about the kde-core-devel
mailing list