1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

Ports: Update mruby's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 19:21:55 +04:30 committed by Ali Mohammad Pur
parent 37857a629d
commit a2402faaf3
4 changed files with 54 additions and 12 deletions

View file

@ -0,0 +1,24 @@
From 2570626cb58a59e45251dffa409547919dc23df2 Mon Sep 17 00:00:00 2001
From: Dante Catalfamo <dante.catalfamo@gmail.com>
Date: Fri, 20 Aug 2021 00:38:31 -0400
Subject: [PATCH 1/2] Include sys/select.h
---
mrbgems/mruby-io/src/io.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/mrbgems/mruby-io/src/io.c b/mrbgems/mruby-io/src/io.c
index 0469c05..0dae6ca 100644
--- a/mrbgems/mruby-io/src/io.c
+++ b/mrbgems/mruby-io/src/io.c
@@ -49,6 +49,7 @@
#include <sys/wait.h>
#include <sys/time.h>
#include <unistd.h>
+ #include <sys/select.h>
typedef size_t fsize_t;
typedef time_t ftime_t;
typedef suseconds_t fsuseconds_t;
--
2.36.1