summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-01-19 09:28:49 +0100
committerFabian Groffen <grobian@gentoo.org>2017-01-19 09:29:04 +0100
commit24faa35c975b9f5fa9cb128f22852f41c06d41a5 (patch)
treea530458d38c016ee77c45cb794b450fa983674a6 /app-misc/screen
parentwww-apps/novnc: security cleanup wrt bug #606114 (diff)
downloadgentoo-24faa35c975b9f5fa9cb128f22852f41c06d41a5.tar.gz
gentoo-24faa35c975b9f5fa9cb128f22852f41c06d41a5.tar.bz2
gentoo-24faa35c975b9f5fa9cb128f22852f41c06d41a5.zip
app-misc/screen: update fix for Solaris
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/screen')
-rw-r--r--app-misc/screen/screen-4.4.0.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-misc/screen/screen-4.4.0.ebuild b/app-misc/screen/screen-4.4.0.ebuild
index d6f3cff7e346..72e23c04e908 100644
--- a/app-misc/screen/screen-4.4.0.ebuild
+++ b/app-misc/screen/screen-4.4.0.ebuild
@@ -64,11 +64,9 @@ src_configure() {
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
if [[ ${CHOST} == *-solaris* ]] ; then
- # https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00095.html
- append-cppflags -D_XOPEN_SOURCE \
- -D_XOPEN_SOURCE_EXTENDED=1 \
- -D__EXTENSIONS__
- append-libs -lsocket -lnsl
+ # enable msg_header by upping the feature standard compatible
+ # with c99 mode
+ append-cppflags -D_XOPEN_SOURCE=600
fi
use nethack || append-cppflags "-DNONETHACK"