multimedia/libcec: fix build on recent current
This commit is contained in:
parent
abea843f71
commit
8fe34f619b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546336
20
multimedia/libcec/files/patch-include_cecloader.h
Normal file
20
multimedia/libcec/files/patch-include_cecloader.h
Normal 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();
|
Loading…
Reference in New Issue
Block a user