problems compiling kdelibs

Grzegorz Jaƛkiewicz gryzman at gmail.com
Sun Mar 27 23:38:28 BST 2005


Now, can someone please add a fix for it ? I Have no idea on which
version it has changed, so I am unable to provide exact fix. It would
probably looks something like that:

#if CUPS_VERSION_MAJOR==1 && CUPS_VERSION_MINOR>=2
  if (ntohl(http->hostaddr.ipv4.sin_addr.s_addr) != 0x7f000001 &&
       strcasecmp(http->hostname, "localhost") != 0)
#else
  if (ntohl(http->hostaddr.sin_addr.s_addr) != 0x7f000001 &&
       strcasecmp(http->hostname, "localhost") != 0)
#endif

but of coz I can't bet my balz on it.

someone more into cups, please provide real version constrains.

-- 
GJ




More information about the kde-core-devel mailing list