Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 285391 Details for
Bug 371127
<net-analyzer/tcpdump-4.3.0 fails to build with glibc-2.14
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tcpdump-3.9.8-rpc.patch
tcpdump-3.9.8-rpc.patch (text/plain), 2.27 KB, created by
Marek BehĂșn
on 2011-09-03 02:05:38 UTC
(
hide
)
Description:
tcpdump-3.9.8-rpc.patch
Filename:
MIME Type:
Creator:
Marek BehĂșn
Created:
2011-09-03 02:05:38 UTC
Size:
2.27 KB
patch
obsolete
>diff -Naur a/config.h.in b/config.h.in >--- a/config.h.in 2007-09-26 03:59:52.000000000 +0200 >+++ b/config.h.in 2011-09-03 03:44:51.000000000 +0200 >@@ -208,6 +208,9 @@ > /* Define to 1 if you have the <rpc/rpcent.h> header file. */ > #undef HAVE_RPC_RPCENT_H > >+/* Define to 1 if you have the <rpc/rpc.h> header file. */ >+#undef HAVE_RPC_RPC_H >+ > /* Define to 1 if you have the `setlinebuf' function. */ > #undef HAVE_SETLINEBUF > >@@ -295,6 +298,9 @@ > /* Define to the one symbol short name of this package. */ > #undef PACKAGE_TARNAME > >+/* Define to the home page for this package. */ >+#undef PACKAGE_URL >+ > /* Define to the version of this package. */ > #undef PACKAGE_VERSION > >diff -Naur a/configure.in b/configure.in >--- a/configure.in 2007-09-26 04:08:25.000000000 +0200 >+++ b/configure.in 2011-09-03 03:47:08.000000000 +0200 >@@ -15,7 +15,7 @@ > AC_LBL_C_INIT(V_CCOPT, V_INCLS) > AC_LBL_C_INLINE > AC_C___ATTRIBUTE__ >-AC_CHECK_HEADERS(fcntl.h rpc/rpcent.h netdnet/dnetdb.h) >+AC_CHECK_HEADERS(fcntl.h rpc.h rpc/rpcent.h netdnet/dnetdb.h) > AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h> > #include <sys/socket.h> > #include <net/if.h>]) >diff -Naur a/print-sunrpc.c b/print-sunrpc.c >--- a/print-sunrpc.c 2005-04-27 23:44:06.000000000 +0200 >+++ b/print-sunrpc.c 2011-09-03 03:44:51.000000000 +0200 >@@ -30,12 +30,12 @@ > > #include <tcpdump-stdinc.h> > >-#ifdef HAVE_GETRPCBYNUMBER >+#if defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H) > #include <rpc/rpc.h> > #ifdef HAVE_RPC_RPCENT_H > #include <rpc/rpcent.h> > #endif /* HAVE_RPC_RPCENT_H */ >-#endif /* HAVE_GETRPCBYNUMBER */ >+#endif /* defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H) */ > > #include <stdio.h> > #include <string.h> >@@ -136,7 +136,7 @@ > progstr(prog) > u_int32_t prog; > { >-#ifdef HAVE_GETRPCBYNUMBER >+#if defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H) > register struct rpcent *rp; > #endif > static char buf[32]; >@@ -144,12 +144,12 @@ > > if (lastprog != 0 && prog == lastprog) > return (buf); >-#ifdef HAVE_GETRPCBYNUMBER >+#if defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H) > rp = getrpcbynumber(prog); > if (rp == NULL) > #endif > (void) snprintf(buf, sizeof(buf), "#%u", prog); >-#ifdef HAVE_GETRPCBYNUMBER >+#if defined(HAVE_GETRPCBYNUMBER) && defined(HAVE_RPC_RPC_H) > else > strlcpy(buf, rp->r_name, sizeof(buf)); > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 371127
:
276623
| 285391 |
285393