1 |
commit: c9c465b58bd5df55346768df2f9719a8d973fcbd |
2 |
Author: Jonas Stein <jstein <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 27 16:30:47 2017 +0000 |
4 |
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 27 16:34:20 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c465b5 |
7 |
|
8 |
app-misc/ttyrec: Fix flags for darwin |
9 |
|
10 |
The fix for bug 106530 was not applied properly before. |
11 |
This fix will enable that ttyrec compiles on SVR4 systems like solaris. |
12 |
|
13 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
14 |
|
15 |
app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild | 6 ++++++ |
16 |
1 file changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild |
19 |
index 0d2cb545ef3..d5609a7a7f5 100644 |
20 |
--- a/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild |
21 |
+++ b/app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild |
22 |
@@ -14,6 +14,12 @@ SLOT="0" |
23 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
24 |
PATCHES=( "${FILESDIR}/${P}-flags.patch" ) |
25 |
|
26 |
+src_compile() { |
27 |
+ # Bug 106530 |
28 |
+ [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500 |
29 |
+ default |
30 |
+} |
31 |
+ |
32 |
src_install() { |
33 |
dobin ttyrec ttyplay ttytime |
34 |
dodoc README |