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

Sean McGovern gseanmcg at gmail.com
Fri Jun 27 16:47:09 CEST 2014


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!

-- Sean McG.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140627/16add9bd/attachment.html>


More information about the vlc-devel mailing list