summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/systemd-mode/files/systemd-mode-1.6-directive-txt-files.patch')
-rw-r--r--app-emacs/systemd-mode/files/systemd-mode-1.6-directive-txt-files.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-emacs/systemd-mode/files/systemd-mode-1.6-directive-txt-files.patch b/app-emacs/systemd-mode/files/systemd-mode-1.6-directive-txt-files.patch
new file mode 100644
index 000000000000..c85d78a10200
--- /dev/null
+++ b/app-emacs/systemd-mode/files/systemd-mode-1.6-directive-txt-files.patch
@@ -0,0 +1,29 @@
+--- a/systemd.el
++++ b/systemd.el
+@@ -89,7 +89,7 @@
+ (insert-file-contents
+ (let ((f "unit-directives.txt"))
+ (if (null load-file-name) f
+- (expand-file-name f (file-name-directory load-file-name)))))
++ (expand-file-name f (file-name-directory "@SITEETC@")))))
+ (split-string (buffer-string))))
+ "Configuration directives for systemd.")
+
+@@ -105,7 +105,7 @@
+ (insert-file-contents
+ (let ((f "network-directives.txt"))
+ (if (null load-file-name) f
+- (expand-file-name f (file-name-directory load-file-name)))))
++ (expand-file-name f (file-name-directory "@SITEETC@")))))
+ (split-string (buffer-string))))
+ "Network configuration directives for systemd.")
+
+@@ -119,7 +119,7 @@
+ (insert-file-contents
+ (let ((f "nspawn-directives.txt"))
+ (if (null load-file-name) f
+- (expand-file-name f (file-name-directory load-file-name)))))
++ (expand-file-name f (file-name-directory "@SITEETC@")))))
+ (split-string (buffer-string))))
+ "Namespace container configuration directives for systemd.")
+