Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/gforth/files: gforth.el-gentoo.patch
Date: Sat, 06 Sep 2008 06:50:41
Message-Id: E1Kbrd0-0002xA-3K@stork.gentoo.org
1 ulm 08/09/06 06:50:38
2
3 Modified: gforth.el-gentoo.patch
4 Log:
5 Use elisp-compile instead of elisp-comp, bug 235576. Fix compile failure with USE=emacs, bug 227523 comment 2.
6 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
7
8 Revision Changes Path
9 1.4 dev-lang/gforth/files/gforth.el-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gforth/files/gforth.el-gentoo.patch?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gforth/files/gforth.el-gentoo.patch?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gforth/files/gforth.el-gentoo.patch?r1=1.3&r2=1.4
14
15 Index: gforth.el-gentoo.patch
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-lang/gforth/files/gforth.el-gentoo.patch,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- gforth.el-gentoo.patch 17 Feb 2006 17:43:35 -0000 1.3
22 +++ gforth.el-gentoo.patch 6 Sep 2008 06:50:37 -0000 1.4
23 @@ -1,7 +1,32 @@
24 -diff -ur gforth-0.6.2.orig/gforth.el gforth-0.6.2/gforth.el
25 ---- gforth-0.6.2.orig/gforth.el 2003-08-05 04:12:47.000000000 -0500
26 -+++ gforth-0.6.2/gforth.el 2006-02-17 11:30:49.000000000 -0600
27 -@@ -1702,6 +1702,6 @@
28 +--- gforth-0.6.2-orig/gforth.el 2003-08-05 11:12:47.000000000 +0200
29 ++++ gforth-0.6.2/gforth.el 2008-09-06 08:29:44.000000000 +0200
30 +@@ -61,9 +61,10 @@
31 + (progn (string-match "^[0-9]+" emacs-version)
32 + (string-to-int (match-string 0 emacs-version)))))
33 +
34 +-(defun forth-emacs-older (major minor)
35 +- (or (< emacs-major-version major)
36 +- (and (= emacs-major-version major) (< emacs-minor-version minor))))
37 ++(eval-when-compile
38 ++ (defun forth-emacs-older (major minor)
39 ++ (or (< emacs-major-version major)
40 ++ (and (= emacs-major-version major) (< emacs-minor-version minor)))))
41 +
42 + ;; Code ripped from `subr.el' for compatability with Emacs versions
43 + ;; prior to 20.1
44 +@@ -79,8 +80,9 @@
45 +
46 + ;; `no-error' argument of require not supported in Emacs versions
47 + ;; prior to 20.4 :-(
48 +-(defun forth-require (feature)
49 +- (condition-case err (require feature) (error nil)))
50 ++(eval-and-compile
51 ++ (defun forth-require (feature)
52 ++ (condition-case err (require feature) (error nil))))
53 +
54 + (require 'font-lock)
55 +
56 +@@ -1702,6 +1704,6 @@
57 (error "No current process. See variable `forth-process-buffer'"))))
58 ) ; (memq 'comint features)
59
60 @@ -9,3 +34,4 @@
61 +(provide 'gforth)
62
63 ;;; gforth.el ends here
64 +