summaryrefslogtreecommitdiff
path: root/dev-libs/libtsm
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libtsm')
-rw-r--r--dev-libs/libtsm/Manifest3
-rw-r--r--dev-libs/libtsm/files/libtsm-clang16-static_assert-fix.patch10
-rw-r--r--dev-libs/libtsm/libtsm-4.0.2_p20231223.ebuild5
3 files changed, 16 insertions, 2 deletions
diff --git a/dev-libs/libtsm/Manifest b/dev-libs/libtsm/Manifest
index 6868bf6da5a8..f1d77677cdd0 100644
--- a/dev-libs/libtsm/Manifest
+++ b/dev-libs/libtsm/Manifest
@@ -1,4 +1,5 @@
+AUX libtsm-clang16-static_assert-fix.patch 286 BLAKE2B d3fdf796e68f3b2ce418f2fb82d75fc6a66133955431d2ced9e324554381a391ac33450ee40b2bb10a09831b17de549dd4ec45a69689d81a0ee5925e21af2b9c SHA512 f07dc13df4fbecc02d0b6525b8b63dcf8066b605a8b58a14201dda15aedea9115c9aadb95145e5cccf4ef15a42ed8fd56a35f48bf6fb5a415631b346a85f42d5
AUX libtsm-cmake.patch 500 BLAKE2B b666c52e7c271df3499134cf6f90a9ade31158fdf862851945434df6b40305c785f011ee447a1460b8a783089d69627e075762d55012a8075982dbeeb093d91c SHA512 53673ed55b66bc196cda7cb9aaf151304cfb3e6127be1c349a7b14dd250b346e4b544e7a1f2b03f7da090b33a459cf2e801daa8de74a3e5d04daa1fcdf09ab29
DIST libtsm-4.0.2_p20231223.tar.gz 157342 BLAKE2B 082637022397b210ef95e1a0f827d4d340f60bf7a6f962d4c86087c0c604dea5fe2bd3a9e879008353726a5d6b4588da93b5c68b37501fa47c9c3cccf10de431 SHA512 f428969b8e108159671c6bb10898dcf07e829b7f2118e52331ca48d5f0efc212c14e42f5ac909adda5c5473980341828d085043687636c378f598479d7cb37ef
-EBUILD libtsm-4.0.2_p20231223.ebuild 479 BLAKE2B 500d0e5d86f94274c5e10d4421ba6e36bb67550295409f2440998007d98f53bd400b902a09325b76d48e51ae03a2b3c03cea3341bfcfecc6e25791cd9294d730 SHA512 b39b35e867d6e3f0ccae1ee6839a728012e57e55441d5295b85aa9e7afc1e3158440607dde010fa94d86f3ffd7e7168bba75234f822d69c7c6b9a1bfa8a19423
+EBUILD libtsm-4.0.2_p20231223.ebuild 533 BLAKE2B 8acf059401d1cf645290f59a06b0b9a4b7ae1134524ff17eda382b94f1c405275367daf2651b2746ac26fef0f856ad47c0ff427ca1a5ad80c4653a500c749d6c SHA512 d27df2dbc77d7586ae30db4105c9dc75c8c9a79e88445f301dd61bdf50c8ec2dad5521e2403937192a1440f3a81f5ce9e97cba306092ee8545d090eb69071c3c
MISC metadata.xml 314 BLAKE2B dc20ed24813bd8e2505c4dedf05346a3020120f7615f36077f6e44fb4dd9fa9c56552a8981d428795a74b986d73ff8fbb9071a74e906805930887328f1c28a21 SHA512 2da2ce098698f75d07c22696e2059e89d03072d52c5764d49aa8b948ee91850c51d4f8009ad4eae53abf1ee816b6ae0e76fa8d50725dcbfbb8c431b5d4f835a8
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_p20231223.ebuild b/dev-libs/libtsm/libtsm-4.0.2_p20231223.ebuild
index c40acccb78a9..c61a7f827c19 100644
--- a/dev-libs/libtsm/libtsm-4.0.2_p20231223.ebuild
+++ b/dev-libs/libtsm/libtsm-4.0.2_p20231223.ebuild
@@ -16,4 +16,7 @@ LICENSE="LGPL-2.1 MIT"
SLOT="0/4"
KEYWORDS="~amd64 ~x86"
-PATCHES=( "${FILESDIR}/${PN}-cmake.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-cmake.patch"
+ "${FILESDIR}/${PN}-clang16-static_assert-fix.patch"
+)