1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:37:34 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -1,67 +1,67 @@
# Patches for glib on SerenityOS
## `0001-poll.h-is-located-at-root.patch`
## `0001-poll.h-is-located-at-root-not-sys-poll.h.patch`
meson.build: 'poll.h' is located at root, not 'sys/poll.h'
'poll.h' is located at root, not 'sys/poll.h'
## `0002-use-glib-in-built-C_IN.patch`
## `0002-Use-glib-s-in-built-C_IN.patch`
gio/meson.build: Use glib's in-built C_IN
Use glib's in-built C_IN
Since we do not have C_IN and glib has functionality for providing it,
let glib provide it.
## `0003-let-glib-know-where-our-resolv.h-is.patch`
## `0003-Let-glib-know-where-our-resolv.h-is-located.patch`
gio/meson.build: Let glib know where our 'resolv.h' is located
Let glib know where our 'resolv.h' is located
## `0004-disable-IPV6-support.patch`
## `0004-Disable-IPV6-support.patch`
meson.build: Disable IPV6 support
Disable IPV6 support
Serenity does not have IPV6 support so disable it
## `0005-serenity-does-not-have-IN_MULTICAST.patch`
## `0005-Serenity-does-not-have-IN_MULTICAST-just-return-0.patch`
gio/ginetaddress.c: Serenity does not have IN_MULTICAST, just return 0
Serenity does not have IN_MULTICAST, just return 0
Since Serenity does not have IN_MULTICAST we just return 0
## `0006-conflict-rename-gio-mount-function.patch`
## `0006-Rename-glib-gio-mount-function-to-gio_mount.patch`
gio/gio-tool-mount.c: Rename glib/gio mount function to gio_mount
Rename glib/gio mount function to gio_mount
Somehow glib picks up on Serenity's mount function and gets confused
## `0009-include-section-with-missing-functionality.patch`
## `0007-Include-arpa-compatibility-definitions.patch`
gio/gthredresolver.c: Need to include this section
Include arpa compatibility definitions
Serenity is missing all that is defined in this section so let's
include it.
## `0010-stub-for-function-dn_expand.patch`
## `0008-Add-stub-for-function-dn_expand.patch`
gio/gthreadedresolver.c: Add stub for function dn_expand.
Add stub for function dn_expand.
Serenity is missing dn_expand so include a stub for it
## `0011-ntohl-ntohs-located-in-arpa-inet.h.patch`
## `0009-ntohl-ntohs-is-located-in-arpa-inet.h.patch`
gio/xdgmime/xdgmimecache.c: ntohl/ntohs is located in 'arpa/inet.h'
ntohl/ntohs is located in 'arpa/inet.h'
In Serenity ntohl/ntohs is located in arpa/inet.h, other stuff glib
needs is included in 'netinet/in.h'.
## `0012-include-strings.h-for-strcasecmp.patch`
## `0010-Include-strings.h-for-strcasecmp.patch`
Include 'strings.h' for strcasecmp
## `0013-nameser.h-is-not-needed.patch`
## `0011-Exclude-arpa-nameser.h-as-it-does-not-exist-on-Seren.patch`
arpa/nameser.h is not needed, and Serenity does not have it at the moment.
Exclude arpa/nameser.h as it does not exist on Serenity