summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2009-07-25 21:20:48 +0000
committerMark Loeser <halcy0n@gentoo.org>2009-07-25 21:20:48 +0000
commitc1953cf7c34c5e5ee8ef615318d2841f53fecb20 (patch)
tree9d33322c7c74695da93bf31747f64da48aff2feb /perl-core
parentFix compilation with gcc-4.4. Patch by Vistor Ostorga <vostorga AT gentoo DO... (diff)
downloadhistorical-c1953cf7c34c5e5ee8ef615318d2841f53fecb20.tar.gz
historical-c1953cf7c34c5e5ee8ef615318d2841f53fecb20.tar.bz2
historical-c1953cf7c34c5e5ee8ef615318d2841f53fecb20.zip
Revbump to fix header for gcc-4.4 issue; bug #278155
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'perl-core')
-rw-r--r--perl-core/ExtUtils-ParseXS/ChangeLog9
-rw-r--r--perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20-r1.ebuild (renamed from perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20.ebuild)7
-rw-r--r--perl-core/ExtUtils-ParseXS/Manifest15
-rw-r--r--perl-core/ExtUtils-ParseXS/files/eu-pxs-newXS-const-file.patch19
4 files changed, 46 insertions, 4 deletions
diff --git a/perl-core/ExtUtils-ParseXS/ChangeLog b/perl-core/ExtUtils-ParseXS/ChangeLog
index 3ef07af79976..729961593eea 100644
--- a/perl-core/ExtUtils-ParseXS/ChangeLog
+++ b/perl-core/ExtUtils-ParseXS/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for perl-core/ExtUtils-ParseXS
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/perl-core/ExtUtils-ParseXS/ChangeLog,v 1.3 2009/07/03 05:10:45 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/perl-core/ExtUtils-ParseXS/ChangeLog,v 1.4 2009/07/25 21:20:48 halcy0n Exp $
+
+*ExtUtils-ParseXS-2.20-r1 (25 Jul 2009)
+
+ 25 Jul 2009; Mark Loeser <halcy0n@gentoo.org>
+ -ExtUtils-ParseXS-2.20.ebuild, +ExtUtils-ParseXS-2.20-r1.ebuild,
+ +files/eu-pxs-newXS-const-file.patch:
+ Revbump to fix header for gcc-4.4 issue; bug #278155
*ExtUtils-ParseXS-2.20 (03 Jul 2009)
diff --git a/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20.ebuild b/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20-r1.ebuild
index 6f0cecf7faa7..d3323cb79f5c 100644
--- a/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20.ebuild
+++ b/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20.ebuild,v 1.1 2009/07/03 05:10:45 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/perl-core/ExtUtils-ParseXS/ExtUtils-ParseXS-2.20-r1.ebuild,v 1.1 2009/07/25 21:20:48 halcy0n Exp $
EAPI=2
@@ -19,3 +19,8 @@ DEPEND="${RDEPEND}
virtual/perl-Module-Build"
SRC_TEST="do"
+
+PATCHES=(
+ "${FILESDIR}"/eu-pxs-newXS-const-file.patch
+)
+
diff --git a/perl-core/ExtUtils-ParseXS/Manifest b/perl-core/ExtUtils-ParseXS/Manifest
index 9816a1229882..3e1f3c54c5d9 100644
--- a/perl-core/ExtUtils-ParseXS/Manifest
+++ b/perl-core/ExtUtils-ParseXS/Manifest
@@ -1,8 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX eu-pxs-newXS-const-file.patch 674 RMD160 97783a3c98500fce82f93ad223f8e03ef6bf05da SHA1 53e0210668b01b25e4fa289dbe7ec3cc5a503779 SHA256 ca0a42c18f39d89d5718702b2ebfbca0c218b744c1f5726a287ede19a8f0b9ba
DIST ExtUtils-ParseXS-2.18.tar.gz 25173 RMD160 67aed073bdb838cfe5e741417997d8b5c61834fe SHA1 d2313653bd97e31039da5e6db8abd962efbaefb8 SHA256 4d1bd2237814895be93df88b770638cb1850df122d63f70653a05cf38e185af0
DIST ExtUtils-ParseXS-2.19.tar.gz 25214 RMD160 131823e74af109cefc747280d916c07b5f3a49b4 SHA1 1dddbe434be59eab7245df6177f2de1d9423cbd6 SHA256 46b52a99f620a200b4617ee580651d02d47a115c3be19e95c467792bf13c29c7
DIST ExtUtils-ParseXS-2.20.tar.gz 31847 RMD160 ff8abe9591d7627013b0ee310a3c8d122080f9d3 SHA1 d2d566e75afac6017e06303b6844686cf0f3ba80 SHA256 d367c9a600922cf0c8b03d79fd77dae8d019158b7a8e666612c3bc682308a3da
EBUILD ExtUtils-ParseXS-2.18.ebuild 595 RMD160 ea46150ddc0904283b4594997e21f2f6d8e2bb6c SHA1 d53aba70eacdf4829503205ba0db8e662fb23281 SHA256 55cd2b7978b0b7e21973ef472517d2defebdb40be6bf4b5bbd59c3ecbe9727d9
EBUILD ExtUtils-ParseXS-2.19.ebuild 600 RMD160 b5e69dbeb89e4aed8fc19418a7c5fb99e3ced362 SHA1 7679a1ef221938b3ca192ccfab421cb1d9d3464a SHA256 9a683c0673f349c30acb82d42e8d505cfbb3c0d21420c2a073f9fd36991b2858
-EBUILD ExtUtils-ParseXS-2.20.ebuild 570 RMD160 867dd7514eea6927fce0b2e3d89f9989ae5a5cf0 SHA1 fb54b99aacdb33e734306f7cb1dc4faec9fd13a1 SHA256 04159c0bed020f09cd9941173bfc42842df2a053cf3dc1323c961fec473f3f49
-MISC ChangeLog 7035 RMD160 47ab18a61a84e5d56d71a74270e4cffa93974e9e SHA1 10f9804c4d948aa97f785bc6ff49f70c0f07de55 SHA256 f3af8e67de20e1d8e96eb49404ae1e7c1da93318235e039fa0ffc2343e8fa91b
+EBUILD ExtUtils-ParseXS-2.20-r1.ebuild 635 RMD160 916b4a15ab0f82373764333dbcbf158cad79a3ee SHA1 8203b9fb2d8867cbc8d75d244f5f76fe082f318b SHA256 201255d73fc3839a6be8ee846a382d3582c17f9bd29ab3ad286d2110645cb1e2
+MISC ChangeLog 7290 RMD160 4d6bcdc76f08b402341592eb3186fcfe989d32cc SHA1 29576c1b81c3683f0cbc5114a114b36318b2f288 SHA256 4b2ba528b299d9fe8c0d4c0948810bfb4c3af078b86cf5280c3372c1b7ab7c53
MISC metadata.xml 158 RMD160 03e4d8164c58bc61660cbaf489d4e3652de0feb7 SHA1 9a84117c6fb70288426e20c84deaf16f4381a549 SHA256 1fef4c0af5f71b777110f54d9dfbd27d6c85c750fca007f4a2fb38345ebbb710
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkprdzUACgkQCRZPokWLroTy0ACcDiIX839/6B6Bd7BsarZmZ2TL
+piMAnidNBZYOFlTC7h94i5LZ4xySqOoy
+=ePQE
+-----END PGP SIGNATURE-----
diff --git a/perl-core/ExtUtils-ParseXS/files/eu-pxs-newXS-const-file.patch b/perl-core/ExtUtils-ParseXS/files/eu-pxs-newXS-const-file.patch
new file mode 100644
index 000000000000..e60e030d9e23
--- /dev/null
+++ b/perl-core/ExtUtils-ParseXS/files/eu-pxs-newXS-const-file.patch
@@ -0,0 +1,19 @@
+--- lib/ExtUtils/ParseXS.pm 2009-07-18 23:23:17.000000000 +0200
++++ lib/ExtUtils/ParseXS.pm 2009-07-23 16:42:34.000000000 +0200
+@@ -976,10 +976,15 @@
+ ##endif
+ EOF
+
++ #Under 5.8.x and lower, newXS is declared in proto.h as expecting a non-const
++ #file name argument. If the wrong qualifier is used, it causes breakage with
++ #C++ compilers and warnings with recent gcc.
++ my $file_decl = ($] < 5.009) ? "char file[]" : "const char* file";
++
+ #-Wall: if there is no $Full_func_name there are no xsubs in this .xs
+ #so `file' is unused
+ print Q(<<"EOF") if $Full_func_name;
+-# const char* file = __FILE__;
++# $file_decl = __FILE__;
+ EOF
+
+ print Q("#\n");