patch 9.1.1153: build error on Haiku

Commit: 
https://github.com/vim/vim/commit/dbedc0924d436b7ba2748bd286bb96af7aa0037e
Author: Begasus <bega...@gmail.com>
Date:   Wed Feb 26 22:26:16 2025 +0100

    patch 9.1.1153: build error on Haiku
    
    Problem:  build error on Haiku
    Solution: define XDG_RUNTIME_PATH variables
              (Begasus)
    
    closes: #16737
    
    Signed-off-by: Begasus <bega...@gmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/os_haiku.h b/src/os_haiku.h
index 1977cc146..c9ce8fcf4 100644
--- a/src/os_haiku.h
+++ b/src/os_haiku.h
@@ -26,12 +26,18 @@
 #ifdef RUNTIME_GLOBAL
 # ifdef RUNTIME_GLOBAL_AFTER
 #  define DFLT_RUNTIMEPATH     USR_VIM_DIR "," RUNTIME_GLOBAL ",$VIMRUNTIME," 
RUNTIME_GLOBAL_AFTER "," USR_VIM_DIR "/after"
+#  define XDG_RUNTIMEPATH      "$XDG_CONFIG_HOME/vim," RUNTIME_GLOBAL 
",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER "/after,$XDG_CONFIG_HOME/vim/after"
+#  define XDG_RUNTIMEPATH_FB   "~/config/settings/vim," RUNTIME_GLOBAL 
",$VIMRUNTIME," RUNTIME_GLOBAL_AFTER "/after,~/config/settings/vim/after"
 #  define CLEAN_RUNTIMEPATH    RUNTIME_GLOBAL ",$VIMRUNTIME," 
RUNTIME_GLOBAL_AFTER
 # else
 #  define DFLT_RUNTIMEPATH     USR_VIM_DIR "," RUNTIME_GLOBAL ",$VIMRUNTIME," 
RUNTIME_GLOBAL "/after," USR_VIM_DIR "/after"
+#  define XDG_RUNTIMEPATH      "$XDG_CONFIG_HOME/vim," RUNTIME_GLOBAL 
",$VIMRUNTIME," RUNTIME_GLOBAL "/after,$XDG_CONFIG_HOME/vim/after"
+#  define XDG_RUNTIMEPATH_FB   "~/config/settings/vim," RUNTIME_GLOBAL 
",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/config/settings/vim/after"
 #  define CLEAN_RUNTIMEPATH    RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL 
"/after"
 # endif
 #else
 # define DFLT_RUNTIMEPATH      USR_VIM_DIR 
",$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after," USR_VIM_DIR "/after"
+# define XDG_RUNTIMEPATH       
"$XDG_CONFIG_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$XDG_CONFIG_HOME/vim/after"
+# define XDG_RUNTIMEPATH_FB    
"~/config/settings/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/config/settings/vim/after"
 # define CLEAN_RUNTIMEPATH     "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after"
 #endif
diff --git a/src/version.c b/src/version.c
index b4c50feae..2d2188a87 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1153,
 /**/
     1152,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1tnOyi-00EuXV-Na%40256bit.org.

Raspunde prin e-mail lui