[Pkg-utopia-commits] r748 - packages/unstable/avahi/debian/patches

Sjoerd Simons sjoerd at costa.debian.org
Wed Mar 15 18:26:43 UTC 2006


Author: sjoerd
Date: 2006-03-15 18:26:43 +0000 (Wed, 15 Mar 2006)
New Revision: 748

Modified:
   packages/unstable/avahi/debian/patches/03_cmsg_too_large.patch
Log:
CMSG_SPACE needs a size_t arg, not a type

Modified: packages/unstable/avahi/debian/patches/03_cmsg_too_large.patch
===================================================================
--- packages/unstable/avahi/debian/patches/03_cmsg_too_large.patch	2006-03-15 18:02:13 UTC (rev 747)
+++ packages/unstable/avahi/debian/patches/03_cmsg_too_large.patch	2006-03-15 18:26:43 UTC (rev 748)
@@ -7,7 +7,7 @@
  
          msg.msg_control = cmsg_data;
 -        msg.msg_controllen = sizeof(cmsg_data);
-+        msg.msg_controllen = CMSG_SPACE(struct in_pktinfo);
++        msg.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
      }
  #elif defined(IP_SENDSRCADDR)
      if (src_address) {
@@ -16,7 +16,7 @@
  	
  	msg.msg_control = cmsg_data;
 -	msg.msg_controllen = sizeof(cmsg_data);
-+	msg.msg_controllen = CMSG_SPACE(struct in_addr);
++	msg.msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
      }
  #elif defined(IP_MULTICAST_IF)
      {
@@ -25,7 +25,7 @@
          
          msg.msg_control = cmsg_data;
 -        msg.msg_controllen = sizeof(cmsg_data);
-+        msg.msg_controllen = CMSG_SPACE(struct in6_pktinfo);
++        msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
      } else {
          msg.msg_control = NULL;
          msg.msg_controllen = 0;




More information about the Pkg-utopia-commits mailing list