From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 309F713888F for ; Sun, 11 Oct 2015 13:35:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B78B9E076D; Sun, 11 Oct 2015 13:35:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 565A3E076D for ; Sun, 11 Oct 2015 13:35:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 781633405CF for ; Sun, 11 Oct 2015 13:34:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D705CC9 for ; Sun, 11 Oct 2015 13:34:58 +0000 (UTC) From: "Mats Lidell" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mats Lidell" Message-ID: <1444570469.30283933db509646ea0696c9af807a206275da42.matsl@gentoo> Subject: [gentoo-commits] proj/emacs:master commit in: app-editors/xemacs/files/, app-editors/xemacs/ X-VCS-Repository: proj/emacs X-VCS-Files: app-editors/xemacs/files/xemacs-21.5.34-gcc5.patch app-editors/xemacs/xemacs-21.5.34-r4.ebuild app-editors/xemacs/xemacs-21.5.34-r5.ebuild X-VCS-Directories: app-editors/xemacs/ app-editors/xemacs/files/ X-VCS-Committer: matsl X-VCS-Committer-Name: Mats Lidell X-VCS-Revision: 30283933db509646ea0696c9af807a206275da42 X-VCS-Branch: master Date: Sun, 11 Oct 2015 13:34:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e422c894-787d-4124-94d9-697f3e15a846 X-Archives-Hash: 680d4ecab3b62a0ca2d6999826a33fa4 commit: 30283933db509646ea0696c9af807a206275da42 Author: Mats Lidell gentoo org> AuthorDate: Sun Oct 11 13:34:29 2015 +0000 Commit: Mats Lidell gentoo org> CommitDate: Sun Oct 11 13:34:29 2015 +0000 URL: https://gitweb.gentoo.org/proj/emacs.git/commit/?id=30283933 app-editors/xemacs: Sync with main tree getting gcc5 patch. Package-Manager: portage-2.2.20.1 app-editors/xemacs/files/xemacs-21.5.34-gcc5.patch | 35 ++++++++++++++++++++++ ...-21.5.34-r4.ebuild => xemacs-21.5.34-r5.ebuild} | 20 +++++++------ 2 files changed, 46 insertions(+), 9 deletions(-) diff --git a/app-editors/xemacs/files/xemacs-21.5.34-gcc5.patch b/app-editors/xemacs/files/xemacs-21.5.34-gcc5.patch new file mode 100644 index 0000000..025a390 --- /dev/null +++ b/app-editors/xemacs/files/xemacs-21.5.34-gcc5.patch @@ -0,0 +1,35 @@ +diff --git a/src/lisp.h b/src/lisp.h +--- a/src/lisp.h ++++ b/src/lisp.h +@@ -1154,6 +1154,8 @@ + + /* ------------------------ alignment definitions ------------------- */ + ++#if (!defined (__STDC_VERSION__) || __STDC_VERSION__ < 201112L) && \ ++ (!defined (__cplusplus) || __cplusplus < 201103L) + /* No type has a greater alignment requirement than max_align_t. + (except perhaps for types we don't use, like long double) */ + typedef union +@@ -1163,6 +1165,7 @@ + struct { void (*f)(void); } f; + struct { double d; } d; + } max_align_t; ++#endif + + /* ALIGNOF returns the required alignment of a type -- i.e. a value such + that data of this type must begin at a memory address which is a +@@ -1170,7 +1173,11 @@ + as the type itself. */ + + #ifndef ALIGNOF +-# if defined (__GNUC__) && (__GNUC__ >= 2) ++# if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L ++# define ALIGNOF(type) _Alignof(type) ++# elif defined (__cplusplus) && __cplusplus >= 201103L ++# define ALIGNOF(type) alignof(type) ++# elif defined (__GNUC__) && (__GNUC__ >= 2) + /* gcc has an extension that gives us exactly what we want. */ + # define ALIGNOF(type) __alignof__ (type) + # elif ! defined (__cplusplus) + + diff --git a/app-editors/xemacs/xemacs-21.5.34-r4.ebuild b/app-editors/xemacs/xemacs-21.5.34-r5.ebuild similarity index 93% rename from app-editors/xemacs/xemacs-21.5.34-r4.ebuild rename to app-editors/xemacs/xemacs-21.5.34-r5.ebuild index 1e48191..486bc7c 100644 --- a/app-editors/xemacs/xemacs-21.5.34-r4.ebuild +++ b/app-editors/xemacs/xemacs-21.5.34-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.5.34-r2.ebuild,v 1.1 2014/02/17 21:37:43 ulm Exp $ +# $Id$ # Note: xemacs currently does not work with a hardened profile. If you # want to use xemacs on a hardened profile then compile with the @@ -19,18 +19,19 @@ SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz LICENSE="GPL-3+" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" -IUSE="alsa debug eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" +IUSE="alsa debug eolconv gif gpm pop postgres ldap libressl xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb" X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps" RDEPEND=" - berkdb? ( >=sys-libs/db-4 !!=sys-libs/db-4:= !!=sys-libs/gdbm-1.8.3[berkdb(+)] ) >=sys-libs/zlib-1.1.4 - >=dev-libs/openssl-0.9.6 + !libressl? ( >=dev-libs/openssl-0.9.6:0 ) + libressl? ( dev-libs/libressl ) >=media-libs/audiofile-0.2.3 gpm? ( >=sys-libs/gpm-1.19.6 ) - postgres? ( dev-db/postgresql ) + postgres? ( dev-db/postgresql:= ) ldap? ( net-nds/openldap ) alsa? ( media-libs/alsa-lib ) nas? ( media-libs/nas ) @@ -42,12 +43,12 @@ RDEPEND=" xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 ) neXt? ( x11-libs/neXtaw ) xface? ( media-libs/compface ) - tiff? ( media-libs/tiff ) - png? ( >=media-libs/libpng-1.2 ) - jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff:0 ) + png? ( >=media-libs/libpng-1.2:0 ) + jpeg? ( virtual/jpeg:0 ) canna? ( app-i18n/canna ) freewnn? ( app-i18n/freewnn ) - >=sys-libs/ncurses-5.2 + >=sys-libs/ncurses-5.2:= >=app-eselect/eselect-emacs-1.15" DEPEND="${RDEPEND} @@ -66,6 +67,7 @@ src_prepare() { use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/ find "${S}"/lisp -name '*.elc' -exec rm {} \; || die epatch "${FILESDIR}/${P}-ncurses-tinfo.patch" + epatch "${FILESDIR}/${P}-gcc5.patch" epatch "${FILESDIR}/${P}-destdir.patch" # Some binaries and man pages are installed under suffixed names