mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 12:17:36 +00:00
Ports/kakoune: Update kakoune to version e605ad8
This commit is contained in:
parent
3d919b2f8d
commit
e4f373f1e5
5 changed files with 10 additions and 13 deletions
|
@ -8,10 +8,10 @@ Subject: [PATCH] Use /proc/self/exe on SerenityOS
|
|||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/file.cc b/src/file.cc
|
||||
index d38c956..9c74364 100644
|
||||
index 58eb92844051059e66a7f0cc47f70091b821f81f..0531938bf0dd7bf1a8ac3d7be7bec8b629aaabd1 100644
|
||||
--- a/src/file.cc
|
||||
+++ b/src/file.cc
|
||||
@@ -603,7 +603,7 @@ FsStatus get_fs_status(StringView filename)
|
||||
@@ -621,7 +621,7 @@ FsStatus get_fs_status(StringView filename)
|
||||
String get_kak_binary_path()
|
||||
{
|
||||
char buffer[2048];
|
||||
|
@ -20,6 +20,3 @@ index d38c956..9c74364 100644
|
|||
ssize_t res = readlink("/proc/self/exe", buffer, 2048);
|
||||
kak_assert(res != -1);
|
||||
buffer[res] = '\0';
|
||||
--
|
||||
2.37.3
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ Subject: [PATCH] Use bash instead of /bin/sh
|
|||
1 file changed, 5 insertions(+), 38 deletions(-)
|
||||
|
||||
diff --git a/src/shell_manager.cc b/src/shell_manager.cc
|
||||
index 96cfb06..4eb71db 100644
|
||||
index 62a60dc299a2696e6562d85077d7b3fab99fe5d8..6b6f48d932f5031670efff8e4ed67e2e78e25c26 100644
|
||||
--- a/src/shell_manager.cc
|
||||
+++ b/src/shell_manager.cc
|
||||
@@ -34,44 +34,11 @@ namespace Kakoune
|
||||
|
@ -61,6 +61,3 @@ index 96cfb06..4eb71db 100644
|
|||
|
||||
// Add Kakoune binary location to the path to guarantee that %sh{ ... }
|
||||
// have access to the kak command regardless of if the user installed it
|
||||
--
|
||||
2.37.3
|
||||
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
# Patches for Kakoune on SerenityOS
|
||||
# Patches for kakoune on SerenityOS
|
||||
|
||||
## `0001-Use-proc-self-exe-on-SerenityOS.patch`
|
||||
|
||||
Use /proc/self/exe on SerenityOS
|
||||
|
||||
|
||||
## `0002-Use-bash-instead-of-bin-sh.patch`
|
||||
|
||||
Use bash instead of /bin/sh
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue