Bug 235614

Summary: net/xprobe: fails on FreeBSD 11+ with error: TX_IP::sendpack::sendto: Invalid argument
Product: Ports & Packages Reporter: Arun Pereira <arunpereira>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (sunpoet)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-03-02 18:02:09 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Mar  2 18:01:16 UTC 2019
New revision: 494444
URL: https://svnweb.freebsd.org/changeset/ports/494444

Log:
  Fix runtime error: TX_IP::sendpack::sendto: Invalid argument

  - Bump PORTREVISION for package change

  PR:		235614
  Submitted by:	Arun Pereira <arunpereira@gmail.com>

Changes:
  head/net/xprobe/Makefile
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-03-02 18:04:53 UTC
Committed. Thanks!