[x265] [PATCH] Fix *BSD build

Brad Smith brad at comstyle.com
Fri Nov 18 21:47:41 UTC 2022


ping.

On 10/22/2022 7:30 PM, Brad Smith wrote:
> On 10/5/2022 4:28 PM, Brad Smith wrote:
>
>> ping.
>>
>> Can the tree please be fixed so it builds?
>
>
> The tree is still broken and does not build.
>
>
>> On 9/24/2022 1:33 AM, Brad Smith wrote:
>>> Fix *BSD build
>>>
>>> Ever since 747a079f70096c6718cbf288a30fb3b7c88a55c9 the build
>>> has been broken.
>>>
>>> [ 63%] Building CXX object common/CMakeFiles/common.dir/ringmem.cpp.o
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:27: error: use 
>>> of undeclared identifier 'S_IRUSR'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:37: error: use 
>>> of undeclared identifier 'S_IWUSR'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:47: error: use 
>>> of undeclared identifier 'S_IRGRP'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:57: error: use 
>>> of undeclared identifier 'S_IWGRP'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:67: error: use 
>>> of undeclared identifier 'S_IROTH'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> /home/brad/tmp/x265_git/source/common/ringmem.cpp:163:77: error: use 
>>> of undeclared identifier 'S_IWOTH'
>>> mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | 
>>> S_IWOTH;
>>> ^
>>> 6 errors generated.
>>>
>>> ---
>>>   source/common/threading.h | 1 +
>>>   1 file changed, 1 insertion(+)
>>>
>>> diff --git a/source/common/threading.h b/source/common/threading.h
>>> index 8a5c39cf0..98271b899 100644
>>> --- a/source/common/threading.h
>>> +++ b/source/common/threading.h
>>> @@ -37,6 +37,7 @@
>>>   #include <semaphore.h>
>>>   #include <errno.h>
>>>   #include <fcntl.h>
>>> +#include <sys/stat.h>
>>>   #endif
>>>     #if MACOS
>> _______________________________________________
>> x265-devel mailing list
>> x265-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x265-devel
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel


More information about the x265-devel mailing list