Ports: Update libassuan's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:42 +04:30 committed by Ali Mohammad Pur
parent e99a1b5b64
commit 6c24b509e1
3 changed files with 31 additions and 11 deletions

View file

@ -0,0 +1,24 @@
From f5ca6465464e4649a81fa3694e69e71efd3e5f46 Mon Sep 17 00:00:00 2001
From: Gunnar Beutner <gbeutner@serenityos.org>
Date: Wed, 14 Apr 2021 04:32:19 +0200
Subject: [PATCH] Include sys/time.h
---
src/assuan-socket.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/assuan-socket.c b/src/assuan-socket.c
index 97b2312..39079bc 100644
--- a/src/assuan-socket.c
+++ b/src/assuan-socket.c
@@ -34,6 +34,7 @@
#endif
#else
# include <sys/types.h>
+# include <sys/time.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>
--
2.36.1

View file

@ -0,0 +1,7 @@
# Patches for libassuan on SerenityOS
## `0001-Include-sys-time.h.patch`
Include sys/time.h

View file

@ -1,11 +0,0 @@
diff -Naur libassuan-2.5.5/src/assuan-socket.c libassuan-2.5.5.serenity/src/assuan-socket.c
--- libassuan-2.5.5/src/assuan-socket.c 2021-04-14 02:38:16.911542870 +0200
+++ libassuan-2.5.5.serenity/src/assuan-socket.c 2021-04-14 02:37:37.497571703 +0200
@@ -34,6 +34,7 @@
#endif
#else
# include <sys/types.h>
+# include <sys/time.h>
# include <sys/socket.h>
# include <netinet/in.h>
# include <arpa/inet.h>