mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +00:00
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:
+32
@@ -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
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
|
|||||||
LICENSE = "LGPL-2.1-only"
|
LICENSE = "LGPL-2.1-only"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
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"
|
SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446"
|
||||||
|
|
||||||
GTKDOC_MESON_OPTION = 'gtk_doc'
|
GTKDOC_MESON_OPTION = 'gtk_doc'
|
||||||
|
|||||||
Reference in New Issue
Block a user