summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2004-07-20 19:19:27 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2004-07-20 19:19:27 +0000
commit48d470e3c6d8c0a4ea7de9c3a2ba43d077524b3e (patch)
treecb167a7802d4b2fc1a37e93e1b9194d0ed6a2249 /x11-plugins/wmpinboard
parentdev-python/PyXML-py21 is now dev-python/pyxml-py21 - remove old ebuilds. (diff)
downloadhistorical-48d470e3c6d8c0a4ea7de9c3a2ba43d077524b3e.tar.gz
historical-48d470e3c6d8c0a4ea7de9c3a2ba43d077524b3e.tar.bz2
historical-48d470e3c6d8c0a4ea7de9c3a2ba43d077524b3e.zip
Add a patch to x11-plugins/wmpinboard 1.0 so that it does not segfault when adding a new note. Closes #43369
Diffstat (limited to 'x11-plugins/wmpinboard')
-rw-r--r--x11-plugins/wmpinboard/ChangeLog5
-rw-r--r--x11-plugins/wmpinboard/Manifest5
-rw-r--r--x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch11
-rw-r--r--x11-plugins/wmpinboard/wmpinboard-1.0.ebuild18
4 files changed, 32 insertions, 7 deletions
diff --git a/x11-plugins/wmpinboard/ChangeLog b/x11-plugins/wmpinboard/ChangeLog
index 816344e8f25e..a0f5d659fc3b 100644
--- a/x11-plugins/wmpinboard/ChangeLog
+++ b/x11-plugins/wmpinboard/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-plugins/wmpinboard
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpinboard/ChangeLog,v 1.9 2004/06/24 23:15:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpinboard/ChangeLog,v 1.10 2004/07/20 19:19:27 s4t4n Exp $
+
+ 20 Jul 2004; Michele Noberasco <s4t4n@gentoo.org> wmpinboard-1.0.ebuild:
+ Added patch to fix segfault when adding a new note. Closes #43369.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> wmpinboard-1.0.ebuild:
Add die following econf for bug 48950
diff --git a/x11-plugins/wmpinboard/Manifest b/x11-plugins/wmpinboard/Manifest
index 6c1c5edf45b9..db75e20b165b 100644
--- a/x11-plugins/wmpinboard/Manifest
+++ b/x11-plugins/wmpinboard/Manifest
@@ -1,4 +1,5 @@
-MD5 192e3fe3a9121f2a8d60cfccfefdd2d1 wmpinboard-1.0.ebuild 683
-MD5 a1a44923c0ee24c6c7f048e69031f400 ChangeLog 899
+MD5 ddfb56c0e2e1880c53e31476c9a17714 wmpinboard-1.0.ebuild 785
+MD5 55ee491133d49aa969e55bcf77121359 ChangeLog 1042
MD5 62ba71d3b2fa785a4cbd5d47fdbd0eb6 metadata.xml 165
+MD5 b7532acbb5f32e091d85cf67e343fd30 files/wmpinboard-1.0-segfault.patch 320
MD5 45429fba57096382c86e58733f1f0385 files/digest-wmpinboard-1.0 67
diff --git a/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch b/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch
new file mode 100644
index 000000000000..7d2c94458b52
--- /dev/null
+++ b/x11-plugins/wmpinboard/files/wmpinboard-1.0-segfault.patch
@@ -0,0 +1,11 @@
+--- src/wmpinboard.c 2000-04-13 13:01:17.000000000 +0200
++++ src/wmpinboard.c 2003-03-06 19:29:57.000000000 +0100
+@@ -165,7 +165,7 @@
+ char t[STRING_BUF_SIZE];
+ FILE *file;
+ int pid = (int) getpid();
+- static int sizes[6];
++ static int sizes[7];
+ sizes[0] = size_0;
+ sizes[1] = size_1;
+ sizes[2] = size_2;
diff --git a/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild b/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild
index e61b4810ee66..cd8cce40f85d 100644
--- a/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild
+++ b/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild,v 1.11 2004/06/24 23:15:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpinboard/wmpinboard-1.0.ebuild,v 1.12 2004/07/20 19:19:27 s4t4n Exp $
+
+inherit eutils
IUSE=""
DESCRIPTION="Window Maker dock applet resembling a miniature pinboard."
@@ -13,12 +15,20 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc alpha amd64 ~ppc"
-src_compile() {
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/wmpinboard-1.0-segfault.patch
+}
+
+src_compile()
+{
econf || die "econf failed"
emake || die "emake failed"
}
-src_install () {
+src_install ()
+{
make DESTDIR=${D} install-strip || die "install failed"
}
-