summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2004-08-03 05:25:36 +0000
committerRobert Coie <rac@gentoo.org>2004-08-03 05:25:36 +0000
commit238af1f6e466f1991d8077bf0b42a7a855f5ea89 (patch)
tree4fb652060f9b7851acf283239f96894fef56ce86 /dev-lang/perl
parentAMD64 keywords (diff)
downloadhistorical-238af1f6e466f1991d8077bf0b42a7a855f5ea89.tar.gz
historical-238af1f6e466f1991d8077bf0b42a7a855f5ea89.tar.bz2
historical-238af1f6e466f1991d8077bf0b42a7a855f5ea89.zip
nonblock patch
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/Manifest5
-rw-r--r--dev-lang/perl/files/perl-5.8.4-nonblock.patch11
-rw-r--r--dev-lang/perl/perl-5.8.4-r1.ebuild9
4 files changed, 27 insertions, 4 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index d95d7a09fc7f..2d0011b6aebf 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.73 2004/07/29 23:22:34 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.74 2004/08/03 05:25:36 rac Exp $
+
+ 02 Aug 2004; Robert Coie <rac@gentoo.org> +files/perl-5.8.4-nonblock.patch,
+ perl-5.8.4-r1.ebuild:
+ add nonblock.patch, primarily for sparc64
29 Jul 2004; Guy Martin <gmsoft@gentoo.org> perl-5.8.4.ebuild:
Stable on hppa.
diff --git a/dev-lang/perl/Manifest b/dev-lang/perl/Manifest
index d464b4a15c20..3fdff6df2df0 100644
--- a/dev-lang/perl/Manifest
+++ b/dev-lang/perl/Manifest
@@ -1,7 +1,7 @@
MD5 5e8a451fd3877f59c083c0b959d276dc perl-5.8.2-r1.ebuild 9916
-MD5 846139d0130f087550a534e02a864762 ChangeLog 26382
+MD5 149eba3ed090ff5a2a16a99380b6525c ChangeLog 26529
MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305
-MD5 dc6567f9f0d42b5ad74f2a0d01817f26 perl-5.8.4-r1.ebuild 11431
+MD5 1a819c47516085ea4b07e8a624c8856e perl-5.8.4-r1.ebuild 11748
MD5 4ef0623209aa571ab5d7396a2a850ac2 perl-5.8.3.ebuild 9884
MD5 a3d15d30aed785dd4a6d3fceb9bbbeb6 perl-5.8.4.ebuild 10636
MD5 319b56a7ce715fb7a494fe4d5cb9474c files/perl-5.8.2-picdl.patch 250
@@ -26,3 +26,4 @@ MD5 d9412dab085f22309997c8f08ea1ac85 files/perl-5.8.4-reorder-INC.patch 2211
MD5 ce442db939c59218a16be167f793b817 files/perl-5.8.2-uclibc.patch 573
MD5 44e1f1420947cc552c66fb434ba4c855 files/perl-5.8.4-NDBM-GDBM-compat.patch 428
MD5 93155b02a7e9d3cdc6d6934ce78d9f11 files/digest-perl-5.8.4-r1 64
+MD5 01af75daf3d222a668059e90d78a1f9d files/perl-5.8.4-nonblock.patch 400
diff --git a/dev-lang/perl/files/perl-5.8.4-nonblock.patch b/dev-lang/perl/files/perl-5.8.4-nonblock.patch
new file mode 100644
index 000000000000..65c0acae6e62
--- /dev/null
+++ b/dev-lang/perl/files/perl-5.8.4-nonblock.patch
@@ -0,0 +1,11 @@
+--- ext/IO/IO.xs.orig 2004-08-02 21:26:35.486883359 -0700
++++ ext/IO/IO.xs 2004-08-02 21:26:58.285155590 -0700
+@@ -75,7 +75,7 @@
+ int mode = RETVAL;
+ #ifdef O_NONBLOCK
+ /* POSIX style */
+-#if defined(O_NDELAY) && O_NDELAY != O_NONBLOCK
++#if defined(O_NDELAY) && O_NDELAY != O_NONBLOCK && !defined(__linux__)
+ /* Ooops has O_NDELAY too - make sure we don't
+ * get SysV behaviour by mistake. */
+
diff --git a/dev-lang/perl/perl-5.8.4-r1.ebuild b/dev-lang/perl/perl-5.8.4-r1.ebuild
index 2df632330df5..c77d55f85fe0 100644
--- a/dev-lang/perl/perl-5.8.4-r1.ebuild
+++ b/dev-lang/perl/perl-5.8.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4-r1.ebuild,v 1.1 2004/07/29 23:22:34 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/perl-5.8.4-r1.ebuild,v 1.2 2004/08/03 05:25:36 rac Exp $
inherit eutils flag-o-matic gcc
@@ -107,6 +107,13 @@ src_unpack() {
# uclibc support
epatch ${FILESDIR}/perl-5.8.2-uclibc.patch
+ # this one only affects sparc64, as best weeve and rac can tell,
+ # but seems sane for all linux. we don't have to worry about
+ # drifting into obscure SysV non-posix semantics, and the current
+ # code in IO.xs that checks for this sort of thing dies in LDAP on
+ # sparc64.
+
+ epatch ${FILESDIR}/${P}-nonblock.patch
}
src_configure() {