The following NMU patch obviously fixes the FTBFS by casting the pointer
into a intptr_t instead of a int. Builds fine, not tested.

Brice

--- katoob-0.5.6/debian/changelog
+++ katoob-0.5.6/debian/changelog
@@ -1,3 +1,10 @@
+katoob (0.5.6-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Cast pointer to intptr_t instead of int, closes: #405873.
+
+ -- Brice <[EMAIL PROTECTED]>  Wed, 10 Jan 2007 08:35:07 +0100
+
 katoob (0.5.6-2) unstable; urgency=low
 
   * debian/control: Build-Depends: Added autotools-dev
--- katoob-0.5.6.orig/src/DICTClient/DICTClient.cc
+++ katoob-0.5.6/src/DICTClient/DICTClient.cc
@@ -132,7 +132,7 @@
   memcpy(&sad.sin_addr, ptrh->h_addr, ptrh->h_length);
 
   /* Map TCP tranbsport protocol name to protocol number */
-  if (((int)(ptrp = getprotobyname("tcp"))) == 0) {
+  if (((intptr_t)(ptrp = getprotobyname("tcp"))) == 0) {
     throw CannotMapTcpToProtocolNumber();
   }
 

Reply via email to