diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-11-02 17:45:10 +0000 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-05-09 09:21:41 -0500 |
commit | 518afe3c3a29496c364bbad08361908a52739716 (patch) | |
tree | b6b96b4cad434e04fa905d1605f62f5d6d07f9eb /dev-libs/libtsm | |
parent | net-libs/nghttp3: add 1.3.0 (diff) | |
download | gentoo-518afe3c3a29496c364bbad08361908a52739716.tar.gz gentoo-518afe3c3a29496c364bbad08361908a52739716.tar.bz2 gentoo-518afe3c3a29496c364bbad08361908a52739716.zip |
dev-libs/libtsm: Fix call to undeclared function static_assert
and update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/895052
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33651
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/libtsm')
-rw-r--r-- | dev-libs/libtsm/files/libtsm-clang16-static_assert-fix.patch | 10 | ||||
-rw-r--r-- | dev-libs/libtsm/libtsm-4.0.2-r1.ebuild | 20 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/libtsm/files/libtsm-clang16-static_assert-fix.patch b/dev-libs/libtsm/files/libtsm-clang16-static_assert-fix.patch new file mode 100644 index 000000000000..702ae5faaa4d --- /dev/null +++ b/dev-libs/libtsm/files/libtsm-clang16-static_assert-fix.patch @@ -0,0 +1,10 @@ +Bug: https://bugs.gentoo.org/895052 +--- a/cmake/CompileOptions.cmake ++++ b/cmake/CompileOptions.cmake +@@ -1,5 +1,5 @@ + # Set compiler flags +-set(CMAKE_C_STANDARD 99) ++set(CMAKE_C_STANDARD 11) + set(CMAKE_C_STANDARD_REQUIRED ON) + + # analogous to AC_USE_SYSTEM_EXTENSIONS in configure.ac diff --git a/dev-libs/libtsm/libtsm-4.0.2-r1.ebuild b/dev-libs/libtsm/libtsm-4.0.2-r1.ebuild new file mode 100644 index 000000000000..fd0f595a431e --- /dev/null +++ b/dev-libs/libtsm/libtsm-4.0.2-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Terminal Emulator State Machine" +HOMEPAGE="https://github.com/Aetf/libtsm" +SRC_URI="https://github.com/Aetf/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1 MIT" +SLOT="0/4" +KEYWORDS="~amd64 ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}/${PN}-cmake.patch" + "${FILESDIR}/${PN}-clang16-static_assert-fix.patch" +) |