gssdp: fix a reproducibility issue

- add a	patch to fix a buildpath leakage
  SRC_URI += did not work, therefore use SRC_URI:append

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2024-04-24 19:57:23 +02:00 committed by Khem Raj
parent ea701b46ba
commit fb31a0706f
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 78270f9159a9ec7284ca39a2fbb1774347942de1 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Wed, 24 Apr 2024 19:08:43 +0200
Subject: [PATCH] gssdp-enums.c.template: use basename instead of filename
This would prevent the build path from leaking into the source code.
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gssdp/-/merge_requests/13]
---
libgssdp/gssdp-enums.c.template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgssdp/gssdp-enums.c.template b/libgssdp/gssdp-enums.c.template
index 600d426..2dfb859 100644
--- a/libgssdp/gssdp-enums.c.template
+++ b/libgssdp/gssdp-enums.c.template
@@ -3,8 +3,8 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
-#include "@filename@"
+/* enumerations from "@basename@" */
+#include "@basename@"
/*** END file-production ***/
/*** BEGIN value-header ***/
GType
--
2.44.0

View File

@ -6,6 +6,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI:append = " file://0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch"
SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446"
GTKDOC_MESON_OPTION = 'gtk_doc'