summaryrefslogtreecommitdiff
path: root/dev-libs/libptytty
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libptytty')
-rw-r--r--dev-libs/libptytty/Manifest3
-rw-r--r--dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch15
-rw-r--r--dev-libs/libptytty/libptytty-2.0-r1.ebuild (renamed from dev-libs/libptytty/libptytty-2.0.ebuild)3
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-libs/libptytty/Manifest b/dev-libs/libptytty/Manifest
index 9c0c3a4292a7..b36369f7ba56 100644
--- a/dev-libs/libptytty/Manifest
+++ b/dev-libs/libptytty/Manifest
@@ -1,4 +1,5 @@
+AUX libptytty-2.0-configure-clang16.patch 353 BLAKE2B 12f0219b6f185488b77401eabc94de87e5c66b384ab0ba0a04b1aa54ca3e9c6b85c8c8bc8c2fed15e1093568b94ea1ecc443ff2619e5df7bd2077b385db8d1f8 SHA512 f92f05432c7ec55507c4264fb2d79be22ec84da16f88f508b8ac4c8dfaf888d84be4d2d729e0dfbb596fa421e159d019c9bc77eb6b399abbfff9425721844c4b
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 719 BLAKE2B 99f5bf213e3966e290304f2cd88036ae586eac44e0dbec0ad9d0dacdc8452d0843f46404ac1020f20826e0bc2c703ef5ef32e9c76b7a2816801bbc30c491a1de SHA512 0ee8c77db0d81480bda00aab55cac4024866bdde1c24f65760fbdbe9c2bbce1c97d299aa990f349af47b2e5db789608e9aa0509aecaee1725d13f5d7e04ed48c
+EBUILD libptytty-2.0-r1.ebuild 768 BLAKE2B 54bbcf348e7d3d40396c04c7270428ae352b933f9d7c894d4ba152cd6b756e87c3f06d741baa1b60666d5b3ad7bad7b95cae5b10c3f806e751d4df53ae3b1639 SHA512 281e8d561fbf20aea13f39b40a2842aa9cdfd0724fae10a67b507000f9cad851acd281d1f34a6b9e5cf644c4755caba7cb5699b96dd9d51f7449705256cb4e21
MISC metadata.xml 246 BLAKE2B f808bbbcb9c53d005d1a1667cd6217a601a3bd3bd2267121c0043a870ae44bb91bb27bc9825d5d6eafe01b73fe58a553655aa252737c0b066f2286ff9415d65e SHA512 b620abb7732628010a8a3792d40bde878492be97ce14c99c4d2466240df2f25edf7734ad4d210bc954f27323f0e26698e660766c65be5868646a3866020373fd
diff --git a/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch b/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch
new file mode 100644
index 000000000000..99b49e26e737
--- /dev/null
+++ b/dev-libs/libptytty/files/libptytty-2.0-configure-clang16.patch
@@ -0,0 +1,15 @@
+http://lists.schmorp.de/pipermail/rxvt-unicode/2023q2/002652.html
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -95,7 +95,8 @@ check_function_exists(setreuid HAVE_SETREUID)
+ check_function_exists(setresuid HAVE_SETRESUID)
+
+ check_c_source_compiles(
+- "#include <stdlib.h>
++ "#define _XOPEN_SOURCE 500
++ #include <stdlib.h>
+
+ int main ()
+ {
+
diff --git a/dev-libs/libptytty/libptytty-2.0.ebuild b/dev-libs/libptytty/libptytty-2.0-r1.ebuild
index cfa4b8a6b1fc..6622e0666ff1 100644
--- a/dev-libs/libptytty/libptytty-2.0.ebuild
+++ b/dev-libs/libptytty/libptytty-2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,6 +15,7 @@ KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
PATCHES=(
"${FILESDIR}"/${PN}-2.0-rundir.patch
+ "${FILESDIR}"/${PN}-2.0-configure-clang16.patch
)
DOCS=( Changes README )