When using cflags from pkg-config /compat directory is placed later. If devel/libevent is also installed an app using such flags may accidentally pick up event.h from libevent14. As both libraries are only API compatible the app may crash due to ABI difference. How-To-Repeat: $ echo '#include <event.h>' | env -i gcc -E - $(pkg-config libevent --cflags) | fgrep include/event.h # 1 "/usr/local/include/event.h" 1 # 162 "/usr/local/include/event.h" [...]
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
Jan Beich <jbeich@tormail.org> writes: > Index: devel/libevent2/files/patch-libevent.pc.in Oops, missed a few .pc files.
State Changed From-To: open->closed Committed. Thanks!