diff options
author | Hans de Graaff <graaff@gentoo.org> | 2007-08-04 19:37:18 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2007-08-04 19:37:18 +0000 |
commit | 9f5086e8c8ab5f66caf7d7f8a369e4adeabd9aaa (patch) | |
tree | a57e43f19036c787c6a705e4c4c58dacce7379c5 /dev-ruby/ruby-pcap/files | |
parent | whitespace (diff) | |
download | gentoo-2-9f5086e8c8ab5f66caf7d7f8a369e4adeabd9aaa.tar.gz gentoo-2-9f5086e8c8ab5f66caf7d7f8a369e4adeabd9aaa.tar.bz2 gentoo-2-9f5086e8c8ab5f66caf7d7f8a369e4adeabd9aaa.zip |
Add patch from bug 186838 to fix compatibility with newer ruby versions.
(Portage version: 2.1.2.11)
Diffstat (limited to 'dev-ruby/ruby-pcap/files')
-rw-r--r-- | dev-ruby/ruby-pcap/files/ruby-pcap-0.6-fixnum.patch | 15 |
1 files changed, 15 insertions, 0 deletions
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 */ |