diff --git a/recipes-kde/kf5/porting-aids-tier1/kjs/files/0002-create_hash_table-Log-basename-only-to-make-QA-happy.patch b/recipes-kde/kf5/porting-aids-tier1/kjs/files/0002-create_hash_table-Log-basename-only-to-make-QA-happy.patch new file mode 100644 index 00000000..dd5aebbf --- /dev/null +++ b/recipes-kde/kf5/porting-aids-tier1/kjs/files/0002-create_hash_table-Log-basename-only-to-make-QA-happy.patch @@ -0,0 +1,38 @@ +From 8a6fcb7bf1529726fee997427cecdb33517182ac Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sun, 16 Oct 2022 17:27:36 +0200 +Subject: [PATCH] create_hash_table: Log basename only to make QA happy +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Andreas Müller +--- + src/kjs/create_hash_table | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/kjs/create_hash_table b/src/kjs/create_hash_table +index 467e70d..b8aab64 100644 +--- a/src/kjs/create_hash_table ++++ b/src/kjs/create_hash_table +@@ -24,6 +24,7 @@ + # + + use strict; ++use File::Basename; + + my $file = $ARGV[0]; + shift; +@@ -218,7 +219,8 @@ sub hashValue($) { + sub output() { + if (!$banner) { + $banner = 1; +- print "/* Automatically generated from $file using kjs's create_hash_table. DO NOT EDIT ! */\n"; ++ my $base_file = basename($file); ++ print "/* Automatically generated from $base_file using kjs's create_hash_table. DO NOT EDIT ! */\n"; + } + + my $nameEntries = "${name}Entries"; +-- +2.35.3 + diff --git a/recipes-kde/kf5/porting-aids-tier1/kjs/files/0002-native-build-and-install-icemaker-only.patch b/recipes-kde/kf5/porting-aids-tier1/kjs/files/0003-native-build-and-install-icemaker-only.patch similarity index 100% rename from recipes-kde/kf5/porting-aids-tier1/kjs/files/0002-native-build-and-install-icemaker-only.patch rename to recipes-kde/kf5/porting-aids-tier1/kjs/files/0003-native-build-and-install-icemaker-only.patch diff --git a/recipes-kde/kf5/porting-aids-tier1/kjs/kjs-native.bb b/recipes-kde/kf5/porting-aids-tier1/kjs/kjs-native.bb index df07b335..e87fa5d1 100644 --- a/recipes-kde/kf5/porting-aids-tier1/kjs/kjs-native.bb +++ b/recipes-kde/kf5/porting-aids-tier1/kjs/kjs-native.bb @@ -3,7 +3,7 @@ require ${BPN}.inc inherit native SRC_URI += " \ - file://0002-native-build-and-install-icemaker-only.patch \ + file://0003-native-build-and-install-icemaker-only.patch \ " DEPENDS += "libpcre-native" diff --git a/recipes-kde/kf5/porting-aids-tier1/kjs/kjs.inc b/recipes-kde/kf5/porting-aids-tier1/kjs/kjs.inc index 3654d117..8ea8a192 100644 --- a/recipes-kde/kf5/porting-aids-tier1/kjs/kjs.inc +++ b/recipes-kde/kf5/porting-aids-tier1/kjs/kjs.inc @@ -6,7 +6,10 @@ inherit kde-kf5-porting-aids perlnative PV = "${KF5_VERSION}" SRC_URI[sha256sum] = "0e59e1d757819943d76e1df8af3f2cbf586b0104aafa8ee7b8b4ea82987bdcf8" -SRC_URI += "file://0001-create_hash_table-avoid-polution-of-files-with-build.patch" +SRC_URI += " \ + file://0001-create_hash_table-avoid-polution-of-files-with-build.patch \ + file://0002-create_hash_table-Log-basename-only-to-make-QA-happy.patch \ +" DEPENDS += " \ kdoctools-native \