Bug 182326 - app-editors/emacs-cvs-23.0.0-r6 emerge fails due to redundant patch
Bug#: 182326 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: emacs@gentoo.org Reported By: denis.zalewsky@gmail.com
Component: Ebuilds
URL: 
Summary: app-editors/emacs-cvs-23.0.0-r6 emerge fails due to redundant patch
Keywords:  
Status Whiteboard: 
Opened: 2007-06-17 13:46 0000
Description:   Opened: 2007-06-17 13:46 0000
app-editors/emacs-cvs-23.0.0-r6 ebuild contains patch to add support for Xaw3d
only in the case HAVE_XAW3D defined. Now this changes has been incorporated to
emacs CVS repository and not required causing emerge to fail.

Reproducible: Always

Steps to Reproduce:
1. emerge =emacs-cvs-23.0.0-r6
2.
3.

Actual Results:  
emerge fails

Expected Results:  
emerge is ok

The following patch fixes it:

-------------------------------------------

diff --unified=3 -P -r a/emacs-cvs-23.0.0-r6.ebuild
b/emacs-cvs-23.0.0-r6.ebuild
--- a/emacs-cvs-23.0.0-r6.ebuild        2007-06-17 17:35:42.000000000 +0400
+++ b/emacs-cvs-23.0.0-r6.ebuild        2007-06-17 17:35:28.000000000 +0400
@@ -86,7 +86,6 @@
                        || die "unable to sed configure.in"
        fi

-       epatch "${FILESDIR}/${PN}-Xaw3d-headers.patch"
        epatch "${FILESDIR}/${PN}-freebsd-sparc.patch"
        # ALSA is detected and used even if not requested by the USE=alsa flag.
        # So remove the automagic check
Only in a/files: emacs-cvs-Xaw3d-headers.patch

------- Comment #1 From Denis Zalewsky 2007-06-17 13:48:29 0000 -------
Created an attachment (id=122323) [details]
fixes the issue

this patch fixes the issue removing patching of the emacs cvs sources with
emacs-cvs-Xaw3d-headers.patch

------- Comment #2 From Denis Zalewsky 2007-06-17 13:53:13 0000 -------
fix exists but should be incorporated to portage

------- Comment #3 From Ulrich Müller 2007-06-17 14:52:07 0000 -------
Fixed. Thanks for reporting.