mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:47:45 +00:00
Ports: Regenerate patches for bash
This commit is contained in:
parent
ae94825cf6
commit
bbd4343b31
3 changed files with 32 additions and 13 deletions
26
Ports/bash/patches/0001-accept.c-Include-sys-select.h.patch
Normal file
26
Ports/bash/patches/0001-accept.c-Include-sys-select.h.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
From 90287ce0f011bb46c082a5e176114c831a6f32e1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Luke <luke.wilde@live.co.uk>
|
||||||
|
Date: Fri, 14 Jan 2022 16:43:10 +0330
|
||||||
|
Subject: [PATCH] accept.c: Include sys/select.h
|
||||||
|
|
||||||
|
This is transitively pulled in by other headers in some systems,
|
||||||
|
serenity is not one of them.
|
||||||
|
---
|
||||||
|
examples/loadables/accept.c | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/examples/loadables/accept.c b/examples/loadables/accept.c
|
||||||
|
index 54cf38c..fd8e7ed 100644
|
||||||
|
--- a/examples/loadables/accept.c
|
||||||
|
+++ b/examples/loadables/accept.c
|
||||||
|
@@ -35,6 +35,7 @@
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
+#include <sys/select.h>
|
||||||
|
|
||||||
|
#include "loadables.h"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
# Patches for bash
|
# Patches for bash on SerenityOS
|
||||||
|
|
||||||
## `include-sys-select.patch`
|
## `0001-accept.c-Include-sys-select.h.patch`
|
||||||
|
|
||||||
|
accept.c: Include sys/select.h
|
||||||
|
This is transitively pulled in by other headers in some systems,
|
||||||
|
serenity is not one of them.
|
||||||
|
|
||||||
Include `<sys/select.h>` before using it.
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
--- bash-5.1.8.serenity/examples/loadables/accept.c 2020-03-18 12:58:36.000000000 +0000
|
|
||||||
+++ bash-5.1.8/examples/loadables/accept.c 2021-07-29 17:11:26.258287156 +0100
|
|
||||||
@@ -35,6 +35,7 @@
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
+#include <sys/select.h>
|
|
||||||
|
|
||||||
#include "loadables.h"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue