[packages/vislcg3] - updated to 1.3.2 - updated static patch
qboosh
qboosh at pld-linux.org
Tue Mar 23 20:59:06 CET 2021
commit 8ef20e6041e3c697afd006a4875f12cd5f8d26df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 23 21:00:09 2021 +0100
- updated to 1.3.2
- updated static patch
vislcg3-static.patch | 8 ++++----
vislcg3.spec | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/vislcg3.spec b/vislcg3.spec
index ea31a72..8f0daa4 100644
--- a/vislcg3.spec
+++ b/vislcg3.spec
@@ -6,13 +6,13 @@
Summary: VISL CG-3 constraint grammar system
Summary(pl.UTF-8): VISL CG-3 - system ograniczonej gramatyki
Name: vislcg3
-Version: 1.3.1
-Release: 3
+Version: 1.3.2
+Release: 1
License: GPL v3+
Group: Applications/Text
#Source0Download: https://github.com/TinoDidriksen/cg3/releases
Source0: https://github.com/TinoDidriksen/cg3/archive/v%{version}/cg3-%{version}.tar.gz
-# Source0-md5: a5b608f4ee7e5d7427b360ef22d58348
+# Source0-md5: 495ed8b59968c071a44fc7e525d779a7
Patch0: %{name}-static.patch
URL: http://beta.visl.sdu.dk/cg3.html
BuildRequires: cmake >= 3.0
diff --git a/vislcg3-static.patch b/vislcg3-static.patch
index 164459e..ea5edf2 100644
--- a/vislcg3-static.patch
+++ b/vislcg3-static.patch
@@ -1,5 +1,5 @@
---- cg3-1.3.0/CMakeLists.txt.orig 2019-09-29 21:20:05.000000000 +0200
-+++ cg3-1.3.0/CMakeLists.txt 2019-10-17 20:06:34.647892619 +0200
+--- cg3-1.3.2/CMakeLists.txt.orig 2021-03-23 19:52:01.468693496 +0100
++++ cg3-1.3.2/CMakeLists.txt 2021-03-23 20:06:00.977478820 +0100
@@ -50,7 +50,11 @@
include(CheckCCompilerFlag)
include(CheckCXXCompilerFlag)
@@ -7,9 +7,9 @@
- foreach(flag "-Wno-unused-result" "-flto")
+ set(flags_to_check "-Wno-unused-result")
+ if(BUILD_SHARED_LIBS)
-+ set(flags_to_check "${flags_to_check} -flto")
++ set(flags_to_check "${flags_to_check} -flto")
+ endif()
+ foreach(flag ${flags_to_check})
- string(REGEX REPLACE "[^A-Za-z0-9]" "-" _flag ${flag})
+ string(REGEX REPLACE "[^A-Za-z0-9]" "" _flag ${flag})
CHECK_CXX_COMPILER_FLAG(${flag} COMPILER_SUPPORTS_${_flag})
if(COMPILER_SUPPORTS_${_flag})
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vislcg3.git/commitdiff/8ef20e6041e3c697afd006a4875f12cd5f8d26df
More information about the pld-cvs-commit
mailing list