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

Jean-Paul Saman jpsaman at videolan.org
Sun Jun 29 15:14:47 CEST 2014


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.

Kind regards,

Jean-Paul Saman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140629/7bc196f4/attachment.html>


More information about the vlc-devel mailing list