slackware-current/source/x/fcitx5-kkc/0001-remove-std-c-11-from-gui-CMakeLists.txt.patch
Patrick J Volkerding ced006913d Sat Mar 18 18:42:32 UTC 2023
l/glibmm-2.66.6-x86_64-1.txz:  Upgraded.
n/postfix-3.7.4-x86_64-4.txz:  Rebuilt.
  Fixes warning about being compiled with a different version of OpenSSL.
  Thanks to gildbg.
x/fcitx5-5.0.23-x86_64-1.txz:  Upgraded.
x/fcitx5-kkc-5.0.12-x86_64-2.txz:  Rebuilt.
  Patched to fix FTBFS. Thanks to nobodino and marav.
2023-03-18 21:37:24 +01:00

24 lines
787 B
Diff

From 418c44e61fcda33e809076d1817acc2f2362d409 Mon Sep 17 00:00:00 2001
From: Qiyu Yan <yanqiyu@fedoraproject.org>
Date: Sun, 12 Mar 2023 12:48:39 +0800
Subject: [PATCH] remove -std=c++11 from gui/CMakeLists.txt
---
gui/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 38b50d4..2327132 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -17,7 +17,7 @@ qt5_wrap_ui(KKC_CONFIG_SRCS dictwidget.ui adddictdialog.ui shortcutwidget.ui add
add_library(fcitx5-kkc-config
MODULE ${KKC_CONFIG_SRCS})
-add_definitions(-DQT_NO_KEYWORDS -std=c++11)
+add_definitions(-DQT_NO_KEYWORDS)
target_include_directories(fcitx5-kkc-config PRIVATE ${PROJECT_BINARY_DIR} ${CMAKE_CURRENT_BINARY_DIR})
--
2.39.2