cmake: unbreak musl build; patch from Alpine.
This commit is contained in:
parent
66070f8a95
commit
2e82ef5fe2
|
@ -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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue