[packages/leafpad] - fix build with -Werror=format-security, release 2

hawk hawk at pld-linux.org
Thu Aug 8 11:02:40 CEST 2013


commit a0c38cabbbb0c593634789913fafeab898b5347b
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Thu Aug 8 09:02:10 2013 +0000

    - fix build with -Werror=format-security, release 2

 leafpad.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/leafpad.spec b/leafpad.spec
index 50c18a4..6e40c8a 100644
--- a/leafpad.spec
+++ b/leafpad.spec
@@ -2,11 +2,12 @@ Summary:	GTK+2 based notepad clone
 Summary(pl.UTF-8):	Klon notepada oparty na GTK+
 Name:		leafpad
 Version:	0.8.18.1
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Editors
 Source0:	http://savannah.nongnu.org/download/leafpad/%{name}-%{version}.tar.gz
 # Source0-md5:	254a72fc67505e3aa52884c729cd7b97
+Patch0:		%{name}-werror.patch
 URL:		http://tarot.freeshell.org/leafpad/
 BuildRequires:	automake
 BuildRequires:	gtk+2-devel >= 1:2.0.0
@@ -25,6 +26,7 @@ Interfejs użytkownika jest podobny do programu "notepad".
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 cp /usr/share/automake/config.sub .
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/leafpad.git/commitdiff/a0c38cabbbb0c593634789913fafeab898b5347b



More information about the pld-cvs-commit mailing list