public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/screen/, app-misc/screen/files/
Date: Fri, 20 Jan 2017 11:54:43 +0000 (UTC)	[thread overview]
Message-ID: <1484913273.c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc.grobian@gentoo> (raw)

commit:     c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 20 11:54:19 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 11:54:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d4aff3

app-misc/screen: fix compilation error on Solaris

Package-Manager: portage-2.3.0

 app-misc/screen/files/screen-4.5.0-solaris-PATH_MAX.patch | 12 ++++++++++++
 app-misc/screen/screen-4.5.0.ebuild                       |  2 ++
 2 files changed, 14 insertions(+)

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 00000000..1fafcf9
--- /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>

diff --git a/app-misc/screen/screen-4.5.0.ebuild b/app-misc/screen/screen-4.5.0.ebuild
index e494a06..7ea62d1 100644
--- a/app-misc/screen/screen-4.5.0.ebuild
+++ b/app-misc/screen/screen-4.5.0.ebuild
@@ -36,6 +36,8 @@ DEPEND="${CDEPEND}
 PATCHES=(
 	# Don't use utempter even if it is found on the system.
 	"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
+	# PATH_MAX usage needs an include on Solaris
+	"${FILESDIR}"/${P}-solaris-PATH_MAX.patch
 )
 
 pkg_setup() {


             reply	other threads:[~2017-01-20 11:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-20 11:54 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 20:03 [gentoo-commits] repo/gentoo:master commit in: app-misc/screen/, app-misc/screen/files/ Sven Wegener
2023-08-08  5:45 Sam James
2017-02-26 12:16 Jeroen Roovers
2016-01-23 12:41 Jeroen Roovers
2015-10-10 15:38 Patrice Clement
2015-09-15 23:25 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1484913273.c1d4aff3caa8c24d0f3cfad11ba4a9a9881c5fbc.grobian@gentoo \
    --to=grobian@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox