Skip to content

Commit 0fd25ab

Browse files
authored
Merge pull request #1038 from acolwell/fix_cmake_4_build_issues
Update minimum cmake version so package will build with cmake 4.0
2 parents 30e5dd1 + 3f1ffb5 commit 0fd25ab

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -ru SeExpr-2.11/CMakeLists.txt.orig SeExpr-2.11/CMakeLists.txt
2+
--- SeExpr-2.11/CMakeLists.txt.orig 2025-04-05 10:23:50.648992700 -0700
3+
+++ SeExpr-2.11/CMakeLists.txt 2025-04-05 10:24:26.639875400 -0700
4+
@@ -15,7 +15,7 @@
5+
# http://www.apache.org/licenses/LICENSE-2.0
6+
7+
## CMake compatibility issues: don't modify this, please!
8+
-CMAKE_MINIMUM_REQUIRED( VERSION 2.4.6 )
9+
+CMAKE_MINIMUM_REQUIRED( VERSION 3.10.0 )
10+
MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
11+
## allow more human readable "if then else" constructs
12+
SET( CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS TRUE )

tools/MINGW-packages/mingw-w64-seexpr-git/PKGBUILD

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ source=(
2121
0003-seexpr-2.11-fix-dll-installation.patch
2222
0004-seexpr-2.11-c++98.patch
2323
0005-seexpr-2.11-noeditordemos.patch
24+
0006-seexpr-2.11-cmake_version.patch
2425
)
2526
sha256sums=(
2627
'SKIP'
@@ -29,6 +30,7 @@ sha256sums=(
2930
'caa6576737ee72bb3961d299b7479a4a6629a90e5dde0e220ba57cef62624242'
3031
'534c27b14e8bfa4e840ed2e96ed37d784cad4b8640039a362a5f85aef1a1e339'
3132
'2c04c23ad2777c0c7dcb11696863a269984a032edd7ab10117dd7c30ef09d0ca'
33+
'd1953182418af85977fa906ee88986b2843c6cb0fbdba1f799d642d476658ba0'
3234
)
3335

3436
pkgver() {
@@ -43,6 +45,7 @@ prepare() {
4345
patch -p1 -i ${srcdir}/0003-seexpr-2.11-fix-dll-installation.patch
4446
patch -p1 -i ${srcdir}/0004-seexpr-2.11-c++98.patch
4547
patch -p1 -i ${srcdir}/0005-seexpr-2.11-noeditordemos.patch
48+
patch -p1 -i ${srcdir}/0006-seexpr-2.11-cmake_version.patch
4649
}
4750

4851
build() {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20241221-1
1+
20250405-1

0 commit comments

Comments
 (0)