Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 397818 Details for
Bug 541728
sys-process/lsof-4.87 compile error: redefinition of ‘struct tcphdr’ on hardened musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
diff showing author modifications to Configure/dlsof.h
lsof-4.89B-needs_netinet_tcp_h.diff (text/plain), 1.75 KB, created by
Cato Auestad
on 2015-03-01 20:50:48 UTC
(
hide
)
Description:
diff showing author modifications to Configure/dlsof.h
Filename:
MIME Type:
Creator:
Cato Auestad
Created:
2015-03-01 20:50:48 UTC
Size:
1.75 KB
patch
obsolete
>--- 87/Configure 2015-03-01 20:58:33.916405300 +0000 >+++ 89/Configure 2015-03-01 20:59:30.405406996 +0000 >@@ -14,7 +14,7 @@ > # shell script, named $LSOF_MK, that places its source modules in this > # directory. > # >-# $Id: Configure,v 1.162 2013/01/02 17:13:48 abe Exp $ >+# $Id: Configure,v 1.163 2014/10/13 22:31:08 abe Exp abe $ > > # LSOF_CFLAGS_OVERRIDE=1 may be introduced through the environment to cause > # the library Makefile's CFLAGS definition to override any in the > >@@ -2814,6 +2897,17 @@ return(0); } > LSOF_CFGF="$LSOF_CFGF -DHASNORPC_H" > fi # } > >+ # Test for TCP_* symbols. >+ >+ if test -r ${LSOF_INCLUDE}/netinet/tcp.h # ( >+ then >+ grep -q TCP_ESTABLISHED ${LSOF_INCLUDE}/netinet/tcp.h >+ if test $? -eq 0 # { >+ then >+ LSOF_CFGF="$LSOF_CFGF -DNEEDS_NETINET_TCPH" >+ fi #} >+ fi # } >+ > # Test for SELinux support. > > LSOF_TMP1=0 > >--- 87/dialects/linux/dlsof.h 2015-03-01 20:58:33.923405300 +0000 >+++ 89/dialects/linux/dlsof.h 2015-03-01 20:59:30.405406996 +0000 >@@ -31,7 +31,7 @@ > > > /* >- * $Id: dlsof.h,v 1.22 2012/04/10 16:39:50 abe Exp $ >+ * $Id: dlsof.h,v 1.22 2012/04/10 16:39:50 abe Exp abe $ > */ > > >@@ -50,11 +50,11 @@ > #include <unistd.h> > #include <netinet/in.h> > >-# if defined(GLIBCV) || defined(__UCLIBC__) >+# if defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH) > #include <netinet/tcp.h> >-# else /* !defined(GLIBCV) && !defined(__UCLIBC__) */ >+# else /* !defined(GLIBCV) && !defined(__UCLIBC__) && !defined(NEEDS_NETINET_TCPH) */ > #include <linux/tcp.h> >-# endif /* defined(GLIBCV) || defined(__UCLIBC__) */ >+# endif /* defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH) */ > > # if !defined(HASNORPC_H) > #include <rpc/rpc.h>
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 Raw
Actions:
View
Attachments on
bug 541728
:
397712
|
397714
|
397716
|
397718
| 397818 |
397820
|
397822