summaryrefslogtreecommitdiff
path: root/Ports/libassuan
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2022-05-16 19:21:42 +0430
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2022-05-19 20:17:10 +0430
commit6c24b509e19a180a7a08b1796daf843aa511a6bd (patch)
tree3635d5cdedae2f40fed0d5f9cbb252e98382ccfc /Ports/libassuan
parente99a1b5b6478dcb164a27fe046e33e5eb5ad3b54 (diff)
downloadserenity-6c24b509e19a180a7a08b1796daf843aa511a6bd.zip
Ports: Update libassuan's patches to use git patches
Diffstat (limited to 'Ports/libassuan')
-rw-r--r--Ports/libassuan/patches/0001-Include-sys-time.h.patch24
-rw-r--r--Ports/libassuan/patches/ReadMe.md7
-rw-r--r--Ports/libassuan/patches/includes.patch11
3 files changed, 31 insertions, 11 deletions
diff --git a/Ports/libassuan/patches/0001-Include-sys-time.h.patch b/Ports/libassuan/patches/0001-Include-sys-time.h.patch
new file mode 100644
index 0000000000..a345cb09a6
--- /dev/null
+++ b/Ports/libassuan/patches/0001-Include-sys-time.h.patch
@@ -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
+
diff --git a/Ports/libassuan/patches/ReadMe.md b/Ports/libassuan/patches/ReadMe.md
new file mode 100644
index 0000000000..f3857f2997
--- /dev/null
+++ b/Ports/libassuan/patches/ReadMe.md
@@ -0,0 +1,7 @@
+# Patches for libassuan on SerenityOS
+
+## `0001-Include-sys-time.h.patch`
+
+Include sys/time.h
+
+
diff --git a/Ports/libassuan/patches/includes.patch b/Ports/libassuan/patches/includes.patch
deleted file mode 100644
index 3cf627fb92..0000000000
--- a/Ports/libassuan/patches/includes.patch
+++ /dev/null
@@ -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>