mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 01:27:34 +00:00
Ports: Update cfunge's patches to use git patches
This commit is contained in:
parent
b321d2b563
commit
83aa5dcbf6
9 changed files with 117 additions and 50 deletions
25
Ports/cfunge/patches/0004-Define-_POSIX_REGEXP.patch
Normal file
25
Ports/cfunge/patches/0004-Define-_POSIX_REGEXP.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
From 0e1b34946cdc2b4360d9a44f7f44cb5c743a9a78 Mon Sep 17 00:00:00 2001
|
||||
From: Tobias Christiansen <tobyase@serenityos.org>
|
||||
Date: Thu, 24 Mar 2022 15:41:48 +0100
|
||||
Subject: [PATCH 4/4] Define _POSIX_REGEXP
|
||||
|
||||
Serenity's libc does have regex.
|
||||
---
|
||||
src/fingerprints/REXP/REXP.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/fingerprints/REXP/REXP.c b/src/fingerprints/REXP/REXP.c
|
||||
index c208078..88616b2 100644
|
||||
--- a/src/fingerprints/REXP/REXP.c
|
||||
+++ b/src/fingerprints/REXP/REXP.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
+#define _POSIX_REGEXP 1
|
||||
#if !defined(_POSIX_REGEXP) || (_POSIX_REGEXP < 1)
|
||||
# error "cfunge needs POSIX regular expressions, which this system claims it doesn't have."
|
||||
#endif
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue