52c0f128cd
- New URL - Cleanup spec - Add patch to fix emacs compilation with emacs 24.4 - Drop java-fixes patch, use pom macros instead - Add BR on python-google-apputils and mvn(org.easymock:easymock) - Run make check - Make -static require -devel (bug #1067475)
18 lines
409 B
Diff
18 lines
409 B
Diff
Fix build with emacs-24.4.
|
|
|
|
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18845
|
|
|
|
--- protobuf-2.5.0/editors/protobuf-mode.el
|
|
+++ protobuf-2.5.0/editors/protobuf-mode.el
|
|
@@ -66,6 +66,10 @@
|
|
(require 'cc-mode)
|
|
|
|
(eval-when-compile
|
|
+ (and (= emacs-major-version 24)
|
|
+ (>= emacs-minor-version 4)
|
|
+ (null emacs-repository-version)
|
|
+ (require 'cl))
|
|
(require 'cc-langs)
|
|
(require 'cc-fonts))
|
|
|