From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libptytty/, dev-libs/libptytty/files/
Date: Sat, 27 Nov 2021 23:13:41 +0000 (UTC) [thread overview]
Message-ID: <1638054816.91a50cf39b59a5b35330e0897bbce079c7a52f8f.marecki@gentoo> (raw)
commit: 91a50cf39b59a5b35330e0897bbce079c7a52f8f
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 23:12:00 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 23:13:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a50cf3
dev-libs/libptytty: look for utmp in /run
No revbump because with the /var/run symlink not going anywhere any time
soon, this is a trivial change.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-libs/libptytty/files/libptytty-2.0-rundir.patch | 10 ++++++++++
dev-libs/libptytty/libptytty-2.0.ebuild | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/dev-libs/libptytty/files/libptytty-2.0-rundir.patch b/dev-libs/libptytty/files/libptytty-2.0-rundir.patch
new file mode 100644
index 000000000000..d098811334c9
--- /dev/null
+++ b/dev-libs/libptytty/files/libptytty-2.0-rundir.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -151,6 +151,7 @@
+ PT_FIND_FILE(
+ utmp
+ PT_UTMP_FILE
++ "/run/utmp"
+ "/var/run/utmp"
+ "/var/adm/utmp"
+ "/etc/utmp"
diff --git a/dev-libs/libptytty/libptytty-2.0.ebuild b/dev-libs/libptytty/libptytty-2.0.ebuild
index 47385e16bc89..51fa6add9404 100644
--- a/dev-libs/libptytty/libptytty-2.0.ebuild
+++ b/dev-libs/libptytty/libptytty-2.0.ebuild
@@ -13,4 +13,8 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.0-rundir.patch
+)
+
DOCS=( Changes README )
next reply other threads:[~2021-11-27 23:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 23:13 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-04-22 17:02 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libptytty/, dev-libs/libptytty/files/ 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=1638054816.91a50cf39b59a5b35330e0897bbce079c7a52f8f.marecki@gentoo \
--to=marecki@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