mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:27:45 +00:00
Ports: Add libxml2
This commit is contained in:
parent
60298121d8
commit
93e605e415
4 changed files with 41 additions and 0 deletions
11
Ports/libxml2/patches/config.sub.patch
Normal file
11
Ports/libxml2/patches/config.sub.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- libxml2-2.9.12/config.sub 2021-05-13 20:54:55.000000000 +0200
|
||||
+++ libxml2-2.9.12-patched/config.sub 2021-06-04 14:55:35.184278060 +0200
|
||||
@@ -1360,7 +1360,7 @@
|
||||
| powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
|
||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
- | midnightbsd*)
|
||||
+ | midnightbsd* | serenity*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
qnx*)
|
13
Ports/libxml2/patches/nanohttp.c.patch
Normal file
13
Ports/libxml2/patches/nanohttp.c.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- libxml2-2.9.12/nanohttp.c 2020-07-17 17:18:23.000000000 +0200
|
||||
+++ libxml2-2.9.12-patched/nanohttp.c 2021-06-04 14:56:42.336021798 +0200
|
||||
@@ -121,6 +121,10 @@
|
||||
#define XML_NANO_HTTP_READ 2
|
||||
#define XML_NANO_HTTP_NONE 4
|
||||
|
||||
+#ifndef ESHUTDOWN
|
||||
+#define ESHUTDOWN ENOTCONN
|
||||
+#endif
|
||||
+
|
||||
typedef struct xmlNanoHTTPCtxt {
|
||||
char *protocol; /* the protocol name */
|
||||
char *hostname; /* the host name */
|
Loading…
Add table
Add a link
Reference in a new issue