mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Update vim to 9.2.1192
This commit is contained in:
1 parent
95ef75d8a9
commit
ddf11afbbe
4 files changed
+49
-5
No files matched your search
@@ -353,7 +353,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`tuxracer`](tuxracer/) | Tux Racer | 0.61 | http://tuxracer.sourceforge.net/ |
|
||||
| [`unibilium`](unibilium/) | Unibilium | 2.1.4 | https://github.com/neovim/unibilium |
|
||||
| [`utf8proc`](utf8proc/) | utf8proc | 2.12.0 | https://juliastrings.github.io/utf8proc/ |
|
||||
| [`vim`](vim/) | Vim | 8.2.5056 | https://www.vim.org/ |
|
||||
| [`vim`](vim/) | Vim | 9.2.1192 | https://www.vim.org/ |
|
||||
| [`vitetris`](vitetris/) | vitetris | 0.59.1 | https://github.com/vicgeralds/vitetris |
|
||||
| [`vlang`](vlang/) | V programming language | weekly.2021.31 | https://github.com/vlang/v |
|
||||
| [`vttest`](vttest/) | vttest | 20251205 | https://invisible-island.net/vttest/ |
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=vim
|
||||
version=8.2.5056
|
||||
workdir="${port}-${version}"
|
||||
port='vim'
|
||||
version='9.2.1192'
|
||||
useconfigure="true"
|
||||
files=(
|
||||
"https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz#2a7ed006ba7c6af3210525606444a9c4bd45efb467e9df045eabc5a09bc428f9"
|
||||
"https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz#67af05d8ca13519e7cb32eafed3e9e78f0a71b2c984b2889b4b807e7937dad21"
|
||||
)
|
||||
configopts=("--with-tlib=tinfo" "--with-features=huge" "CFLAGS=-std=c17")
|
||||
depends=("ncurses" "gettext")
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Linus Groh <[email protected]>
|
||||
Date: Thu, 15 Oct 2026 09:23:47 +0200
|
||||
Subject: [PATCH] Stub out FEAT_RELTIME timeouts
|
||||
|
||||
This is only used for redraw and search timeouts anyway.
|
||||
---
|
||||
src/os_unix.c | 16 ++++++++++++++++
|
||||
1 file changed, 16 insertions(+)
|
||||
|
||||
diff --git a/src/os_unix.c b/src/os_unix.c
|
||||
index efd32b7aae4a3c36af783212b9420add76afa384..30e3300e97190b812be7c33610d6ada98a334710 100644
|
||||
--- a/src/os_unix.c
|
||||
+++ b/src/os_unix.c
|
||||
@@ -8910,6 +8910,22 @@ delete_timer(void)
|
||||
timer_created = FALSE;
|
||||
}
|
||||
|
||||
+# elif defined(__serenity__)
|
||||
+
|
||||
+static volatile sig_atomic_t timeout_flag = FALSE;
|
||||
+
|
||||
+ void
|
||||
+stop_timeout(void)
|
||||
+{
|
||||
+}
|
||||
+
|
||||
+ volatile sig_atomic_t *
|
||||
+start_timeout(long msec)
|
||||
+{
|
||||
+ (void)msec;
|
||||
+ return &timeout_flag;
|
||||
+}
|
||||
+
|
||||
# else // PROF_NSEC
|
||||
|
||||
/*
|
||||
@@ -0,0 +1,8 @@
|
||||
# Patches for vim on SerenityOS
|
||||
|
||||
## `0001-Stub-out-FEAT_RELTIME-timeouts.patch`
|
||||
|
||||
Stub out FEAT_RELTIME timeouts
|
||||
|
||||
This is only used for redraw and search timeouts anyway.
|
||||
|
||||
Reference in new issue
Block a user