summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2007-08-04 19:37:18 +0000
committerHans de Graaff <graaff@gentoo.org>2007-08-04 19:37:18 +0000
commit973080cc83d71ac60ee53ac4752f4c9d2a3b8551 (patch)
tree6800e5d1bb11e086b99041b5ff54cb501b8b7b22 /dev-ruby
parentwhitespace (diff)
downloadhistorical-973080cc83d71ac60ee53ac4752f4c9d2a3b8551.tar.gz
historical-973080cc83d71ac60ee53ac4752f4c9d2a3b8551.tar.bz2
historical-973080cc83d71ac60ee53ac4752f4c9d2a3b8551.zip
Add patch from bug 186838 to fix compatibility with newer ruby versions.
Package-Manager: portage-2.1.2.11
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ruby-pcap/ChangeLog6
-rw-r--r--dev-ruby/ruby-pcap/Manifest30
-rw-r--r--dev-ruby/ruby-pcap/files/ruby-pcap-0.6-fixnum.patch15
-rw-r--r--dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild6
4 files changed, 46 insertions, 11 deletions
diff --git a/dev-ruby/ruby-pcap/ChangeLog b/dev-ruby/ruby-pcap/ChangeLog
index 1a52e6845965..989716c0c70f 100644
--- a/dev-ruby/ruby-pcap/ChangeLog
+++ b/dev-ruby/ruby-pcap/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/ruby-pcap
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pcap/ChangeLog,v 1.2 2007/01/21 08:17:15 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pcap/ChangeLog,v 1.3 2007/08/04 19:37:18 graaff Exp $
+
+ 04 Aug 2007; Hans de Graaff <graaff@gentoo.org>
+ +files/ruby-pcap-0.6-fixnum.patch, ruby-pcap-0.6.ebuild:
+ Add patch from bug #186838 to fix compatibility with newer versions of ruby.
21 Jan 2007; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
ruby-pcap-0.6.ebuild:
diff --git a/dev-ruby/ruby-pcap/Manifest b/dev-ruby/ruby-pcap/Manifest
index 3685b37a43f9..c60f16577d71 100644
--- a/dev-ruby/ruby-pcap/Manifest
+++ b/dev-ruby/ruby-pcap/Manifest
@@ -1,12 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX ruby-pcap-0.6-fixnum.patch 525 RMD160 8c23fe8b3be741e27461aaee9cc2e2fab418fe6b SHA1 b46f88a0fcf19619fe4c468e81d8c97ea0cdd2ae SHA256 d93f2d42c67b6c952fdd1dad52c503903ab32f933090eb2cdf16a6db2cde0742
+MD5 b7e37a32b10a3385ea84e4ac4e211e3a files/ruby-pcap-0.6-fixnum.patch 525
+RMD160 8c23fe8b3be741e27461aaee9cc2e2fab418fe6b files/ruby-pcap-0.6-fixnum.patch 525
+SHA256 d93f2d42c67b6c952fdd1dad52c503903ab32f933090eb2cdf16a6db2cde0742 files/ruby-pcap-0.6-fixnum.patch 525
DIST ruby-pcap-0.6.tar.gz 37539 RMD160 6422c9fe0a5a35f5cc1fe6cba418223d0e764766 SHA1 d098a04e4bb5e414fc10d267b3d6dcf9490bccd3 SHA256 377a927efde4c5505a59648c83d3fefc83f8338b64b71e9c0cb874bd06107b46
-EBUILD ruby-pcap-0.6.ebuild 592 RMD160 c3a91b362e06808188e004369d1e9148e1f6d844 SHA1 c7d7bd19824d68815847d880ca46a7bb399efd61 SHA256 09938023615fa39285b7016b32fee5e52dc76936ccc68e2ee79e491fe8933059
-MD5 00adf802c8b35f0618b3648525144a60 ruby-pcap-0.6.ebuild 592
-RMD160 c3a91b362e06808188e004369d1e9148e1f6d844 ruby-pcap-0.6.ebuild 592
-SHA256 09938023615fa39285b7016b32fee5e52dc76936ccc68e2ee79e491fe8933059 ruby-pcap-0.6.ebuild 592
-MISC ChangeLog 539 RMD160 d6c8eb38bcf697bf4d25c7eb6a826c983d999513 SHA1 9f532315e60e373f539d0b3043bf9a004557ab70 SHA256 154bf177c033ae68f7e37370a40c1d55b402f0a26228f46d006e9010c2a1ff24
-MD5 391d0aa9ce72b4f5ddeedd67d4a31d5f ChangeLog 539
-RMD160 d6c8eb38bcf697bf4d25c7eb6a826c983d999513 ChangeLog 539
-SHA256 154bf177c033ae68f7e37370a40c1d55b402f0a26228f46d006e9010c2a1ff24 ChangeLog 539
+EBUILD ruby-pcap-0.6.ebuild 648 RMD160 83194300add004a3c70ab04d4a7db7333e84226a SHA1 a07ccf137fb53d5b4b8963d7197921066fb9fb69 SHA256 90e99d2ad8849ede015f39e4307be17ee77ba81054e8427b7a03f71abad4da32
+MD5 c0c2f1fa977f5b98808d28a57bf0933e ruby-pcap-0.6.ebuild 648
+RMD160 83194300add004a3c70ab04d4a7db7333e84226a ruby-pcap-0.6.ebuild 648
+SHA256 90e99d2ad8849ede015f39e4307be17ee77ba81054e8427b7a03f71abad4da32 ruby-pcap-0.6.ebuild 648
+MISC ChangeLog 727 RMD160 e9ae1c26f9fdb07db9462521374b8cc2c3ef1eed SHA1 91033483b4c22d76ee090d81023bee55c69f0e98 SHA256 04c0693af8fb8ae662776677e96e7fe8d932a6f662ffb5d84c37395c4d149a0f
+MD5 6fb45e2e5f6ffd513bbcfcec18214171 ChangeLog 727
+RMD160 e9ae1c26f9fdb07db9462521374b8cc2c3ef1eed ChangeLog 727
+SHA256 04c0693af8fb8ae662776677e96e7fe8d932a6f662ffb5d84c37395c4d149a0f ChangeLog 727
MISC metadata.xml 158 RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 SHA1 7ac646714b1ab83fda98f3ccdd8b48a31c148b27 SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032
MD5 b522b82d2c47bc548a6607f0f577ab5e metadata.xml 158
RMD160 097f8145a9994f98be4971b43b23b9e5e8bccb66 metadata.xml 158
@@ -14,3 +21,10 @@ SHA256 70b396ab3c7a63a81cb895b7728bd9eccdc9770afdb9919f2c54694b685f7032 metadata
MD5 c5433c303b46815c451778f40fb8cfab files/digest-ruby-pcap-0.6 238
RMD160 a4801e7023a9b2ca9429ad6e7129951709e6d9fb files/digest-ruby-pcap-0.6 238
SHA256 f01f35c064c6f7e3408c06d9106bcb765017b39e4eb6861cda8f252ffd55bd45 files/digest-ruby-pcap-0.6 238
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.7 (GNU/Linux)
+
+iD8DBQFGtNV00BM77Tkv120RAnFxAJ9jJ7tBJO/MB+Y6SkdLEuiUCso5KACg85sZ
+TWyndum/sgW2nmViZ0wh1Qw=
+=Kz6D
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/ruby-pcap/files/ruby-pcap-0.6-fixnum.patch b/dev-ruby/ruby-pcap/files/ruby-pcap-0.6-fixnum.patch
new file mode 100644
index 000000000000..406eed25a7ea
--- /dev/null
+++ b/dev-ruby/ruby-pcap/files/ruby-pcap-0.6-fixnum.patch
@@ -0,0 +1,15 @@
+--- Pcap.c.orig 2007-08-04 21:32:58.837581638 +0200
++++ Pcap.c 2007-08-04 21:33:36.523548516 +0200
+@@ -782,9 +782,9 @@
+ /* define class PcapStat */
+ cPcapStat = rb_funcall(rb_cStruct, rb_intern("new"), 4,
+ Qnil,
+- INT2NUM(rb_intern("recv")),
+- INT2NUM(rb_intern("drop")),
+- INT2NUM(rb_intern("ifdrop")));
++ ID2SYM(rb_intern("recv")),
++ ID2SYM(rb_intern("drop")),
++ ID2SYM(rb_intern("ifdrop")));
+ rb_define_const(mPcap, "Stat", cPcapStat);
+
+ /* define exception classes */
diff --git a/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild b/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild
index c15eb9bb6862..ab9cf9e968a2 100644
--- a/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild
+++ b/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild,v 1.2 2007/01/21 08:17:15 pclouds Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-pcap/ruby-pcap-0.6.ebuild,v 1.3 2007/08/04 19:37:18 graaff Exp $
RUBY_BUG_145222=yes
inherit ruby
@@ -14,7 +14,9 @@ SRC_URI="http://www.goto.info.waseda.ac.jp/%7efukusima/ruby/${P}.tar.gz"
SLOT="0"
USE_RUBY="ruby16 ruby18"
LICENSE="GPL-2"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
DEPEND="net-libs/libpcap"
S="${WORKDIR}/pcap"
+
+PATCHES="${FILESDIR}/ruby-pcap-0.6-fixnum.patch"