From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29177 invoked by alias); 19 Apr 2006 21:32:39 -0000 Received: (qmail 29150 invoked by uid 22791); 19 Apr 2006 21:32:37 -0000 X-Spam-Check-By: sourceware.org Received: from e4.ny.us.ibm.com (HELO e4.ny.us.ibm.com) (32.97.182.144) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Apr 2006 21:32:30 +0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e4.ny.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k3JLWSd7007183 for ; Wed, 19 Apr 2006 17:32:28 -0400 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k3JLWSLx229300 for ; Wed, 19 Apr 2006 17:32:28 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.13.3) with ESMTP id k3JLWRXx030472 for ; Wed, 19 Apr 2006 17:32:28 -0400 Received: from [9.10.86.122] (spokane1.rchland.ibm.com [9.10.86.122]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id k3JLWRC5030441 for ; Wed, 19 Apr 2006 17:32:27 -0400 Message-ID: <4446AF36.5090007@us.ibm.com> Date: Wed, 19 Apr 2006 21:32:00 -0000 From: Steven Munroe User-Agent: Mozilla/5.0 (X11; U; Linux ppc64; en-US; rv:1.7.8) Gecko/20050921 MIME-Version: 1.0 To: GNU libc hacker Subject: [PATCH] Fix build break from ifaddrs.h Content-Type: multipart/mixed; boundary="------------030508010405050800040608" Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00007.txt.bz2 This is a multi-part message in MIME format. --------------030508010405050800040608 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 515 Todays CVS breaks in sunrpc/pmap_cint.c because uint32_t is not defined. Adding the include fixed this. But there are additional failure in make check. posix/tst-rfc3484.c and tst-rfc3484-2.c fail because they redefine __check_pf and the prototype does not match. I updated tst-rfc3484.c and tst-rfc3484-2.c to match ifaddrs.h. That seems to get tst-rfc3484.c and tst-rfc3484-2.c working but I am still see failures in posix/tst-getaddrinfo and posix/tst-getaddrinfo-2. I have not debugges these yet. --------------030508010405050800040608 Content-Type: text/plain; name="ppc-ifaddrs-20060419.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ppc-ifaddrs-20060419.txt" Content-length: 1812 2006-04-19 Steven Munroe * include/ifaddrs.h: Include * posix/tst-rfc3484-2.c (__check_pf): Update prototype to match ifaddrs.h. * posix/tst-rfc3484.c (__check_pf): Likewise. diff -urN libc24-cvstip-20060419/include/ifaddrs.h libc24/include/ifaddrs.h --- libc24-cvstip-20060419/include/ifaddrs.h 2006-04-16 16:26:00.000000000 -0500 +++ libc24/include/ifaddrs.h 2006-04-19 15:35:40.000000000 -0500 @@ -1,6 +1,7 @@ #ifndef _IFADDRS_H #include #include +#include libc_hidden_proto (getifaddrs) libc_hidden_proto (freeifaddrs) diff -urN libc24-cvstip-20060419/posix/tst-rfc3484-2.c libc24/posix/tst-rfc3484-2.c --- libc24-cvstip-20060419/posix/tst-rfc3484-2.c 2006-04-15 16:41:54.000000000 -0500 +++ libc24/posix/tst-rfc3484-2.c 2006-04-19 15:11:35.000000000 -0500 @@ -1,5 +1,6 @@ #include #include +#include /* Internal definitions used in the libc code. */ #define __getservbyname_r getservbyname_r @@ -11,7 +12,8 @@ void attribute_hidden -__check_pf (bool *p1, bool *p2) +__check_pf (bool *p1, bool *p2, + struct in6addrinfo **in6ai, size_t *in6ailen) { *p1 = *p2 = true; } diff -urN libc24-cvstip-20060419/posix/tst-rfc3484.c libc24/posix/tst-rfc3484.c --- libc24-cvstip-20060419/posix/tst-rfc3484.c 2005-09-26 16:12:49.000000000 -0500 +++ libc24/posix/tst-rfc3484.c 2006-04-19 15:06:41.000000000 -0500 @@ -1,5 +1,6 @@ #include #include +#include /* Internal definitions used in the libc code. */ #define __getservbyname_r getservbyname_r @@ -11,7 +12,8 @@ void attribute_hidden -__check_pf (bool *p1, bool *p2) +__check_pf (bool *p1, bool *p2, + struct in6addrinfo **in6ai, size_t *in6ailen) { *p1 = *p2 = true; } --------------030508010405050800040608--