mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Ports: Format patches without numbering, commit hash or version number
This commit is contained in:
parent
d69a79b03b
commit
d426c5a4b2
371 changed files with 806 additions and 1884 deletions
|
@ -0,0 +1,27 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Kenneth Myhra <kennethmyhra@gmail.com>
|
||||
Date: Thu, 12 Aug 2021 20:56:26 +0200
|
||||
Subject: [PATCH] Add stub for function dn_expand.
|
||||
|
||||
Serenity is missing dn_expand so include a stub for it
|
||||
---
|
||||
gio/gthreadedresolver.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/gio/gthreadedresolver.c b/gio/gthreadedresolver.c
|
||||
index 3a48b27..8d51967 100644
|
||||
--- a/gio/gthreadedresolver.c
|
||||
+++ b/gio/gthreadedresolver.c
|
||||
@@ -462,6 +462,12 @@ typedef struct {
|
||||
|
||||
/* From bionic/libc/private/resolv_private.h */
|
||||
int dn_expand(const u_char *, const u_char *, const u_char *, char *, int);
|
||||
+#ifdef __serenity__
|
||||
+int dn_expand(const u_char *, const u_char *, const u_char *, char *, int)
|
||||
+{
|
||||
+ return 0;
|
||||
+}
|
||||
+#endif
|
||||
#define dn_skipname __dn_skipname
|
||||
int dn_skipname(const u_char *, const u_char *);
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue