From kde-core-devel Fri May 19 16:35:51 2006 From: Stefan Fiedler Date: Fri, 19 May 2006 16:35:51 +0000 To: kde-core-devel Subject: compiling kdelibs 3.5.2 and cups 1.2.0 Message-Id: <200605191835.51868.stefan.fiedler () students ! jku ! at> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=114806321302105 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;