[x265] [PATCH] Haiku support

Jérôme Duval jerome.duval+x265 at gmail.com
Tue Oct 13 12:52:14 CEST 2015


Hi,

Am 16.08.2015 10:00 nachm. schrieb "Jérôme Duval" <
jerome.duval+x265 at gmail.com>:
>
> 2015-08-12 9:30 GMT+02:00 Steve Borho <steve at borho.org>:
> >> Here is a description of the changes:
> >> 1st: Haiku has no pthread library, we need to check for a threading
library.
> >> 2nd: Haiku doesn't install headers in include, we add an option to
> >> define such a place, defaulting to include.
> >> 3rd: Haiku has no nice() function, we use the platform specific call.
> >>
> >> The patch is rebased against today's HG trunk and should apply cleanly.
> >
> > Haiku is https://www.haiku-os.org?
>
> Yes, this is the one.
>
> >
> >> From b2a16767983618709903e175f6f3d94a36e35832 Mon Sep 17 00:00:00 2001
> >> From: Timothy Gu <timothygu99 at gmail.com>
> >> Date: Sun, 28 Dec 2014 07:11:55 +0000
> >> Subject: Check if threading library needs to be linked separately
> >>
> >>
> >> diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
> >> index 353003e..6fd2cbe 100644
> >> --- a/source/CMakeLists.txt
> >> +++ b/source/CMakeLists.txt
> >> @@ -66,7 +66,8 @@ else()
> >>  endif()
> >>
> >>  if(UNIX)
> >> -    list(APPEND PLATFORM_LIBS pthread)
> >> +    find_package(Threads)
> >> +    list(APPEND PLATFORM_LIBS ${CMAKE_THREAD_LIBS_INIT})
> >
> > Nice. I checked and this package pre-dates our earliest supported cmake
> > version (2.8.8) so it is ok to use. The rest looks ok.
>

I checked and can't find this patch in release 1.8. Anything I can do to
have it committed?

Bye,
Jérome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20151013/305a40e7/attachment.html>


More information about the x265-devel mailing list