diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-11-28 00:12:00 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-11-28 00:13:36 +0100 |
commit | 91a50cf39b59a5b35330e0897bbce079c7a52f8f (patch) | |
tree | 714834c478606aa5cfa2fe74b5f15dcd5db4f24b /dev-libs/libptytty | |
parent | x11-terms/rxvt-unicode: add 9.30, drop 9.29 (diff) | |
download | gentoo-91a50cf39b59a5b35330e0897bbce079c7a52f8f.tar.gz gentoo-91a50cf39b59a5b35330e0897bbce079c7a52f8f.tar.bz2 gentoo-91a50cf39b59a5b35330e0897bbce079c7a52f8f.zip |
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@gentoo.org>
Diffstat (limited to 'dev-libs/libptytty')
-rw-r--r-- | dev-libs/libptytty/files/libptytty-2.0-rundir.patch | 10 | ||||
-rw-r--r-- | dev-libs/libptytty/libptytty-2.0.ebuild | 4 |
2 files changed, 14 insertions, 0 deletions
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 ) |