diff options
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 */ |