kdeartwork: fix build w/ newer cmake
This commit is contained in:
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'
|
# Template file for 'kdeartwork'
|
||||||
pkgname=kdeartwork
|
pkgname=kdeartwork
|
||||||
version=4.14.3
|
version=4.14.3
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="KDE artwork"
|
short_desc="KDE artwork"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL, LGPL, FDL"
|
license="GPL, LGPL, FDL"
|
||||||
|
Reference in New Issue
Block a user