Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 639073 Details for
Bug 860431
EUDC can't handle empty last names in BBDB
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix the issue
emacs-bz11580.patch (text/plain), 3.33 KB, created by
Sergio Durigan Junior
on 2012-11-06 04:00:37 UTC
(
hide
)
Description:
Patch to fix the issue
Filename:
MIME Type:
Creator:
Sergio Durigan Junior
Created:
2012-11-06 04:00:37 UTC
Size:
3.33 KB
patch
obsolete
>diff --git a/emacs-bz11580-eudc-bbdb.patch b/emacs-bz11580-eudc-bbdb.patch >new file mode 100644 >index 0000000..98cf4f5 >--- /dev/null >+++ b/emacs-bz11580-eudc-bbdb.patch >@@ -0,0 +1,47 @@ >+From: Sergio Durigan Junior <sergiodj@riseup.net> >+Date: Tue, 02 Oct 2012 05:10:16 +0000 >+Subject: Bugfix for EUDCB-BBDB queries. >+ >+* net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix >+querying BBDB for entries without a last name. >+ >+2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> >+ >+ * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix >+ querying BBDB for entries without a last name (Bug#11580). >+ >+Index: emacs-23.3/lisp/net/eudcb-bbdb.el >+=================================================================== >+--- emacs-23.3.orig/lisp/net/eudcb-bbdb.el >++++ emacs-23.3/lisp/net/eudcb-bbdb.el >+@@ -169,18 +169,18 @@ The record is filtered according to `eud >+ (symbol-name attr))) >+ 'record)))) >+ (t >+- (setq val "Unknown BBDB attribute"))) >+- (if val >+- (cond >+- ((memq attr '(phones addresses)) >+- (setq eudc-rec (append val eudc-rec))) >+- ((and (listp val) >+- (= 1 (length val))) >+- (setq eudc-rec (cons (cons attr (car val)) eudc-rec))) >+- ((> (length val) 0) >+- (setq eudc-rec (cons (cons attr val) eudc-rec))) >+- (t >+- (error "Unexpected attribute value"))))) >++ (error "Unknown BBDB attribute"))) >++ (cond >++ ((or (not val) (equal val ""))) ; do nothing >++ ((memq attr '(phones addresses)) >++ (setq eudc-rec (append val eudc-rec))) >++ ((and (listp val) >++ (= 1 (length val))) >++ (setq eudc-rec (cons (cons attr (car val)) eudc-rec))) >++ ((> (length val) 0) >++ (setq eudc-rec (cons (cons attr val) eudc-rec))) >++ (t >++ (error "Unexpected attribute value")))) >+ (nreverse eudc-rec))) >+ >+ >diff --git a/emacs.spec b/emacs.spec >index ea82f32..7421c30 100644 >--- a/emacs.spec >+++ b/emacs.spec >@@ -3,7 +3,7 @@ Summary: GNU Emacs text editor > Name: emacs > Epoch: 1 > Version: 23.3 >-Release: 10%{?dist} >+Release: 11%{?dist} > License: GPLv3+ > URL: http://www.gnu.org/software/emacs/ > Group: Applications/Editors >@@ -39,6 +39,8 @@ Patch8: emacs-ede-cve-2012-0035.patch > # CVE-2012-3479 emacs: Evaluation of 'eval' forms in file-local > # variable sections, when 'enable-local-variables' set to ':safe' > Patch9: emacs-cve-2012-3479.patch >+# Fix for Emacs bug #11580. >+Patch10: emacs-bz11580-eudc-bbdb.patch > > BuildRequires: atk-devel, cairo-devel, freetype-devel, fontconfig-devel, dbus-devel, giflib-devel, glibc-devel, gtk2-devel, libpng-devel > BuildRequires: libjpeg-devel, libtiff-devel, libX11-devel, libXau-devel, libXdmcp-devel, libXrender-devel, libXt-devel >@@ -162,6 +164,7 @@ packages that add functionality to Emacs. > %patch7 -p1 -b .wm-state-hidden > %patch8 -p1 -b .ede-cve-2012-0035 > %patch9 -p1 -b .cve-2012-3479 >+%patch10 -p1 -b .emacs-bz11580-eudc-bbdb > > # Install site-lisp files > cp %SOURCE7 %SOURCE9 %SOURCE10 site-lisp >@@ -438,6 +441,10 @@ update-desktop-database &> /dev/null || : > %dir %{_datadir}/emacs/site-lisp/site-start.d > > %changelog >+* Tue Nov 06 2012 Sergio Durigan Junior <sergiodj@riseup.net> - 1:23.3-11 >+- Fix for Emacs bug #11580, 'Fix querying BBDB for entries without a last >+ name'. >+ > * Tue Aug 14 2012 Karel KlÃÄ <kklic@redhat.com> - 1:23.3-10 > - CVE-2012-3479 emacs: Evaluation of 'eval' forms in file-local > variable sections, when 'enable-local-variables' set to ':safe'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 860431
: 639073