Ports: Update vitetris' patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-16 23:54:04 +04:30 committed by Ali Mohammad Pur
parent 4e979feb6e
commit 73f92f49c2
3 changed files with 29 additions and 10 deletions

View file

@ -0,0 +1,22 @@
From 8b105bbc4c407b78d264054d74c96db093859c51 Mon Sep 17 00:00:00 2001
From: Jaan <jaan_veersoo@hotmail.com>
Date: Sat, 20 Mar 2021 23:34:53 +0200
Subject: [PATCH] Add a missing sys/time.h include
---
src/input/select.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/input/select.h b/src/input/select.h
index 093bb77..48aad37 100644
--- a/src/input/select.h
+++ b/src/input/select.h
@@ -1,4 +1,5 @@
#include "../config.h"
+#include <sys/time.h>
#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#elif __DJGPP__
--
2.36.1

View file

@ -0,0 +1,7 @@
# Patches for vitetris on SerenityOS
## `0001-Add-a-missing-sys-time.h-include.patch`
Add a missing sys/time.h include

View file

@ -1,10 +0,0 @@
diff --git a/src/input/select.h b/src/input/select.h
index 093bb77..48aad37 100644
--- a/src/input/select.h
+++ b/src/input/select.h
@@ -1,4 +1,5 @@
#include "../config.h"
+#include <sys/time.h>
#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#elif __DJGPP__