[vlc-devel] [PATCH] tools: fix cmake 3.2.3 building

Rémi Denis-Courmont remi at remlab.net
Tue Feb 9 16:02:29 CET 2016


Le 2016-02-09 16:30, Steve Lhomme a écrit :
> otherwise mode_t may not be defined
>
> --
> replaces https://patches.videolan.org/patch/12194/
>
> Other files in the same folder include <sys/types.h> without 
> HAVE_SYS_TYPES_H
> so I think it's safe like that.
> ---
>  extras/tools/cmake-3.2.3.patch | 10 ++++++++++
>  extras/tools/tools.mak         |  1 +
>  2 files changed, 11 insertions(+)
>  create mode 100644 extras/tools/cmake-3.2.3.patch
>
> diff --git a/extras/tools/cmake-3.2.3.patch 
> b/extras/tools/cmake-3.2.3.patch
> new file mode 100644
> index 0000000..b697cc2
> --- /dev/null
> +++ b/extras/tools/cmake-3.2.3.patch
> @@ -0,0 +1,10 @@
> +---
> cmake/Source/cmGeneratorExpressionEvaluationFile.h.orig	2016-02-04
> 11:47:52.735890500 +0100
> ++++ cmake/Source/cmGeneratorExpressionEvaluationFile.h	2016-02-04
> 11:46:06.493912300 +0100
> +@@ -14,6 +14,7 @@
> +
> + #include "cmStandardIncludes.h"
> + #include <cmsys/auto_ptr.hxx>
> ++#include <sys/types.h>
> +
> + #include "cmGeneratorExpression.h"
> +
> diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
> index 69a8d2d..5475952 100644
> --- a/extras/tools/tools.mak
> +++ b/extras/tools/tools.mak
> @@ -65,6 +65,7 @@ cmake-$(CMAKE_VERSION).tar.gz:
>
>  cmake: cmake-$(CMAKE_VERSION).tar.gz
>  	$(UNPACK)
> +	$(APPLY) cmake-3.2.3.patch
>  	$(MOVE)
>
>  .cmake: cmake

Not very good patch file name IMHO.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list