diff options
author | Fabian Groffen <grobian@gentoo.org> | 2017-01-20 12:54:19 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2017-01-20 12:54:33 +0100 |
commit | c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc (patch) | |
tree | e749509b20486027b5cacbfc6ac9b10149b490e5 /app-misc/screen/files | |
parent | dev-python/pyopengl: ppc64 stable wrt bug #606292 (diff) | |
download | gentoo-c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc.tar.gz gentoo-c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc.tar.bz2 gentoo-c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc.zip |
app-misc/screen: fix compilation error on Solaris
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-misc/screen/files')
-rw-r--r-- | app-misc/screen/files/screen-4.5.0-solaris-PATH_MAX.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/screen/files/screen-4.5.0-solaris-PATH_MAX.patch b/app-misc/screen/files/screen-4.5.0-solaris-PATH_MAX.patch new file mode 100644 index 000000000000..1fafcf9a87c2 --- /dev/null +++ b/app-misc/screen/files/screen-4.5.0-solaris-PATH_MAX.patch @@ -0,0 +1,12 @@ +On Solaris one needs to include limits.h in order to use PATH_MAX + +--- screen-4.5.0/screen.c ++++ screen-4.5.0/screen.c +@@ -44,6 +44,7 @@ + #endif + #include <ctype.h> + #include <fcntl.h> ++#include <limits.h> + + #ifdef sgi + # include <sys/sysmacros.h> |