From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/protobuf/files: protobuf-2.5.0-emacs-24.4.patch |
Date: | Fri, 28 Nov 2014 16:53:16 |
Message-Id: | 20141128165311.DDF2EB190@oystercatcher.gentoo.org |
1 | radhermit 14/11/28 16:53:11 |
2 | |
3 | Added: protobuf-2.5.0-emacs-24.4.patch |
4 | Log: |
5 | Fix build with emacs-24.4 (bug #524100, patch by ulm). |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/protobuf/files/protobuf-2.5.0-emacs-24.4.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/protobuf/files/protobuf-2.5.0-emacs-24.4.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/protobuf/files/protobuf-2.5.0-emacs-24.4.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: protobuf-2.5.0-emacs-24.4.patch |
16 | =================================================================== |
17 | Fix build with emacs-24.4. |
18 | |
19 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845 |
20 | |
21 | --- protobuf-2.5.0/editors/protobuf-mode.el |
22 | +++ protobuf-2.5.0/editors/protobuf-mode.el |
23 | @@ -66,6 +66,10 @@ |
24 | (require 'cc-mode) |
25 | |
26 | (eval-when-compile |
27 | + (and (= emacs-major-version 24) |
28 | + (= emacs-minor-version 4) |
29 | + (null emacs-repository-version) |
30 | + (require 'cl)) |
31 | (require 'cc-langs) |
32 | (require 'cc-fonts)) |