public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/, sys-process/atop/files/
Date: Tue, 19 Apr 2016 22:34:27 +0000 (UTC)	[thread overview]
Message-ID: <1461105229.dd07e099f643312f25241cdf3bf982b103cb9545.vapier@gentoo> (raw)

commit:     dd07e099f643312f25241cdf3bf982b103cb9545
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 19 22:33:35 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Apr 19 22:33:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd07e099

sys-process/atop: fix build w/newer glibc #580372

 sys-process/atop/atop-2.2.ebuild                |  1 +
 sys-process/atop/files/atop-2.2-sysmacros.patch | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/sys-process/atop/atop-2.2.ebuild b/sys-process/atop/atop-2.2.ebuild
index 7283c20..7b4ccf2 100644
--- a/sys-process/atop/atop-2.2.ebuild
+++ b/sys-process/atop/atop-2.2.ebuild
@@ -31,6 +31,7 @@ S=${WORKDIR}/${MY_P}
 
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-2.2-build.patch
+	epatch "${FILESDIR}"/${PN}-2.2-sysmacros.patch #580372
 	tc-export CC PKG_CONFIG
 	sed -i 's: root : :' atop.cronsysv || die #191926
 	# prefixify

diff --git a/sys-process/atop/files/atop-2.2-sysmacros.patch b/sys-process/atop/files/atop-2.2-sysmacros.patch
new file mode 100644
index 0000000..87fd069
--- /dev/null
+++ b/sys-process/atop/files/atop-2.2-sysmacros.patch
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/580372
+
+include sys/sysmacros.h for major/minor prototypes
+
+--- a/photosyst.c
++++ b/photosyst.c
+@@ -164,6 +164,7 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <dirent.h>
++#include <sys/sysmacros.h>
+ 
+ #include <sys/socket.h>
+ #include <netinet/in.h>


             reply	other threads:[~2016-04-19 22:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-19 22:34 Mike Frysinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-08-02 12:56 [gentoo-commits] repo/gentoo:master commit in: sys-process/atop/, sys-process/atop/files/ Lars Wendler
2021-05-13 22:11 David Seifert
2021-12-20  4:08 Sam James
2024-08-11 21:14 Sam James

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=1461105229.dd07e099f643312f25241cdf3bf982b103cb9545.vapier@gentoo \
    --to=vapier@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