mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:27:45 +00:00
Ports: Update libassuan's patches to use git patches
This commit is contained in:
parent
e99a1b5b64
commit
6c24b509e1
3 changed files with 31 additions and 11 deletions
24
Ports/libassuan/patches/0001-Include-sys-time.h.patch
Normal file
24
Ports/libassuan/patches/0001-Include-sys-time.h.patch
Normal 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
|
||||||
|
|
7
Ports/libassuan/patches/ReadMe.md
Normal file
7
Ports/libassuan/patches/ReadMe.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# Patches for libassuan on SerenityOS
|
||||||
|
|
||||||
|
## `0001-Include-sys-time.h.patch`
|
||||||
|
|
||||||
|
Include sys/time.h
|
||||||
|
|
||||||
|
|
|
@ -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>
|
|
Loading…
Add table
Add a link
Reference in a new issue