[vlc-devel] [PATCH] dvbpsi: add sys/types.h as appropriate

Timothy Gu timothygu99 at gmail.com
Sun Jun 29 16:31:49 CEST 2014


On Jun 29, 2014 6:14 AM, "Jean-Paul Saman" <jpsaman at videolan.org> wrote:
>
>
> On Fri, Jun 27, 2014 at 7:00 PM, Rafaël Carré <funman at videolan.org> wrote:
>>
>> On 06/27/14 16:47, Sean McGovern wrote:
>> > On Tuesday, June 24, 2014, Sean McGovern <gseanmcg at gmail.com> wrote:
>> >> ---
>> >>  contrib/src/dvbpsi/dvbpsi-solaris-types.patch |   12 ++++++++++++
>> >>  contrib/src/dvbpsi/rules.mak                  |    1 +
>> >>  2 files changed, 13 insertions(+)
>> >>  create mode 100644 contrib/src/dvbpsi/dvbpsi-solaris-types.patch
>> >>
>> >> diff --git a/contrib/src/dvbpsi/dvbpsi-solaris-types.patch
>> > b/contrib/src/dvbpsi/dvbpsi-solaris-types.patch
>> >> new file mode 100644
>> >> index 0000000..51b1cb9
>> >> --- /dev/null
>> >> +++ b/contrib/src/dvbpsi/dvbpsi-solaris-types.patch
>> >> @@ -0,0 +1,12 @@
>> >> +--- libdvbpsi/src/descriptor.c.ORIG    Sun Nov 10 07:13:35 2013
>> >> ++++ libdvbpsi/src/descriptor.c Mon Mar  3 22:30:36 2014
>> >> +@@ -29,6 +29,9 @@
>> >> + #include <stdlib.h>
>> >> + #include <stdbool.h>
>> >> + #include <string.h>
>> >> ++#if defined(__sun)
>> >> ++#include <sys/types.h>
>> >> ++#endif
>> >> +
>> >> + #if defined(HAVE_INTTYPES_H)
>> >> + #include <inttypes.h>
>> >> diff --git a/contrib/src/dvbpsi/rules.mak
b/contrib/src/dvbpsi/rules.mak
>> >> index 454fdbe..5f52809 100644
>> >> --- a/contrib/src/dvbpsi/rules.mak
>> >> +++ b/contrib/src/dvbpsi/rules.mak
>> >> @@ -17,6 +17,7 @@ libdvbpsi: libdvbpsi-$(DVBPSI_VERSION).tar.bz2
>> > .sum-dvbpsi
>> >>         $(UNPACK)
>> >>         $(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess
>> > config.sub .auto
>> >>         $(APPLY) $(SRC)/dvbpsi/dvbpsi-noexamples.patch
>> >> +       $(APPLY) $(SRC)/dvbpsi/dvbpsi-solaris-types.patch
>> >>         $(MOVE)
>> >>
>> >>  .dvbpsi: libdvbpsi
>> >> --
>> >
>> > Ping!
>>
>> Jean-Paul ?
>
>
> Thanks I'll look into it.

This patch is also needed for MinGW, not only for Sun. See
https://mailman.videolan.org/pipermail/libdvbpsi-devel/2014-June/000737.html

Timothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140629/513982fd/attachment.html>


More information about the vlc-devel mailing list