diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2020-01-12 14:59:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:33:08 +0000 |
commit | c14cf3abb28d9ea4a1e59277ebf9464a4ce0b6b0 (patch) | |
tree | bf27378863d1cd1690ec67b01d3b8e7abef0b008 /meta/recipes-multimedia/gstreamer/files | |
parent | 5197e71a8fc1fa17f6e698cf40e69d5b6cdaa779 (diff) | |
download | poky-c14cf3abb28d9ea4a1e59277ebf9464a4ce0b6b0.tar.gz |
gst-validate: Move recipe specific patch to dedicated subdirectory
This does not belong in files/, since that subdirectory is where patches
that aren't recipe specific are located. This patch however is gst-validate
specific.
(From OE-Core rev: 70a6eda4ddc071cfb3ad26817a609d054ea8a222)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/files')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch b/meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch deleted file mode 100644 index a0d215c5a0..0000000000 --- a/meta/recipes-multimedia/gstreamer/files/0001-connect-has-a-different-signature-on-musl.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From 0bd8004d8dddc486d3961a5316d24e8f2645e4c8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 | ||
4 | Subject: [PATCH] connect has a different signature on musl | ||
5 | |||
6 | On linux when not using glibc and using musl for C library, connect | ||
7 | API has a different signature, this patch fixes this so it can compile | ||
8 | on musl, the functionality should remain same as it is immediately | ||
9 | typcasted to struct sockaddr_in* type inside the function before use | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | --- | ||
15 | plugins/fault_injection/socket_interposer.c | 7 ++++++- | ||
16 | 1 file changed, 6 insertions(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/plugins/fault_injection/socket_interposer.c b/plugins/fault_injection/socket_interposer.c | ||
19 | index 53c1ebb..ad7adf8 100644 | ||
20 | --- a/plugins/fault_injection/socket_interposer.c | ||
21 | +++ b/plugins/fault_injection/socket_interposer.c | ||
22 | @@ -100,10 +100,15 @@ socket_interposer_set_callback (struct sockaddr_in *addrin, | ||
23 | } | ||
24 | |||
25 | int | ||
26 | -connect (int socket, const struct sockaddr_in *addrin, socklen_t address_len) | ||
27 | +#if defined(__linux__) && !defined(__GLIBC__) | ||
28 | +connect (int socket, const struct sockaddr *addr, socklen_t address_len) | ||
29 | +#else | ||
30 | +connect (int socket, const struct sockaddr_in *addr, socklen_t address_len) | ||
31 | +#endif | ||
32 | { | ||
33 | size_t i; | ||
34 | int override_errno = 0; | ||
35 | + struct sockaddr_in* addrin = (struct sockaddr_in*)addr; | ||
36 | typedef ssize_t (*real_connect_fn) (int, const struct sockaddr_in *, | ||
37 | socklen_t); | ||
38 | static real_connect_fn real_connect = 0; | ||