app-misc/ckermit: fix build w/newer glibc
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 15:22:57 +0000 (11:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Aug 2015 15:22:57 +0000 (11:22 -0400)
app-misc/ckermit/ckermit-8.0.211-r4.ebuild

index 08d86724000d63d4ce4201fcf4a7b69c293ec459..9f782a116040b5f6fe5c192fecff65443303798b 100644 (file)
@@ -46,7 +46,7 @@ src_compile() {
 
        local libs
        ck_use ncurses -DCK_NCURSES -lncurses
-       append-cppflags -DHAVE_PTMX -D_XOPEN_SOURCE -D_BSD_SOURCE #202840
+       append-cppflags -DHAVE_PTMX -D_XOPEN_SOURCE -D_BSD_SOURCE -D_DEFAULT_SOURCE #202840
        append-cppflags -DHAVE_CRYPT_H
        emake \
                CC="$(tc-getCC)" \