Bug 235614 - net/xprobe: fails on FreeBSD 11+ with error: TX_IP::sendpack::sendto: Invalid argument
Summary: net/xprobe: fails on FreeBSD 11+ with error: TX_IP::sendpack::sendto: Invalid...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Sunpoet Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-09 00:00 UTC by Arun Pereira
Modified: 2019-02-09 00:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arun Pereira 2019-02-09 00:00:40 UTC
Issue is due to -DBROKEN_BSD flag in the Makefile. 

root@freebsd-buildserver-12:/usr/ports/net/xprobe/work/xprobe2-0.3/libs-external/USI++/src # diff Makefile Makefile.orig 
5c5
< CFLAGS=-DIMMEDIATE -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/pcap -I. -Wall
---
> CFLAGS=-DBROKEN_BSD -DIMMEDIATE -O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/include/pcap -I. -Wall

Compiling without works fine. Tested on 12-Release.