The attached patch make strace build fine on FreeBSD
systems (specifically, Gentoo/FreeBSD systems), without
breaking compilation on non-FreeBSD systems (Linux),
and using configure checks as appropriate.
This obsoletes patch #837912
( http://sourceforge.net/tracker/index.php?func=detail&aid=837912&group_id=2861&atid=302861 ).
Unfortunately, seems like FreeBSD 5.4 is not supported at
all, as /proc/../regs doesn't exists anymore.
This is anyway a good starting point to rework FreeBSD
support.
--
Diego Pettenň
Gentoo/FreeBSD project
strace-4.5.11-fbsd.patch
non-Linux support has been dropped in 4.7 (commit v4.7~161).