multimedia/libcec: fix build on recent current

This commit is contained in:
Tobias C. Berner 2020-08-27 12:39:08 +00:00
parent abea843f71
commit 8fe34f619b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546336

View File

@ -0,0 +1,20 @@
--- include/cecloader.h.orig 2020-07-13 10:18:33 UTC
+++ 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();