File: KiCadFullVersion-Drop-hyphen-in-the-string.patch

package info (click to toggle)
kicad 9.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 771,308 kB
  • sloc: cpp: 963,195; ansic: 121,001; xml: 66,428; python: 18,387; sh: 1,010; awk: 301; asm: 292; makefile: 227; javascript: 167; perl: 10
file content (23 lines) | stat: -rw-r--r-- 887 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Tue, 15 Aug 2023 23:29:09 +0200
Subject: KiCadFullVersion: Drop hyphen in the string

We don't want the hyphen in the composed string of KICAD_VERSION_FULL so
this string is representing the complete Debian version in the end.

Forwarded: Not-Needed
---
 cmake/KiCadFullVersion.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/KiCadFullVersion.cmake b/cmake/KiCadFullVersion.cmake
index 1907db4..ae1e773 100644
--- a/cmake/KiCadFullVersion.cmake
+++ b/cmake/KiCadFullVersion.cmake
@@ -36,5 +36,5 @@ set( KICAD_VERSION_FULL "${KICAD_VERSION}" )
 
 # Optional user version information defined at configuration.
 if( KICAD_VERSION_EXTRA )
-    set( KICAD_VERSION_FULL "${KICAD_VERSION_FULL}-${KICAD_VERSION_EXTRA}" )
+    set( KICAD_VERSION_FULL "${KICAD_VERSION_FULL}${KICAD_VERSION_EXTRA}" )
 endif()