summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-08 20:18:54 -0700
committerKhem Raj <raj.khem@gmail.com>2022-04-10 10:05:35 -0700
commit085bfd3601aa0ac0592b4c62e3b9b9ae415b1111 (patch)
tree65e7f315e36f7044d3b966eeef2a0c38d13411f7
parentae60e9869b3ff1425dca70195b19cc24f06e722c (diff)
downloadmeta-openembedded-085bfd3601aa0ac0592b4c62e3b9b9ae415b1111.tar.gz
libotr: Include missing sys/socket.h header
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch31
-rw-r--r--meta-oe/recipes-support/pidgin/libotr_4.1.1.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch b/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch
new file mode 100644
index 0000000000..5b2e14b7b9
--- /dev/null
+++ b/meta-oe/recipes-support/pidgin/libotr/0001-tests-Include-missing-sys-socket.h-header.patch
@@ -0,0 +1,31 @@
1From aa2362e50d54fce8464d85766f5b230bf453c1f0 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 8 Apr 2022 20:15:03 -0700
4Subject: [PATCH] tests: Include missing sys/socket.h header
5
6Helps define
7| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:21: error: use of undeclared identifier 'PF_UNIX'
8| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:30: error: use of undeclared identifier 'SOCK_STREAM'
9| ../../../../libotr-4.1.1/tests/regression/client/client.c:986:20: error: use of undeclared identifier 'AF_UNIX'
10
11Upstream-Status: Pending
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 tests/regression/client/client.c | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c
18index e72b661..e0b3453 100644
19--- a/tests/regression/client/client.c
20+++ b/tests/regression/client/client.c
21@@ -26,6 +26,7 @@
22 #include <stdlib.h>
23 #include <syscall.h>
24 #include <sys/epoll.h>
25+#include <sys/socket.h>
26 #include <sys/types.h>
27 #include <sys/un.h>
28 #include <unistd.h>
29--
302.35.1
31
diff --git a/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb b/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
index d9e0e1caa2..115a6968eb 100644
--- a/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
+++ b/meta-oe/recipes-support/pidgin/libotr_4.1.1.bb
@@ -7,6 +7,7 @@ DEPENDS = "libgcrypt libgpg-error"
7SRC_URI = "http://www.cypherpunks.ca/otr/${BP}.tar.gz \ 7SRC_URI = "http://www.cypherpunks.ca/otr/${BP}.tar.gz \
8 file://fix_qa-issue_include.patch \ 8 file://fix_qa-issue_include.patch \
9 file://sepbuild.patch \ 9 file://sepbuild.patch \
10 file://0001-tests-Include-missing-sys-socket.h-header.patch \
10" 11"
11 12
12SRC_URI[md5sum] = "dac5a8778a35f674c046ddf5d97e4d81" 13SRC_URI[md5sum] = "dac5a8778a35f674c046ddf5d97e4d81"