summaryrefslogtreecommitdiff
path: root/dev-libs/libptytty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-22 14:08:05 +0000
commit93a93e9a3b53c1a73142a305ea1f8136846942ee (patch)
treeb9791a06ab3284e27b568412c59316c66240c682 /dev-libs/libptytty
parent2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff)
gentoo resync : 22.12.2021
Diffstat (limited to 'dev-libs/libptytty')
-rw-r--r--dev-libs/libptytty/Manifest2
-rw-r--r--dev-libs/libptytty/libptytty-2.0.ebuild14
2 files changed, 15 insertions, 1 deletions
diff --git a/dev-libs/libptytty/Manifest b/dev-libs/libptytty/Manifest
index 725214bed41d..60a73f7371ac 100644
--- a/dev-libs/libptytty/Manifest
+++ b/dev-libs/libptytty/Manifest
@@ -1,4 +1,4 @@
AUX libptytty-2.0-rundir.patch 183 BLAKE2B 51316869ccd9b490b3087ac1a825d7a7e570a79fe7e5758e76be756b8135a0af2b4a518baefd19f8c0e8f71b95488035f28b6bab9b42eae473f644ca2f8bff83 SHA512 266fd3df8aa88894f832ecff15e88e4f08cc2b188ce585a779b58d19bcdac83b8e7ea921cd96226ea74c402a4e7fc873a7764029af72a81c5ddea7efd307eb51
DIST libptytty-2.0.tar.gz 45673 BLAKE2B 81112267157c1ba785052b2e1667c4af251991816005375d44efd1c4d9c58cc5e59324df35e556d45e46df6bceccc654d71e6c264dae5a15ea100cc9db63c5a6 SHA512 9cca5fddbcc4025c2bbe043e3367ac902d0024a34301258dafcf0de70935c055279d88227168d112d0e4c0dc37f1f49e1ea587bd6bddf0b9d92400657bc7be08
-EBUILD libptytty-2.0.ebuild 500 BLAKE2B fd3ae2dd4821f3fd63ef5bed143d7aff4cd74e3dfe476b42f0d9446b04895791897312d2b06b75b190878a099e3794f83f559ecee655f553e1dc57238cbfb1a6 SHA512 bf846e5df6c177a3dcbb55a927805f9b83334cbe26ee144a68ca591a938a922d0763cf3a98f7888cc2a6b79acc402f5920fffd5e3c5c98d2d9fbc7a815cd1a89
+EBUILD libptytty-2.0.ebuild 736 BLAKE2B 007d175ab6a65b04a255b8c6733c10f442ae95318a4a527ca603d82c1ffd47bb765cdbbdb5b742a97ea4f6b4a7e5c58b1afcd3725ab407daa2c5859091db8ee7 SHA512 35b6f0029db9c31bae98982bfd17168db18a1315ccfbcfd96c4d27ee299f528d0852b47f13bfcb2382e1bf7e321626e3e8d460bef3dc505c2d93f5fdc7591828
MISC metadata.xml 246 BLAKE2B f808bbbcb9c53d005d1a1667cd6217a601a3bd3bd2267121c0043a870ae44bb91bb27bc9825d5d6eafe01b73fe58a553655aa252737c0b066f2286ff9415d65e SHA512 b620abb7732628010a8a3792d40bde878492be97ce14c99c4d2466240df2f25edf7734ad4d210bc954f27323f0e26698e660766c65be5868646a3866020373fd
diff --git a/dev-libs/libptytty/libptytty-2.0.ebuild b/dev-libs/libptytty/libptytty-2.0.ebuild
index 5494e30f17a7..69ee5277a255 100644
--- a/dev-libs/libptytty/libptytty-2.0.ebuild
+++ b/dev-libs/libptytty/libptytty-2.0.ebuild
@@ -12,9 +12,23 @@ SRC_URI="http://dist.schmorp.de/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="elibc_musl"
PATCHES=(
"${FILESDIR}"/${PN}-2.0-rundir.patch
)
DOCS=( Changes README )
+
+src_configure() {
+ # Bug #828923
+ local mycmakeargs=()
+ if use elibc_musl; then
+ mycmakeargs+=(
+ -DPT_LASTLOGX_FILE="\"/dev/null/lastlogx\""
+ -DPT_WTMPX_FILE="\"/dev/null/wtmpx\""
+ )
+ fi
+
+ cmake_src_configure
+}