cmake: unbreak musl build; patch from Alpine.

This commit is contained in:
Juan RP 2015-04-21 11:23:21 +02:00
parent 66070f8a95
commit 2e82ef5fe2
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,13 @@
mode_t needs sys/stat.h
--- Source/cmStandardIncludes.h.orig
+++ Source/cmStandardIncludes.h
@@ -74,6 +74,8 @@
#if defined( _MSC_VER )
typedef unsigned short mode_t;
+#else
+#include <sys/stat.h>
#endif
// use this class to shrink the size of symbols in .o files

View File

@ -1,7 +1,7 @@
# Template file for 'cmake'
pkgname=cmake
version=3.2.2
revision=1
revision=2
build_style=configure
makedepends="zlib-devel bzip2-devel expat-devel libcurl-devel jsoncpp-devel ncurses-devel libarchive-devel"
short_desc="Cross-platform, open-source build system"