Annotation of /trunk/extras/luit/luit-1.1.1-r3.smage2
Parent Directory | Revision Log
Revision 23167 -
(hide annotations)
(download)
Fri Oct 31 08:37:49 2014 UTC (9 years, 10 months ago) by niro
File size: 489 byte(s)
Fri Oct 31 08:37:49 2014 UTC (9 years, 10 months ago) by niro
File size: 489 byte(s)
-fix build with gcc-4.8
1 | niro | 23142 | # $Id$ |
2 | |||
3 | PNAME="luit" | ||
4 | PVER="1.1.1" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCAT="x11-apps" | ||
8 | |||
9 | DESCRIPTION="Locale and ISO 2022 support for Unicode terminals." | ||
10 | HOMEPAGE="http://xorg.freedesktop.org" | ||
11 | |||
12 | DEPEND=">= x11-libs/libX11-1.4 | ||
13 | >= x11-libs/libfontenc-1" | ||
14 | |||
15 | sminclude xorg | ||
16 | niro | 23167 | |
17 | src_prepare() | ||
18 | { | ||
19 | munpack ${SRCFILE} || die | ||
20 | cd ${SRCDIR} | ||
21 | |||
22 | # fixes build with gcc-4.8 | ||
23 | # posix_openpt() call needs POSIX 2004, see gentoo bug #415949 | ||
24 | sed -i 's/-D_XOPEN_SOURCE=500/-D_XOPEN_SOURCE=600/' configure.ac || die | ||
25 | mautoreconf || die | ||
26 | } |