mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Patch for subversion-1.6.5 to change the default location of the config-dir on Haiku from ~/.subversion to /boot/home/config/settings/subversion
This commit is contained in:
13
dev-util/subversion/subversion-1.6.5-haiku.diff
Normal file
13
dev-util/subversion/subversion-1.6.5-haiku.diff
Normal file
@@ -0,0 +1,13 @@
|
||||
diff -urN subversion-1.6.5/subversion/libsvn_subr/config_impl.h subversion-1.6.5-haiku/subversion/libsvn_subr/config_impl.h
|
||||
--- subversion-1.6.5/subversion/libsvn_subr/config_impl.h 2009-01-27 13:23:50.000000000 +0000
|
||||
+++ subversion-1.6.5-haiku/subversion/libsvn_subr/config_impl.h 2009-09-02 13:43:03.000000000 +0000
|
||||
@@ -109,6 +109,9 @@
|
||||
or svn_config_get_user_config_path() instead. */
|
||||
#ifdef WIN32
|
||||
# define SVN_CONFIG__SUBDIRECTORY "Subversion"
|
||||
+#elif defined __HAIKU__ /* HAIKU */
|
||||
+# define SVN_CONFIG__SYS_DIRECTORY "/boot/common/etc/subversion"
|
||||
+# define SVN_CONFIG__USR_DIRECTORY "/boot/home/config/settings/subversion"
|
||||
#else /* ! WIN32 */
|
||||
# define SVN_CONFIG__SYS_DIRECTORY "/etc/subversion"
|
||||
# define SVN_CONFIG__USR_DIRECTORY ".subversion"
|
||||
Reference in New Issue
Block a user