diff --git a/srcpkgs/kdevelop/patches/use-std-c99.patch b/srcpkgs/kdevelop/patches/use-std-c99.patch index da373e3ab2c..d766e446f69 100644 --- a/srcpkgs/kdevelop/patches/use-std-c99.patch +++ b/srcpkgs/kdevelop/patches/use-std-c99.patch @@ -4,13 +4,12 @@ Let's use C99 instead. --- CMakeLists.txt.ORIG +++ CMakeLists.txt -@@ -21,6 +21,9 @@ - endif() - +@@ -15,6 +15,8 @@ + include(KDEInstallDirs) + include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) # needs to be first, as set policies influence following macros +string(REPLACE " -std=iso9899:1990" "" CMAKE_C_FLAGS " ${CMAKE_C_FLAGS} ") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") -+ + include(ECMOptionalAddSubdirectory) include(ECMInstallIcons) - include(ECMAddAppIcon) diff --git a/srcpkgs/kdevelop/template b/srcpkgs/kdevelop/template index ad3c8d13c32..94900870527 100644 --- a/srcpkgs/kdevelop/template +++ b/srcpkgs/kdevelop/template @@ -1,7 +1,7 @@ # Template file for 'kdevelop' pkgname=kdevelop -version=5.4.1 -revision=2 +version=5.4.2 +revision=1 build_style=cmake hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools" makedepends="apr-util-devel clang grantlee5-devel kcmutils-devel kdevelop-pg-qt @@ -15,7 +15,7 @@ maintainer="yopito " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.kdevelop.org/" distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz" -checksum=6849c289ab9f4ad227cc4f4a52bf14e0eacab89ebf81020b0238d5ae607d388a +checksum=52e253da4892428ef3059568a93263bf7f9dec5ddeb17b0e5d258726492dc6c4 nocross="subversion-devel is not available" kdevelop-devel_package() {