added my Recipes
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
From aa2362e50d54fce8464d85766f5b230bf453c1f0 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 8 Apr 2022 20:15:03 -0700
|
||||
Subject: [PATCH] tests: Include missing sys/socket.h header
|
||||
|
||||
Helps define
|
||||
| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:21: error: use of undeclared identifier 'PF_UNIX'
|
||||
| ../../../../libotr-4.1.1/tests/regression/client/client.c:979:30: error: use of undeclared identifier 'SOCK_STREAM'
|
||||
| ../../../../libotr-4.1.1/tests/regression/client/client.c:986:20: error: use of undeclared identifier 'AF_UNIX'
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tests/regression/client/client.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c
|
||||
index e72b661..e0b3453 100644
|
||||
--- a/tests/regression/client/client.c
|
||||
+++ b/tests/regression/client/client.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <syscall.h>
|
||||
#include <sys/epoll.h>
|
||||
+#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/un.h>
|
||||
#include <unistd.h>
|
||||
--
|
||||
2.35.1
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
libotr: Fix QA-issue where also files from buildhost would be included
|
||||
|
||||
Warning was:
|
||||
cc1: warning: include location "/usr/include" is unsafe for
|
||||
cross-compilation [-Wpoison-system-directories]
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Jakob Drexel <jake42@rommel.stw.uni-erlangen.de>
|
||||
|
||||
--- a/toolkit/Makefile.am 2012-05-03 15:52:22.000000000 +0200
|
||||
+++ b/toolkit/Makefile.am 2014-01-13 12:12:26.030369357 +0100
|
||||
@@ -1,4 +1,4 @@
|
||||
-AM_CPPFLAGS = -I$(includedir) -I../src @LIBGCRYPT_CFLAGS@
|
||||
+AM_CPPFLAGS = -I../src @LIBGCRYPT_CFLAGS@
|
||||
|
||||
noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
Fix builds with ${B} != ${S}
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
RP 2014/7/17
|
||||
|
||||
Index: libotr-4.0.0/toolkit/Makefile.am
|
||||
===================================================================
|
||||
--- libotr-4.0.0.orig/toolkit/Makefile.am 2014-07-16 18:09:59.777858022 +0000
|
||||
+++ libotr-4.0.0/toolkit/Makefile.am 2014-07-17 06:28:51.359066155 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-AM_CPPFLAGS = -I../src @LIBGCRYPT_CFLAGS@
|
||||
+AM_CPPFLAGS = -I$(top_srcdir)/src @LIBGCRYPT_CFLAGS@
|
||||
|
||||
noinst_HEADERS = aes.h ctrmode.h parse.h sesskeys.h readotr.h sha1hmac.h
|
||||
|
||||
Reference in New Issue
Block a user