-
Notifications
You must be signed in to change notification settings - Fork 844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
portability.h not installed #560
Comments
It's not supposed to be installed. Neither is Those are both internal headers that are part of the libpcap source. If FreeBSD is installing |
FreeBSD bug 217219 has been filed against sysutils/pftop, to get the includes of |
FreeBSD bug 217221 has been filed against contrib/libpcap, to get either stop installing pcap-int.h or also install portability.h |
Reference: the-tcpdump-group/libpcap#560 PR: 217221 git-svn-id: svn+ssh://svn.freebsd.org/base/head@314863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Reference: the-tcpdump-group/libpcap#560 PR: 217221 git-svn-id: svn+ssh://svn.freebsd.org/base/head@314863 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
r313695: MFV r313676: libpcap 1.8.1 r313760: MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). X-MFC-with: r313695 r314769: Remove compatibility with old libpcap. Differential Revision: https://reviews.freebsd.org/D9606 r314863: Stop installing pcap-int.h, which is the internal interface for libpcap. Reference: the-tcpdump-group/libpcap#560 PR: 217221 r314865: Bump __FreeBSD_version for removal of pcap-int.h. PR: 217221 r316125: MFV r316124: Fix build when WITHOUT_INET6. Reported by: Randy Westlund <rwestlun gmail com>
r313695: MFV r313676: libpcap 1.8.1 r313760: MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). X-MFC-with: r313695 r314769: Remove compatibility with old libpcap. Differential Revision: https://reviews.freebsd.org/D9606 r314863: Stop installing pcap-int.h, which is the internal interface for libpcap. Reference: the-tcpdump-group/libpcap#560 PR: 217221 r314865: Bump __FreeBSD_version for removal of pcap-int.h. PR: 217221 r316125: MFV r316124: Fix build when WITHOUT_INET6. Reported by: Randy Westlund <rwestlun gmail com> git-svn-id: https://svn.freebsd.org/base/stable/11@319279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Hello,
thanks a lot |
For posterity, there is now a FAQ entry about this. |
Please consider telling upstream not to include pcap-int.h. |
OK. I'll deal with it. With OpenBSD and Solaris things are more |
They do, but I think they picked up Looking at the current state of the OpenBSD CVS repository:
|
There is no
|
I don't remember from top of my head why I include pcap-int.h on Solaris. Pull request is fairly old, I will take a look when will be back at my desk. I agree the header file structure is different on OpenBSD. I have to revisit that stuff to find exact reason. The time frame is around OpenBSD 5.5. |
Looks like I can get rid of
snapshot above comes from
Also OpenBSD base does not include I agree this PR is mostly invalid. Still will appreciate any hints on how to obtain |
Ignore it. Seriously. Just set it to zero in the header of any file you write, just as you do with
|
On FreeBSD 12-current, building the port sysutils/pftop has started to fail since the update to libpcap 1.8.1, producing the following error:
Upon inspection, it appears the portability.h file is not installed in /usr/include/ with the other headers.
Note that portability.h was only recently created in this commit: 7cc3ed6
The text was updated successfully, but these errors were encountered: