* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/files/
@ 2020-11-13 21:16 Aaron Bauman
0 siblings, 0 replies; 2+ messages in thread
From: Aaron Bauman @ 2020-11-13 21:16 UTC (permalink / raw
To: gentoo-commits
commit: b4cbba24c0056cc899254fd69b6ecfa1a962b086
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Nov 8 19:04:44 2020 +0000
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 21:16:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4cbba24
dev-libs/libcec: remove unused patch
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18188
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
dev-libs/libcec/files/libcec-4.0.2-no-tinfo.patch | 25 -----------------------
1 file changed, 25 deletions(-)
diff --git a/dev-libs/libcec/files/libcec-4.0.2-no-tinfo.patch b/dev-libs/libcec/files/libcec-4.0.2-no-tinfo.patch
deleted file mode 100644
index 673c6f86c97..00000000000
--- a/dev-libs/libcec/files/libcec-4.0.2-no-tinfo.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- libcec-libcec-4.0.2/src/cec-client/CMakeLists.txt
-+++ libcec-libcec-4.0.2/src/cec-client/CMakeLists.txt
-@@ -27,8 +27,12 @@ set(cecclient_SOURCES cec-client.cpp)
- check_library_exists(curses initscr "" HAVE_CURSES_API)
- if (HAVE_CURSES_API)
- list(APPEND cecclient_SOURCES curses/CursesControl.cpp)
-+
-+ # tinfo
-+ find_library(HAVE_CURSES_TINFO tinfo)
- endif()
-
-+
- add_executable(cec-client ${cecclient_SOURCES})
- set_target_properties(cec-client PROPERTIES VERSION ${LIBCEC_VERSION_MAJOR}.${LIBCEC_VERSION_MINOR}.${LIBCEC_VERSION_PATCH})
- target_link_libraries(cec-client ${p8-platform_LIBRARIES})
-@@ -44,6 +48,9 @@ if (NOT WIN32)
- # curses
- if (HAVE_CURSES_API)
- target_link_libraries(cec-client curses)
-+ if (HAVE_CURSES_TINFO)
-+ target_link_libraries(cec-client tinfo)
-+ endif()
- endif()
-
- # rt
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/files/
@ 2025-09-08 16:22 Michael Mair-Keimberger
0 siblings, 0 replies; 2+ messages in thread
From: Michael Mair-Keimberger @ 2025-09-08 16:22 UTC (permalink / raw
To: gentoo-commits
commit: ccd4f212f949fee5291c8c9537d78ae5bed5310e
Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 8 16:18:45 2025 +0000
Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Mon Sep 8 16:18:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd4f212
dev-libs/libcec: remove unused patch(es)
Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>
.../files/libcec-4.0.7-no-override-udev.patch | 24 ------------------
.../libcec/files/libcec-6.0.2-musl-nullptr.patch | 29 ----------------------
2 files changed, 53 deletions(-)
diff --git a/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch b/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch
deleted file mode 100644
index d5b7f8664a30..000000000000
--- a/dev-libs/libcec/files/libcec-4.0.7-no-override-udev.patch
+++ /dev/null
@@ -1,24 +0,0 @@
- src/libcec/cmake/CheckPlatformSupport.cmake | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/libcec/cmake/CheckPlatformSupport.cmake b/src/libcec/cmake/CheckPlatformSupport.cmake
-index 5d423df..9e77924 100644
---- a/src/libcec/cmake/CheckPlatformSupport.cmake
-+++ b/src/libcec/cmake/CheckPlatformSupport.cmake
-@@ -90,6 +90,7 @@ else()
- check_function_exists(flock HAVE_FLOCK)
-
- # udev
-+ if (${HAVE_LIBUDEV})
- pkg_check_modules(UDEV udev)
- if (UDEV_FOUND)
- set(PLATFORM_LIBREQUIRES "${PLATFORM_LIBREQUIRES} ${UDEV_LIBRARIES}")
-@@ -106,6 +107,7 @@ else()
- list(APPEND CMAKE_REQUIRED_LIBRARIES "${UDEV_LIBRARIES}")
- set(HAVE_P8_USB_DETECT ON CACHE BOOL "p8 usb-cec detection supported" FORCE)
- endif()
-+ endif()
-
- # xrandr
- check_include_files("X11/Xlib.h;X11/Xatom.h;X11/extensions/Xrandr.h" HAVE_RANDR_HEADERS)
-
diff --git a/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch b/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch
deleted file mode 100644
index d161e20c130d..000000000000
--- a/dev-libs/libcec/files/libcec-6.0.2-musl-nullptr.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-https://github.com/Pulse-Eight/libcec/pull/599
-
-From 452b2049b2ee3e73968c603e5524b2d349ac0c3e Mon Sep 17 00:00:00 2001
-From: psykose <alice@ayaya.dev>
-Date: Sat, 9 Apr 2022 17:59:11 +0000
-Subject: [PATCH] cecloader.h: fix null return
-
-returning NULL is invalid for a return type of bool when NULL is defined
-as `nullptr` instead of 0L
---- a/include/cecloader.h
-+++ b/include/cecloader.h
-@@ -172,7 +172,7 @@ bool LibCecBootloader(const char *strLib = NULL)
- if (!g_libCEC)
- {
- std::cout << dlerror() << std::endl;
-- return NULL;
-+ return false;
- }
- }
-
-@@ -181,7 +181,7 @@ bool LibCecBootloader(const char *strLib = NULL)
- if (!LibCecBootloader)
- {
- std::cout << "cannot find CECStartBootloader" << std::endl;
-- return NULL;
-+ return false;
- }
-
- bool bReturn = LibCecBootloader();
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-08 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08 16:22 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcec/files/ Michael Mair-Keimberger
-- strict thread matches above, loose matches on Subject: below --
2020-11-13 21:16 Aaron Bauman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox