summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-07-30 09:12:30 +0000
committerUlrich Müller <ulm@gentoo.org>2008-07-30 09:12:30 +0000
commit85ad2b815c9996a8137a5429fee8dd9911c1f570 (patch)
tree986aa9ee3e03a6b49e88c3e05f51a4779bf0305d /app-emacs/slime/files
parentFixup for multilib, bug #233143. (diff)
downloadgentoo-2-85ad2b815c9996a8137a5429fee8dd9911c1f570.tar.gz
gentoo-2-85ad2b815c9996a8137a5429fee8dd9911c1f570.tar.bz2
gentoo-2-85ad2b815c9996a8137a5429fee8dd9911c1f570.zip
Extract date of last update from ChangeLog, fixes bug 233270.
(Portage version: 2.2_rc3/cvs/Linux 2.6.25-gentoo-r6 i686)
Diffstat (limited to 'app-emacs/slime/files')
-rw-r--r--app-emacs/slime/files/slime-changelog-date.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/app-emacs/slime/files/slime-changelog-date.patch b/app-emacs/slime/files/slime-changelog-date.patch
new file mode 100644
index 000000000000..bf816bc771e2
--- /dev/null
+++ b/app-emacs/slime/files/slime-changelog-date.patch
@@ -0,0 +1,17 @@
+--- slime-2.0_p20070816-old/slime.el 2008-07-30 10:37:28.000000000 +0200
++++ slime-2.0_p20070816/slime.el 2008-07-30 10:39:53.000000000 +0200
+@@ -113,13 +113,7 @@
+ (defun slime-changelog-date ()
+ "Return the datestring of the latest entry in the ChangeLog file.
+ Return nil if the ChangeLog file cannot be found."
+- (let ((changelog (concat slime-path "ChangeLog")))
+- (if (file-exists-p changelog)
+- (with-temp-buffer
+- (insert-file-contents changelog nil 0 100)
+- (goto-char (point-min))
+- (symbol-name (read (current-buffer))))
+- nil))))
++ "@SLIME-CHANGELOG-DATE@"))
+
+ (defvar slime-protocol-version nil)
+ (setq slime-protocol-version