kdevelop: update to 5.4.2

This commit is contained in:
yopito 2019-10-03 08:19:53 +02:00 committed by Piraty
parent 3403fa36bc
commit ced0bca520
2 changed files with 7 additions and 8 deletions

View File

@ -4,13 +4,12 @@ Let's use C99 instead.
--- CMakeLists.txt.ORIG --- CMakeLists.txt.ORIG
+++ CMakeLists.txt +++ CMakeLists.txt
@@ -21,6 +21,9 @@ @@ -15,6 +15,8 @@
endif() include(KDEInstallDirs)
include(KDECMakeSettings)
include(KDECompilerSettings NO_POLICY_SCOPE) # needs to be first, as set policies influence following macros 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} ") +string(REPLACE " -std=iso9899:1990" "" CMAKE_C_FLAGS " ${CMAKE_C_FLAGS} ")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
+
include(ECMOptionalAddSubdirectory) include(ECMOptionalAddSubdirectory)
include(ECMInstallIcons) include(ECMInstallIcons)
include(ECMAddAppIcon)

View File

@ -1,7 +1,7 @@
# Template file for 'kdevelop' # Template file for 'kdevelop'
pkgname=kdevelop pkgname=kdevelop
version=5.4.1 version=5.4.2
revision=2 revision=1
build_style=cmake build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools" hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="apr-util-devel clang grantlee5-devel kcmutils-devel kdevelop-pg-qt makedepends="apr-util-devel clang grantlee5-devel kcmutils-devel kdevelop-pg-qt
@ -15,7 +15,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later, LGPL-2.1-or-later" license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.kdevelop.org/" homepage="https://www.kdevelop.org/"
distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz" distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz"
checksum=6849c289ab9f4ad227cc4f4a52bf14e0eacab89ebf81020b0238d5ae607d388a checksum=52e253da4892428ef3059568a93263bf7f9dec5ddeb17b0e5d258726492dc6c4
nocross="subversion-devel is not available" nocross="subversion-devel is not available"
kdevelop-devel_package() { kdevelop-devel_package() {