kdeartwork: fix build w/ newer cmake
This commit is contained in:
parent
a8c6a4fcce
commit
1a9c325393
2 changed files with 13 additions and 1 deletions
12
srcpkgs/kdeartwork/patches/fix-cmake.patch
Normal file
12
srcpkgs/kdeartwork/patches/fix-cmake.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
Newer cmake has CHECK_INCLUDE_FILES() instead of check_include_files()
|
||||
and needs to INCLUDE(CheckIncludeFiles) to use that function.
|
||||
|
||||
--- kscreensaver/xsavers/CMakeLists.txt 2010-03-05 19:35:01.000000000 +0100
|
||||
+++ kscreensaver/xsavers/CMakeLists.txt 2016-09-19 12:32:33.394272881 +0200
|
||||
@@ -1,4 +1,5 @@
|
||||
-check_include_files(memory.h HAVE_MEMORY_H)
|
||||
+INCLUDE(CheckIncludeFiles)
|
||||
+CHECK_INCLUDE_FILES(memory.h HAVE_MEMORY_H)
|
||||
configure_file (config-xsavers.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-xsavers.h )
|
||||
|
||||
set(screensaver_base_SRCS main.cpp demowin.cpp saver.cpp helpers.cpp)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'kdeartwork'
|
||||
pkgname=kdeartwork
|
||||
version=4.14.3
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="KDE artwork"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="GPL, LGPL, FDL"
|
||||
|
|
Loading…
Reference in a new issue