tristan     14/09/13 21:53:07

  Modified:             ChangeLog leafpad-0.8.18.1.ebuild
  Log:
  Fix building with -Werror=format-security, bug #521022
  
  (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 
0xB3312CFDCF34A31F!)

Revision  Changes    Path
1.34                 app-editors/leafpad/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/ChangeLog?rev=1.34&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/ChangeLog?rev=1.34&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/ChangeLog?r1=1.33&r2=1.34

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/leafpad/ChangeLog,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- ChangeLog   13 Sep 2012 21:14:54 -0000      1.33
+++ ChangeLog   13 Sep 2014 21:53:07 -0000      1.34
@@ -1,6 +1,10 @@
 # ChangeLog for app-editors/leafpad
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/leafpad/ChangeLog,v 1.33 
2012/09/13 21:14:54 ssuominen Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/leafpad/ChangeLog,v 1.34 
2014/09/13 21:53:07 tristan Exp $
+
+  13 Sep 2014; Tristan Heaven <tris...@gentoo.org> leafpad-0.8.18.1.ebuild,
+  +files/leafpad-0.8.18.1-format-security.patch:
+  Fix building with -Werror=format-security, bug #521022
 
   13 Sep 2012; Samuli Suominen <ssuomi...@gentoo.org> leafpad-0.8.18.1.ebuild,
   +files/leafpad-0.8.18.1-fdo.patch:



1.6                  app-editors/leafpad/leafpad-0.8.18.1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild?rev=1.6&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild?rev=1.6&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild?r1=1.5&r2=1.6

Index: leafpad-0.8.18.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- leafpad-0.8.18.1.ebuild     13 Sep 2012 21:14:54 -0000      1.5
+++ leafpad-0.8.18.1.ebuild     13 Sep 2014 21:53:07 -0000      1.6
@@ -1,18 +1,18 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: 
/var/cvsroot/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild,v 1.5 
2012/09/13 21:14:54 ssuominen Exp $
+# $Header: 
/var/cvsroot/gentoo-x86/app-editors/leafpad/leafpad-0.8.18.1.ebuild,v 1.6 
2014/09/13 21:53:07 tristan Exp $
 
-EAPI=4
+EAPI=5
 inherit eutils fdo-mime gnome2-utils
 
-DESCRIPTION="Legacy (stable) release of the GTK+ 2.x based codebase"
+DESCRIPTION="A simple GTK2 text editor"
 HOMEPAGE="http://tarot.freeshell.org/leafpad/";
 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
-LICENSE=GPL-2
-SLOT=0
+LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x86-interix ~amd64-linux ~x86-linux"
-IUSE=emacs
+IUSE="emacs"
 
 RDEPEND="virtual/libintl
        x11-libs/gtk+:2"
@@ -24,13 +24,28 @@
 DOCS="AUTHORS ChangeLog NEWS README"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-fdo.patch
+       epatch \
+               "${FILESDIR}"/${P}-fdo.patch \
+               "${FILESDIR}"/${P}-format-security.patch
 }
 
 src_configure() {
-       econf --enable-chooser --enable-print $(use_enable emacs)
+       econf \
+               --enable-chooser \
+               --enable-print \
+               $(use_enable emacs)
 }
 
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }
-pkg_postrm() { fdo-mime_desktop_database_update; gnome2_icon_cache_update; }
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       fdo-mime_desktop_database_update
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       fdo-mime_desktop_database_update
+       gnome2_icon_cache_update
+}




Reply via email to