diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2006-04-03 16:58:44 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2006-04-03 16:58:44 +0000 |
commit | b5893bcb5272476de52aadf5bb8e9c72c184b0a6 (patch) | |
tree | 020faa6efe3a3f3742964f322e5f6302600d3a65 /dev-perl/Net-RawIP | |
parent | remove gnome1 version (diff) | |
download | historical-b5893bcb5272476de52aadf5bb8e9c72c184b0a6.tar.gz historical-b5893bcb5272476de52aadf5bb8e9c72c184b0a6.tar.bz2 historical-b5893bcb5272476de52aadf5bb8e9c72c184b0a6.zip |
Add patch to fix compilation with gcc-4 by Robert Marmorstein <rmmarm AT wm DOT edu>; bug #124794
Package-Manager: portage-2.1_pre7-r3
Diffstat (limited to 'dev-perl/Net-RawIP')
-rw-r--r-- | dev-perl/Net-RawIP/ChangeLog | 7 | ||||
-rw-r--r-- | dev-perl/Net-RawIP/Manifest | 25 | ||||
-rw-r--r-- | dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild | 6 | ||||
-rw-r--r-- | dev-perl/Net-RawIP/files/Net-RawIP-0.2-gcc4.patch | 66 |
4 files changed, 95 insertions, 9 deletions
diff --git a/dev-perl/Net-RawIP/ChangeLog b/dev-perl/Net-RawIP/ChangeLog index a3b19399b6d5..6bc792b1b923 100644 --- a/dev-perl/Net-RawIP/ChangeLog +++ b/dev-perl/Net-RawIP/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-perl/Net-RawIP # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-RawIP/ChangeLog,v 1.17 2006/02/27 02:32:32 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-RawIP/ChangeLog,v 1.18 2006/04/03 16:58:44 halcy0n Exp $ + + 03 Apr 2006; Mark Loeser <halcy0n@gentoo.org> + +files/Net-RawIP-0.2-gcc4.patch, Net-RawIP-0.2.ebuild: + Add patch to fix compilation with gcc-4 by Robert Marmorstein <rmmarm AT wm + DOT edu>; bug #124794 27 Feb 2006; Jeroen Roovers <jer@gentoo.org> Net-RawIP-0.2.ebuild: Stable on hppa (bug #122049). diff --git a/dev-perl/Net-RawIP/Manifest b/dev-perl/Net-RawIP/Manifest index c63401671e32..c23bdb68ea36 100644 --- a/dev-perl/Net-RawIP/Manifest +++ b/dev-perl/Net-RawIP/Manifest @@ -1,12 +1,18 @@ -MD5 02146a8bfcbe32706369f1d3a8115277 ChangeLog 2055 -RMD160 0dfb63ef1e64e5ca96d2d8387d5591bcefa017d8 ChangeLog 2055 -SHA256 13881f37c5acc47aa1ee1464e9dd7bc0501431bb1a27712fd3f83f697bd49cda ChangeLog 2055 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 3779a44c51d6c668e6a6779364ae4dcc ChangeLog 2267 +RMD160 e9fcd435141e2e164855230525f6a221993dc5f8 ChangeLog 2267 +SHA256 a015c90c9e87458f4e5e5194062e3e8766cdd81f379b61050ed863eecd24fb78 ChangeLog 2267 MD5 0140999a96bcf98f2f30592239c481d5 Net-RawIP-0.1.ebuild 1544 RMD160 5f33b2cce28b2d588ff65f6f20e6bb72bea21009 Net-RawIP-0.1.ebuild 1544 SHA256 154f3b8e9145ff128ef63ca1e8782192debb2e4c1c338118115b37c8dbfe648b Net-RawIP-0.1.ebuild 1544 -MD5 73544d7712be5fc03df814629465fa58 Net-RawIP-0.2.ebuild 1550 -RMD160 f890592725a8fca36270de6a23fb503597f089f8 Net-RawIP-0.2.ebuild 1550 -SHA256 95f3f28807be619f9e999ce0bab86606d8196612af9a9e7659175433c6e2b7ab Net-RawIP-0.2.ebuild 1550 +MD5 86bd29636868e26479526a932ca8d107 Net-RawIP-0.2.ebuild 1600 +RMD160 1c23e4438e2b1b01ae379e0e55301c1e945527ae Net-RawIP-0.2.ebuild 1600 +SHA256 18d960f8c24730aced7fb0c65c7c8486b4fb8af0ad14022cc26ace2e92a8fb4d Net-RawIP-0.2.ebuild 1600 +MD5 1b1bcdad120c1fd19787a71780511dcb files/Net-RawIP-0.2-gcc4.patch 2188 +RMD160 d36ba43894466c0b58e102757af0bb7e376474bc files/Net-RawIP-0.2-gcc4.patch 2188 +SHA256 2f63784ab3c392d9a35e675efcb811f3ee02b804fd20ed2e4a100a713bd5d599 files/Net-RawIP-0.2-gcc4.patch 2188 MD5 ddbdc35d582bfa957c8346ece75890f5 files/digest-Net-RawIP-0.1 64 RMD160 84534ac9c84b6371f64d6c5b262bffa0053ab816 files/digest-Net-RawIP-0.1 64 SHA256 bfad5491eea552fd48f45b1ee20e15c19fe886f007c3291f3c5d7014f2c5866d files/digest-Net-RawIP-0.1 64 @@ -16,3 +22,10 @@ SHA256 1f73c3e315ed4ca9a0759817f0c8a041a6645e23f031aa8faacec1e0046ab26f files/di MD5 e2d8f1bf77722def1dd432e26455c818 metadata.xml 305 RMD160 647980838c590f54441a053916ea629e53e551c0 metadata.xml 305 SHA256 f05dbef15061919972882cab07057e102760a542beba17d131194091401cd7ca metadata.xml 305 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFEMVRTCRZPokWLroQRAo6GAJ9F3SyjsklyGB3AuX73/31NGJJS5ACgsySL +mDctywyGWrmrgI/lgh46oB8= +=KyN/ +-----END PGP SIGNATURE----- diff --git a/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild b/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild index b0d2c0ea4317..e1e3df0eae9b 100644 --- a/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild +++ b/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild,v 1.10 2006/02/27 02:32:32 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-RawIP/Net-RawIP-0.2.ebuild,v 1.11 2006/04/03 16:58:44 halcy0n Exp $ -inherit perl-module +inherit eutils perl-module IUSE="" DESCRIPTION="Perl Net::RawIP - Raw IP packets manipulation Module" @@ -35,4 +35,6 @@ src_unpack() { # Robert Coie <rac@gentoo.org> 2003.05.08 sed -i -e "s/D_IFLIST_'\./D_IFLIST_ '\./" ${S}/Makefile.PL || die "problem fixing makefile" + + epatch "${FILESDIR}"/${P}-gcc4.patch } diff --git a/dev-perl/Net-RawIP/files/Net-RawIP-0.2-gcc4.patch b/dev-perl/Net-RawIP/files/Net-RawIP-0.2-gcc4.patch new file mode 100644 index 000000000000..579b54563c4f --- /dev/null +++ b/dev-perl/Net-RawIP/files/Net-RawIP-0.2-gcc4.patch @@ -0,0 +1,66 @@ +diff -Naur Net-RawIP-0.2.old/RawIP.xs Net-RawIP-0.2/RawIP.xs +--- Net-RawIP-0.2.old/RawIP.xs 2006-04-02 16:18:13.000000000 -0400 ++++ Net-RawIP-0.2/RawIP.xs 2006-04-02 16:20:17.000000000 -0400 +@@ -759,7 +759,7 @@ + if(ihl > 5){ + av_store(RETVAL,28, + ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); +- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); ++ pktr = (u_char*)pktr + (ihl*4 - 20); + ipo = 1; + } + doff = pktr->th.doff; +@@ -785,7 +785,7 @@ + } + av_store(RETVAL,29, + tcp_opts_parse(sv_2mortal(newSVpv((u_char*)pktr+40,doff*4-20)))); +- (u_char*)pktr = (u_char*)pktr + (doff*4 - 20); ++ pktr = (u_char*)pktr + (doff*4 - 20); + } + av_store(RETVAL,27,newSVpv(((u_char*)&pktr->th.urg_ptr+2), + tot_len - (4*ihl + doff*4))); +@@ -818,7 +818,7 @@ + if(ihl > 5){ + av_store(RETVAL,20, + ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); +- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); ++ pktr = (u_char*)pktr + (ihl*4 - 20); + } + av_store(RETVAL,11,newSViv(pktr->ich.type)); + av_store(RETVAL,12,newSViv(pktr->ich.code)); +@@ -858,7 +858,7 @@ + if(ihl > 5){ + av_store(RETVAL,12, + ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); +- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); ++ pktr = (u_char*)pktr + (ihl*4 - 20); + } + av_store(RETVAL,11,newSVpv(((u_char*)pktr+20), + tot_len - 4*ihl)); +@@ -892,7 +892,7 @@ + if(ihl > 5){ + av_store(RETVAL,16, + ip_opts_parse(sv_2mortal(newSVpv((u_char*)pktr + 20,ihl*4 - 20)))); +- (u_char*)pktr = (u_char*)pktr + (ihl*4 - 20); ++ pktr = (u_char*)pktr + (ihl*4 - 20); + } + av_store(RETVAL,11,newSViv(ntohs(pktr->uh.source))); + av_store(RETVAL,12,newSViv(ntohs(pktr->uh.dest))); +@@ -1284,7 +1284,7 @@ + CODE: + printer = print; + if(!SvROK(user) && SvOK(user)){ +- (u_char *)user = SvIV(user); ++ user = (u_char *)SvIV(user); + ptr = &handler; + } + else { +@@ -1306,7 +1306,7 @@ + CODE: + printer = print; + if(!SvROK(user) && SvOK(user)){ +- (u_char *)user = SvIV(user); ++ user = (u_char *)SvIV(user); + ptr = &handler; + } + else { |