summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2003-06-01 22:14:58 +0000
committerRobert Coie <rac@gentoo.org>2003-06-01 22:14:58 +0000
commiteae5c233f6ec58211e79abd51444edf58f7f7123 (patch)
tree8b770064b76d174c635c0e9c767b9a53810ac147
parentfix bug 14001 (diff)
downloadgentoo-2-eae5c233f6ec58211e79abd51444edf58f7f7123.tar.gz
gentoo-2-eae5c233f6ec58211e79abd51444edf58f7f7123.tar.bz2
gentoo-2-eae5c233f6ec58211e79abd51444edf58f7f7123.zip
fix bug 14001
-rw-r--r--net-news/glitter/ChangeLog9
-rw-r--r--net-news/glitter/Manifest6
-rw-r--r--net-news/glitter/files/digest-glitter-1.0-r11
-rw-r--r--net-news/glitter/files/glitter-1.0-gary-perl58.patch15
-rw-r--r--net-news/glitter/glitter-1.0-r1.ebuild35
-rw-r--r--net-news/glitter/glitter-1.0.ebuild9
6 files changed, 69 insertions, 6 deletions
diff --git a/net-news/glitter/ChangeLog b/net-news/glitter/ChangeLog
index c974bf0bbc25..6a7265bb69f8 100644
--- a/net-news/glitter/ChangeLog
+++ b/net-news/glitter/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-news/glitter
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/ChangeLog,v 1.3 2003/02/12 08:36:46 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/ChangeLog,v 1.4 2003/06/01 22:14:56 rac Exp $
+
+*glitter-1.0-r1 (01 Jun 2003)
+
+ 01 Jun 2003; <rac@gentoo.org> glitter-1.0-r1.ebuild, glitter-1.0.ebuild,
+ files/glitter-1.0-gary-perl58.patch:
+ Add perl 5.8.0 compatibility patch from bug 14001 - thanks to Pascal Roussel
+ <p.roussel@easyconnect.fr> for detective work
*glitter-1.0 (Jun 18 2002)
diff --git a/net-news/glitter/Manifest b/net-news/glitter/Manifest
index c2df0557f220..88bc7f0bb59a 100644
--- a/net-news/glitter/Manifest
+++ b/net-news/glitter/Manifest
@@ -1,6 +1,6 @@
-MD5 b3c1e43dd5cdfc5d732b98161b82db42 glitter-1.0.ebuild 836
-MD5 b3c1e43dd5cdfc5d732b98161b82db42 glitter-1.0-r1.ebuild 836
-MD5 c1a803bc0c5ff8dcba82d470069eac2b ChangeLog 474
+MD5 8a551f87de8cda8c769dd63a13f2ed3d glitter-1.0.ebuild 833
+MD5 ace68a5a407df9f7c85c394a284db0d3 glitter-1.0-r1.ebuild 836
+MD5 b6457b7e480aba99dc1eaddeb6cf3dca ChangeLog 744
MD5 bdf86bd5578ca993d698f20928da3222 files/glitter-1.0-gary-perl58.patch 567
MD5 df42e7744e7bac21b3d085918a16bf1b files/digest-glitter-1.0-r1 63
MD5 df42e7744e7bac21b3d085918a16bf1b files/digest-glitter-1.0 63
diff --git a/net-news/glitter/files/digest-glitter-1.0-r1 b/net-news/glitter/files/digest-glitter-1.0-r1
new file mode 100644
index 000000000000..5d0b8509651c
--- /dev/null
+++ b/net-news/glitter/files/digest-glitter-1.0-r1
@@ -0,0 +1 @@
+MD5 f3c04ec86060511aa45a326d96a17afa glitter-1.0.tar.gz 170318
diff --git a/net-news/glitter/files/glitter-1.0-gary-perl58.patch b/net-news/glitter/files/glitter-1.0-gary-perl58.patch
new file mode 100644
index 000000000000..c3629bcf8f11
--- /dev/null
+++ b/net-news/glitter/files/glitter-1.0-gary-perl58.patch
@@ -0,0 +1,15 @@
+--- gary.orig 2000-10-23 15:40:57.000000000 -0700
++++ gary 2003-06-01 14:37:40.000000000 -0700
+@@ -139,7 +139,11 @@
+ &changes if ($opt_C);
+
+ # switch off buffering if in 'glitter' mode
+-STDOUT->setvbuf($nothing_here, _IONBF, 0) if ($opt_g);
++# Gentoo Linux patch: use $| to work with perl 5.8.0 also.
++# See http://bugs.gentoo.org/show_bug.cgi?id=14001 for details.
++# Robert Coie <rac@gentoo.org> 2003.05.31
++#STDOUT->setvbuf($nothing_here, _IONBF, 0) if ($opt_g);
++$| = 1 if $opt_g;
+
+ # Make sure we clean up when we catch an unexpected signal
+ foreach (@sigs) {
diff --git a/net-news/glitter/glitter-1.0-r1.ebuild b/net-news/glitter/glitter-1.0-r1.ebuild
new file mode 100644
index 000000000000..9250794485e4
--- /dev/null
+++ b/net-news/glitter/glitter-1.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/glitter-1.0-r1.ebuild,v 1.1 2003/06/01 22:14:56 rac Exp $
+
+DESCRIPTION="Glitter - a binary downloader for newsgroups"
+HOMEPAGE="http://www.mews.org.uk/glitter/"
+SRC_URI="http://www.mews.org.uk/glitter/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc"
+
+DEPEND="gnome-base/gnome-libs"
+
+src_unpack() {
+ unpack ${A}
+ echo "Patching gary for use with perl 5.8"
+ cd ${S}; patch < ${FILESDIR}/${P}-gary-perl58.patch
+}
+
+src_compile() {
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc || die "./configure failed"
+
+ emake || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+}
diff --git a/net-news/glitter/glitter-1.0.ebuild b/net-news/glitter/glitter-1.0.ebuild
index 2f69fe5d1963..8dd2ac4d30b9 100644
--- a/net-news/glitter/glitter-1.0.ebuild
+++ b/net-news/glitter/glitter-1.0.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/glitter-1.0.ebuild,v 1.4 2003/02/13 15:15:20 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/glitter/glitter-1.0.ebuild,v 1.5 2003/06/01 22:14:56 rac Exp $
-S=${WORKDIR}/${P}
DESCRIPTION="Glitter - a binary downloader for newsgroups"
HOMEPAGE="http://www.mews.org.uk/glitter/"
SRC_URI="http://www.mews.org.uk/glitter/${P}.tar.gz"
@@ -13,6 +12,12 @@ KEYWORDS="x86 ppc"
DEPEND="gnome-base/gnome-libs"
+src_unpack() {
+ unpack ${A}
+ echo "Patching gary for use with perl 5.8"
+ cd ${S}; patch < ${FILESDIR}/${P}-gary-perl58.patch
+}
+
src_compile() {
./configure \