[emacs-goodies: 3/3] Update to 35.8-2 fixing problems inc ctypes.el

Arun SAG sagarun at fedoraproject.org
Sat Jan 18 18:41:37 UTC 2014


commit 9803cf7de3b8924608ccde0aee2f1494ff7ef84f
Author: Arun S A G <sagarun at gmail.com>
Date:   Sun Jan 19 00:11:26 2014 +0530

    Update to 35.8-2 fixing problems inc ctypes.el

 bug_833103_inhibit-local-variables-regexps.patch |   14 ++++++++++++++
 emacs-goodies.spec                               |    8 +++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/bug_833103_inhibit-local-variables-regexps.patch b/bug_833103_inhibit-local-variables-regexps.patch
new file mode 100644
index 0000000..1bf8023
--- /dev/null
+++ b/bug_833103_inhibit-local-variables-regexps.patch
@@ -0,0 +1,14 @@
+diff -up ./elisp/emacs-goodies-el/ctypes.el.fix ./elisp/emacs-goodies-el/ctypes.el
+--- ./elisp/emacs-goodies-el/ctypes.el.fix	2014-01-18 23:40:59.929608801 +0530
++++ ./elisp/emacs-goodies-el/ctypes.el	2014-01-18 23:40:34.133151130 +0530
+@@ -1446,8 +1446,8 @@ See the function `ctypes-tags'."
+       (skip-chars-forward " \t\n")
+       (and enable-local-variables
+            ;; Don't look for -*- if this file name matches any
+-           ;; of the regexps in inhibit-first-line-modes-regexps.
+-           (let ((temp inhibit-first-line-modes-regexps)
++           ;; of the regexps in inhibit-local-variables-regexps.
++           (let ((temp inhibit-local-variables-regexps)
+                  (name (if buffer-file-name
+                            (file-name-sans-versions buffer-file-name)
+                          (buffer-name))))
diff --git a/emacs-goodies.spec b/emacs-goodies.spec
index 87b78f0..ee034fd 100644
--- a/emacs-goodies.spec
+++ b/emacs-goodies.spec
@@ -6,7 +6,7 @@
 
 Name:		%{pkg}
 Version:	35.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Miscellaneous add on for Emacs
 
 Group:		Applications/Editors
@@ -17,6 +17,8 @@ Source1:	gnus-bonus-init.el
 #Patch which adjusts debian specific information to fedora in texi file
 #Patch is irrelevant to upstream as it is specific to Fedora
 Patch0:		emacs-goodies-el.texi.patch
+# This patch needs to be upstreamed
+Patch1:     bug_833103_inhibit-local-variables-regexps.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:	noarch
@@ -41,6 +43,7 @@ to install this package to use %{pkgname}.
 %{__chmod} 644 COPYING-GPL-v3
 %{__chmod} 644 COPYING-GPL-v2
 %patch0 -p1 -b .fix
+%patch1 -p1 -b .fix
 %{__cp} debian/patches/* .
 while read -r line
 do
@@ -108,6 +111,9 @@ fi
 %{_emacs_sitelispdir}/gnus-bonus/*.el
 
 %changelog
+* Sat Jan 18 2014 Arun S A G <sagarun AT gmail dot com> - 35.8-2
+- Patch problems with ctypes.el Bug#833103
+
 * Sat Dec 21 2013 Arun S A G <sagarun AT gmail dot com> - 35.8-1
 - Update to latest upstream release
 


More information about the scm-commits mailing list