File: version.patch

package info (click to toggle)
spring 105.0.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 108,860 kB
  • sloc: cpp: 467,785; ansic: 302,607; python: 12,925; java: 12,201; awk: 5,889; sh: 2,371; xml: 655; perl: 405; php: 276; objc: 194; makefile: 75; sed: 2
file content (27 lines) | stat: -rw-r--r-- 961 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Markus Koschany <apo@debian.org>
Date: Mon, 18 Jan 2021 21:32:48 +0100
Subject: version

Fix Spring version due to the absence of Git.
---
 rts/build/cmake/ConfigureVersion.cmake | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/rts/build/cmake/ConfigureVersion.cmake b/rts/build/cmake/ConfigureVersion.cmake
index 92912a6..47e6677 100644
--- a/rts/build/cmake/ConfigureVersion.cmake
+++ b/rts/build/cmake/ConfigureVersion.cmake
@@ -24,12 +24,8 @@ include(UtilVersion)
 
 
 
-# Fetch through git or from the VERSION file
-fetch_spring_version(${SOURCE_ROOT} SPRING_ENGINE)
-parse_spring_version(SPRING_VERSION_ENGINE "${SPRING_ENGINE_VERSION}")
-
 # We define these, so it may be used in the to-be-configured files
-set(SPRING_VERSION_ENGINE "${SPRING_ENGINE_VERSION}")
+set(SPRING_VERSION_ENGINE "105.0.1")
 if     ("${SPRING_VERSION_ENGINE}" MATCHES "^${VERSION_REGEX_RELEASE}$")
 	set(SPRING_VERSION_ENGINE_RELEASE 1)
 else   ()