diff options
| author | Brahmajit Das <listout@listout.xyz> | 2025-06-27 01:03:52 +0530 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-06-26 20:44:46 +0100 |
| commit | d5f02ccfe4f8136d379c5a28a0e61cbbd342461d (patch) | |
| tree | 0b7c8bb7ea727e48afbdf37bb2b94f470013e974 /gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch | |
| parent | 20bafcecdb45bd493c64af69d43098af43722503 (diff) | |
| download | gentoo-d5f02ccfe4f8136d379c5a28a0e61cbbd342461d.tar.gz gentoo-d5f02ccfe4f8136d379c5a28a0e61cbbd342461d.tar.bz2 gentoo-d5f02ccfe4f8136d379c5a28a0e61cbbd342461d.zip | |
gui-libs/hyprutils: Fix error: uintptr_t does not name a type
Closes: https://bugs.gentoo.org/957409
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/42765
Closes: https://github.com/gentoo/gentoo/pull/42765
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch')
| -rw-r--r-- | gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch b/gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch new file mode 100644 index 000000000000..dfae8c0cfda2 --- /dev/null +++ b/gui-libs/hyprutils/files/hyprutils-fix-building-with-GCC16.patch @@ -0,0 +1,32 @@ +https://github.com/hyprwm/hyprutils/commit/1eb6759ae7a53cff9a9f80e1e6db88235e0c7648 +From: Brahmajit Das <listout@listout.xyz> +Date: Fri, 27 Jun 2025 00:46:44 +0530 +Subject: [PATCH] implbase: include cstdint and fix building with GCC 16 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Without cstdint, building with GCC 16 fails with error + +In file included from /tmp/hyprutils/tests/memory.cpp:1: +/tmp/hyprutils/./include/hyprutils/memory/UniquePtr.hpp: In member function ‘bool Hyprutils::Memory::CUniquePointer<T>::operator()(const Hyprutils: +:Memory::CUniquePointer<T>&, const Hyprutils::Memory::CUniquePointer<T>&) const’: + +..snip... + +ng ‘#include <cstdint>’ + +Downstream-bug: https://bugs.gentoo.org/957409 +Signed-off-by: Brahmajit Das <listout@listout.xyz> +--- a/include/hyprutils/memory/ImplBase.hpp ++++ b/include/hyprutils/memory/ImplBase.hpp +@@ -1,5 +1,6 @@ + #pragma once + ++#include <cstdint> + #include <memory> + + namespace Hyprutils { +-- +2.50.0 + |
