diff options
| -rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch | 32 | ||||
| -rw-r--r-- | meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch new file mode 100644 index 0000000000..373eb4548e --- /dev/null +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From f875a0afe24fdebdefc46d132f6722dfcb55115a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Markus Volk <f_l_k@t-online.de> | ||
| 3 | Date: Wed, 24 Apr 2024 18:52:45 +0200 | ||
| 4 | Subject: [PATCH] gupnp-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/gupnp/-/merge_requests/36] | ||
| 11 | --- | ||
| 12 | libgupnp/gupnp-enums.c.template | 4 ++-- | ||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/libgupnp/gupnp-enums.c.template b/libgupnp/gupnp-enums.c.template | ||
| 16 | index 3ce5fa4..a7ff89c 100644 | ||
| 17 | --- a/libgupnp/gupnp-enums.c.template | ||
| 18 | +++ b/libgupnp/gupnp-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/gupnp_1.6.6.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb index f1628d82ee..7d9b8a477f 100644 --- a/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb +++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb | |||
| @@ -8,6 +8,8 @@ DEPENDS = "e2fsprogs gssdp libsoup-3.0 libxml2" | |||
| 8 | inherit gnomebase pkgconfig vala gobject-introspection | 8 | inherit gnomebase pkgconfig vala gobject-introspection |
| 9 | 9 | ||
| 10 | SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f" | 10 | SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f" |
| 11 | SRC_URI += "file://0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch" | ||
| 12 | |||
| 11 | 13 | ||
| 12 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" | 14 | SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess" |
| 13 | 15 | ||
