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

Ports: Update openssh's patches to use git patches

This commit is contained in:
Ali Mohammad Pur 2022-05-17 21:25:36 +04:30 committed by Ali Mohammad Pur
parent 7077ce7779
commit 6e5509183f
9 changed files with 177 additions and 21 deletions

View file

@ -0,0 +1,27 @@
From 352c627e3896ed1305826a1fa2ece85a70e66fd7 Mon Sep 17 00:00:00 2001
From: Luke <luke.wilde@live.co.uk>
Date: Sat, 26 Sep 2020 08:12:27 -0700
Subject: [PATCH 2/7] Add a missing stdio.h include
---
openbsd-compat/bsd-flock.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/openbsd-compat/bsd-flock.c b/openbsd-compat/bsd-flock.c
index 9b15d1e..bf57389 100644
--- a/openbsd-compat/bsd-flock.c
+++ b/openbsd-compat/bsd-flock.c
@@ -40,6 +40,10 @@
#include <errno.h>
#include <fcntl.h>
+#ifdef __serenity__
+#include <stdio.h>
+#endif
+
int
flock(int fd, int op)
{
--
2.36.1