kosmindoormap: fix QA buildpath issue
This commit is contained in:
@@ -9,6 +9,8 @@ LICENSE = "LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://LICENSES/LGPL-2.0-or-later.txt;md5=6d2d9952d88b50a51a5c73dc431d06c7"
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI:append = " file://0001-Fix-reproducible-builds.patch"
|
||||
|
||||
DEPENDS += " \
|
||||
qtdeclarative \
|
||||
ki18n \
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
From d70eec72e4883ee89f2bddc783b9ded146c43508 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Cord-Landwehr <cordlandwehr@kde.org>
|
||||
Date: Mon, 4 Nov 2024 18:32:44 +0100
|
||||
Subject: [PATCH] Fix reproducible builds
|
||||
|
||||
Do not generate absolute file names into headers.
|
||||
|
||||
Upstream-Status: Backport [https://invent.kde.org/libraries/kosmindoormap/-/merge_requests/46]
|
||||
|
||||
SPDX-FileCopyrightText: Andreas Cord-Landwehr <cordlandwehr@kde.org>
|
||||
SPDX-License-Identifier: MIT
|
||||
Signed-off-by: Andreas Cord-Landwehr <cordlandwehr@kde.org>
|
||||
---
|
||||
src/map/CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/map/CMakeLists.txt b/src/map/CMakeLists.txt
|
||||
index b02e9c6..1eff1ea 100644
|
||||
--- a/src/map/CMakeLists.txt
|
||||
+++ b/src/map/CMakeLists.txt
|
||||
@@ -21,12 +21,13 @@ if (NOT BUILD_TOOLS_ONLY)
|
||||
style/mapcsslexer.l
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mapcsslexer.cpp
|
||||
DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/mapcssscanner.h
|
||||
- COMPILE_FLAGS "--nounistd"
|
||||
+ COMPILE_FLAGS "--nounistd --noline"
|
||||
)
|
||||
bison_target(mapcssparser
|
||||
style/mapcssparser.y
|
||||
${CMAKE_CURRENT_BINARY_DIR}/mapcssparser_impl.cpp
|
||||
DEFINES_FILE ${CMAKE_CURRENT_BINARY_DIR}/mapcssparser_impl.h
|
||||
+ COMPILE_FLAGS "--no-lines"
|
||||
)
|
||||
add_flex_bison_dependency(mapcssscanner mapcssparser)
|
||||
set_source_files_properties(${BISON_mapcssparser_OUTPUTS} ${FLEX_mapcssscanner_OUTPUTS} PROPERTIES SKIP_AUTOMOC ON)
|
||||
--
|
||||
2.43.0
|
||||
|
||||
Reference in New Issue
Block a user