The fix for bug 106530 was not applied properly before.
This fix will enable that ttyrec compiles on SVR4 systems like solaris.
Package-Manager: Portage-2.3.8, Repoman-2.3.3
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
PATCHES=( "${FILESDIR}/${P}-flags.patch" )
+src_compile() {
+ # Bug 106530
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
+ default
+}
+
src_install() {
dobin ttyrec ttyplay ttytime
dodoc README