From 2d93e83b0a210f849eb8486a1e12e31a0f8517d3 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mon, 11 Apr 2016 12:38:03 +0200 Subject: [PATCH] eww form submission fails in google search (#1325639) Also, since I messed up versioning in the previous commit, bump release to 10. It should be 8, because the last built package was 7, but it would make the changelog look inconsistent. Resolves: #1325639 --- emacs-eww-submit.patch | 11 +++++++++++ emacs.spec | 8 +++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 emacs-eww-submit.patch diff --git a/emacs-eww-submit.patch b/emacs-eww-submit.patch new file mode 100644 index 0000000..33f095e --- /dev/null +++ b/emacs-eww-submit.patch @@ -0,0 +1,11 @@ +--- a/lisp/net/eww.el 2016-04-11 12:30:43.233531429 +0200 ++++ b/lisp/net/eww.el 2015-04-02 09:23:06.000000000 +0200 +@@ -1001,7 +1001,7 @@ + (when (and (consp elem) + (eq (car elem) 'hidden)) + (push (cons (plist-get (cdr elem) :name) +- (plist-get (cdr elem) :value)) ++ (or (plist-get (cdr elem) :value) "")) + values))) + (if (and (stringp (cdr (assq :method form))) + (equal (downcase (cdr (assq :method form))) "post")) diff --git a/emacs.spec b/emacs.spec index 40f5663..4348297 100644 --- a/emacs.spec +++ b/emacs.spec @@ -5,7 +5,7 @@ Summary: GNU Emacs text editor Name: emacs Epoch: 1 Version: 24.5 -Release: 7%{?dist} +Release: 10%{?dist} License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs/ Group: Applications/Editors @@ -33,6 +33,8 @@ Patch6: emacs-mercurial.patch # http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=439f483be35a000e7a3bec6acf395ce4d54d6323 # http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9c86325b69d75e9b17ff468f5a2220597979635f Patch7: emacs-gdb-ascii.patch +# http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cc6340495d3ec78dea0b906dccfea90973fbeb12 +Patch8: emacs-eww-submit.patch BuildRequires: atk-devel BuildRequires: cairo-devel @@ -198,6 +200,7 @@ packages that add functionality to Emacs. %patch5 -p1 -b .bbdb %patch6 -p1 %patch7 -p1 +%patch8 -p1 autoconf # We prefer our emacs.desktop file @@ -487,6 +490,9 @@ update-desktop-database &> /dev/null || : %dir %{_datadir}/emacs/site-lisp/site-start.d %changelog +* Mon Apr 11 2016 Jan Synáček - 1:24.5-10 +- eww form submission fails in google search (#1325639) + * Tue Feb 2 2016 Jan Synáček - 1:24.5-9 - emacs "deadlocked" after using mercurial with huge amounts of ignored files in the repository (#1232422) - GDB interface gets confused by non-ASCII (#1283412)