summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/edb/files')
-rw-r--r--app-emacs/edb/files/50edb-gentoo.el4
-rw-r--r--app-emacs/edb/files/edb-1.31-skram-path.patch11
2 files changed, 15 insertions, 0 deletions
diff --git a/app-emacs/edb/files/50edb-gentoo.el b/app-emacs/edb/files/50edb-gentoo.el
new file mode 100644
index 000000000000..a2670b65ba31
--- /dev/null
+++ b/app-emacs/edb/files/50edb-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'db-find-file "database" "EDB database package" t)
+(autoload 'edb-interact "database" "EDB database package" t)
+(defalias 'edb-EXPERIMENTAL-interact 'edb-interact)
diff --git a/app-emacs/edb/files/edb-1.31-skram-path.patch b/app-emacs/edb/files/edb-1.31-skram-path.patch
new file mode 100644
index 000000000000..75921ca00160
--- /dev/null
+++ b/app-emacs/edb/files/edb-1.31-skram-path.patch
@@ -0,0 +1,11 @@
+--- edb-1.31-orig/skram/GNUmakefile.in
++++ edb-1.31/skram/GNUmakefile.in
+@@ -48,7 +48,7 @@
+ #
+ # Until that change is distributed, here is a workaround:
+ wily-emacs = $(ebatch) \
+- --eval '(add-to-list (quote load-path) (expand-file-name "$(topdir)"))' \
++ --eval '(add-to-list (quote load-path) (expand-file-name "$(topdir)/lisp"))' \
+ --eval '(require (quote database))'
+
+ sk2: skram.data