diff options
author | Markus Volk <f_l_k@t-online.de> | 2024-04-24 19:57:23 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-04-28 08:55:01 -0700 |
commit | fb31a0706fe32bd2b43fced28caaf836dadb3fc2 (patch) | |
tree | 950ae313d321b88401ced0ae46e85814e6eb1524 | |
parent | ea701b46ba8edf0431634226842ee593090dd2d7 (diff) | |
download | meta-openembedded-fb31a0706fe32bd2b43fced28caaf836dadb3fc2.tar.gz |
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>
-rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch | 32 | ||||
-rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch b/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch new file mode 100644 index 0000000000..63126520e9 --- /dev/null +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 78270f9159a9ec7284ca39a2fbb1774347942de1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Wed, 24 Apr 2024 19:08:43 +0200 | ||
4 | Subject: [PATCH] gssdp-enums.c.template: use basename instead of filename | ||
5 | |||
6 | This would prevent the build path from leaking into the source code. | ||
7 | |||
8 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
9 | |||
10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gssdp/-/merge_requests/13] | ||
11 | --- | ||
12 | libgssdp/gssdp-enums.c.template | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/libgssdp/gssdp-enums.c.template b/libgssdp/gssdp-enums.c.template | ||
16 | index 600d426..2dfb859 100644 | ||
17 | --- a/libgssdp/gssdp-enums.c.template | ||
18 | +++ b/libgssdp/gssdp-enums.c.template | ||
19 | @@ -3,8 +3,8 @@ | ||
20 | |||
21 | /*** END file-header ***/ | ||
22 | /*** BEGIN file-production ***/ | ||
23 | -/* enumerations from "@filename@" */ | ||
24 | -#include "@filename@" | ||
25 | +/* enumerations from "@basename@" */ | ||
26 | +#include "@basename@" | ||
27 | /*** END file-production ***/ | ||
28 | /*** BEGIN value-header ***/ | ||
29 | GType | ||
30 | -- | ||
31 | 2.44.0 | ||
32 | |||
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb index f2e27622cc..e6ea472709 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb | |||
@@ -6,6 +6,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues" | |||
6 | LICENSE = "LGPL-2.1-only" | 6 | LICENSE = "LGPL-2.1-only" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
8 | 8 | ||
9 | SRC_URI:append = " file://0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch" | ||
9 | SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446" | 10 | SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446" |
10 | 11 | ||
11 | GTKDOC_MESON_OPTION = 'gtk_doc' | 12 | GTKDOC_MESON_OPTION = 'gtk_doc' |