summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-09-13 09:20:28 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-09-13 09:20:28 +0000
commita096e07622b8c35b3419a7f2cd421c6f144eff66 (patch)
tree3e9106da4b0ad788fea864d9fdfe55c333b281e0 /x11-plugins
parentCleanup (diff)
downloadhistorical-a096e07622b8c35b3419a7f2cd421c6f144eff66.tar.gz
historical-a096e07622b8c35b3419a7f2cd421c6f144eff66.tar.bz2
historical-a096e07622b8c35b3419a7f2cd421c6f144eff66.zip
Honour Gentoo LDFLAGS. Closes bug #336753.
Fix buffer overflow. Closes bug #336754. Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmrecord/ChangeLog8
-rw-r--r--x11-plugins/wmrecord/Manifest4
-rw-r--r--x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild10
3 files changed, 16 insertions, 6 deletions
diff --git a/x11-plugins/wmrecord/ChangeLog b/x11-plugins/wmrecord/ChangeLog
index 892c6f7c0e96..aaa3c1a6698b 100644
--- a/x11-plugins/wmrecord/ChangeLog
+++ b/x11-plugins/wmrecord/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmrecord
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/ChangeLog,v 1.9 2009/01/14 15:02:21 s4t4n Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/ChangeLog,v 1.10 2010/09/13 09:20:28 s4t4n Exp $
+
+ 13 Sep 2010; Michele Noberasco <s4t4n@gentoo.org>; wmrecord-1.0.5.3-r1.ebuild:
+ Honour Gentoo LDFLAGS. Closes bug #336753.
+ Fix buffer overflow. Closes bug #336754.
14 Jan 2009; Michele Noberasco <s4t4n@gentoo.org>; wmrecord-1.0.5.3-r1.ebuild:
Prevent auto-stripping of binaries. Closes bug #252112.
diff --git a/x11-plugins/wmrecord/Manifest b/x11-plugins/wmrecord/Manifest
index 0320153e875c..cffe3083eced 100644
--- a/x11-plugins/wmrecord/Manifest
+++ b/x11-plugins/wmrecord/Manifest
@@ -1,5 +1,5 @@
AUX wmrecord.desktop 207 RMD160 a675543a8e55c41c769b1229ebda446a1609715b SHA1 e68478e6c8e60b762bcb90b52c1543c379821b64 SHA256 6a565891555482109c2a934a82c87dc64d925a4730ecd93b439121824bef81c2
DIST wmrecord-1.0.5_20040218_0029.tgz 38594 RMD160 6736784c4260b52a5174fdd28812c86e6e9a474f SHA1 88d60532d3c8615bb0a8c5c76fc62360fcb77f7c SHA256 a3c3ce97733f6770a55e520dc702c1a1a3c53791b77d877898a5da6ff7653ab4
-EBUILD wmrecord-1.0.5.3-r1.ebuild 1123 RMD160 c6745b7b095f9230b6d23c6bfbcca7c76a797e61 SHA1 f7dc4aab20265b6464ca24bfd3328b17baedc3a3 SHA256 6ae1d259eb7231fcbfe46ba47da5b11cb2a7cd5ef706d0309fe4bc323d8f31d5
-MISC ChangeLog 1321 RMD160 155f12238487c94513b76dc6c245a2f46f50eae3 SHA1 3eadb9a60381d53915643b9e9c7556b166e3b095 SHA256 ae10bb71ddf2c363160c5f640354c02c716968fafdc877e57f62b91ce84fd35b
+EBUILD wmrecord-1.0.5.3-r1.ebuild 1365 RMD160 b71b9f28ccb582dae762bc21b9c160431ffe20f9 SHA1 0456817e8edf5e8f278c810112a7fcf9bcf842f8 SHA256 16862bea3b21ef7540d138128f2206c8f614e56fb0fa0a1dac5e133bb7da7c99
+MISC ChangeLog 1492 RMD160 1ea57afaaa89a18112796afccfea3b9e2978c45a SHA1 127d363c3175dd5ba0c8d17208371269aa9557f1 SHA256 294d497e56fb6809023e81d71c27de2a7050c69e8ff76510955e18f54ae9da6c
MISC metadata.xml 165 RMD160 a554e96dc33b1fb4b3518f27a21bf3f59dc21b1c SHA1 674655a4f0fc35c7b3b2e05aab1910c0ebafade1 SHA256 c2f8a0b30c83dba56f0c36a4ba1cb002621ae58dfc13fae94b9db6eb67fb9f1b
diff --git a/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
index 060ff266fae0..23b971d2a4ee 100644
--- a/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
+++ b/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild,v 1.6 2009/01/14 15:02:21 s4t4n Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmrecord/wmrecord-1.0.5.3-r1.ebuild,v 1.7 2010/09/13 09:20:28 s4t4n Exp $
IUSE=""
@@ -26,6 +26,12 @@ src_unpack() {
#prevent auto-stripping of binaries. Closes bug #252112
sed -i 's/install -s -o/install -o/' "${S}/Makefile"
+
+ #Honour Gentoo LDFLAGS. Closes bug #336753.
+ sed -i 's/-o $@ wmrecord.o/$(LDFLAGS) -o $@ wmrecord.o/' "${S}/Makefile"
+
+ #Fix buffer overflow. Closes bug #336754.
+ sed -i 's/sprintf(cse, "000");/snprintf(cse, "000", 3);/' "${S}/wmrecord.c"
}
src_compile() {