summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-04-08 00:34:40 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-04-08 00:34:40 +0000
commitcc5a164d5bd559d19f94c52d8bacde47c472554a (patch)
tree27f19f97ee8d0b11412fbeac6fd0687b8f75c45c
parentlibtoolize (diff)
downloadgentoo-2-cc5a164d5bd559d19f94c52d8bacde47c472554a.tar.gz
gentoo-2-cc5a164d5bd559d19f94c52d8bacde47c472554a.tar.bz2
gentoo-2-cc5a164d5bd559d19f94c52d8bacde47c472554a.zip
Update with a patch to make it compile with gcc3
-rw-r--r--x11-misc/bbpager/ChangeLog6
-rw-r--r--x11-misc/bbpager/bbpager-0.3.0-r3.ebuild36
-rw-r--r--x11-misc/bbpager/files/bbpager-gcc3.patch31
-rw-r--r--x11-misc/bbpager/files/digest-bbpager-0.3.0-r31
4 files changed, 73 insertions, 1 deletions
diff --git a/x11-misc/bbpager/ChangeLog b/x11-misc/bbpager/ChangeLog
index bfc333542d57..7a2a3f6b2701 100644
--- a/x11-misc/bbpager/ChangeLog
+++ b/x11-misc/bbpager/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/bbpager
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbpager/ChangeLog,v 1.2 2002/03/15 15:06:34 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbpager/ChangeLog,v 1.3 2002/04/08 00:34:40 spider Exp $
+
+*bbpager-0.3.0-r3 (08 Apr 2002)
+ 08 Apr 2002; Spider <spider@gentoo.org>:
+ hack up a patch that lets bbpager compile with gcc3.
*bbpager-0.3.0-r2 (15 Mar 2002)
diff --git a/x11-misc/bbpager/bbpager-0.3.0-r3.ebuild b/x11-misc/bbpager/bbpager-0.3.0-r3.ebuild
new file mode 100644
index 000000000000..9cb12353bc55
--- /dev/null
+++ b/x11-misc/bbpager/bbpager-0.3.0-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Gontran Zepeda <gontran@gontran.net>
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbpager/bbpager-0.3.0-r3.ebuild,v 1.1 2002/04/08 00:34:40 spider Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="An understated pager for Blackbox."
+SRC_URI="http://bbtools.windsofstorm.net/sources/${P}.tar.gz"
+HOMEPAGE="http://bbtools.windsofstorm.net/available.phtml#bbpager"
+
+DEPEND="virtual/blackbox"
+
+src_unpack () {
+ unpack ${A} ; cd ${S}
+ patch -p1 < ${FILESDIR}/bbpager-gcc3.patch
+}
+
+src_compile() {
+ ./configure --prefix=/usr --host=${CHOST} || die
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc README TODO NEWS ChangeLog
+}
+
+pkg_postinst() {
+ if [ "`use gnome`" ] ; then
+ cd ${ROOT}usr/X11R6/bin/wm
+ if [ ! "`grep bbpager blackbox`" ] ; then
+ sed -e "s:.*blackbox:exec /usr/bin/bbpager \&\n&:" \
+ blackbox | cat > blackbox
+ fi
+ fi
+}
diff --git a/x11-misc/bbpager/files/bbpager-gcc3.patch b/x11-misc/bbpager/files/bbpager-gcc3.patch
new file mode 100644
index 000000000000..a37f863e4ed0
--- /dev/null
+++ b/x11-misc/bbpager/files/bbpager-gcc3.patch
@@ -0,0 +1,31 @@
+--- bbpager-0.3.0/LinkedList.hh Wed Sep 27 22:35:33 2000
++++ bbpager-0.3.0-hack/LinkedList.hh Mon Apr 8 01:59:31 2002
+@@ -50,7 +50,7 @@
+ __llist *list;
+ __llist_node *node;
+
+- friend __llist;
++ friend class __llist;
+
+
+ protected:
+@@ -73,7 +73,7 @@
+ __llist_node *_first, *_last;
+ __llist *iterators;
+
+- friend __llist_iterator;
++ friend class __llist_iterator;
+
+
+ protected:
+--- bbpager-0.3.0/Timer.hh Tue Dec 7 20:44:23 1999
++++ bbpager-0.3.0-hack/Timer.hh Mon Apr 8 01:59:45 2002
+@@ -47,7 +47,7 @@
+
+
+ class BTimer {
+- friend BaseDisplay;
++ friend class BaseDisplay;
+ private:
+ BaseDisplay *display;
+ TimeoutHandler *handler;
diff --git a/x11-misc/bbpager/files/digest-bbpager-0.3.0-r3 b/x11-misc/bbpager/files/digest-bbpager-0.3.0-r3
new file mode 100644
index 000000000000..027a894b3286
--- /dev/null
+++ b/x11-misc/bbpager/files/digest-bbpager-0.3.0-r3
@@ -0,0 +1 @@
+MD5 0a8aa4b0c68346b71f8d375f4362c3cb bbpager-0.3.0.tar.gz 80916