aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcec4/musl-1.2.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/libcec4/musl-1.2.3.patch')
-rw-r--r--community/libcec4/musl-1.2.3.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/community/libcec4/musl-1.2.3.patch b/community/libcec4/musl-1.2.3.patch
new file mode 100644
index 00000000000..5ace754d987
--- /dev/null
+++ b/community/libcec4/musl-1.2.3.patch
@@ -0,0 +1,20 @@
+--- a/include/cecloader.h
++++ b/include/cecloader.h
+@@ -172,7 +172,7 @@
+ if (!g_libCEC)
+ {
+ std::cout << dlerror() << std::endl;
+- return NULL;
++ return false;
+ }
+ }
+
+@@ -181,7 +181,7 @@
+ if (!LibCecBootloader)
+ {
+ std::cout << "cannot find CECStartBootloader" << std::endl;
+- return NULL;
++ return false;
+ }
+
+ bool bReturn = LibCecBootloader();