Bug 123313 - Patch that fixes net/ruby-pcap module fixnums warnings
Summary: Patch that fixes net/ruby-pcap module fixnums warnings
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-01 22:30 UTC by Dave Duchscher
Modified: 2009-01-08 17:20 UTC (History)
0 users

See Also:


Attachments
patch-Pcap.c (524 bytes, text/plain)
2008-05-01 22:30 UTC, Dave Duchscher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Duchscher 2008-05-01 22:30:00 UTC
	Module issues the following warnings everytime it is loaded:

	  /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd7/pcap.so: warning: do not use Fixnums as Symbols
	  /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd7/pcap.so: warning: do not use Fixnums as Symbols
	  /usr/local/lib/ruby/site_ruby/1.8/i386-freebsd7/pcap.so: warning: do not use Fixnums as Symbols

How-To-Repeat: 
	Load module in ruby script.

	  require 'pcaplet'
Comment 1 Dave Duchscher 2008-05-02 03:32:36 UTC
Forgot to add, this fix comes from Gentoo bug report 186838.

http://bugs.gentoo.org/show_bug.cgi?id=186838
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2008-05-03 00:45:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

clsung@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2009-01-08 13:35:55 UTC
Responsible Changed
From-To: clsung->stefan

Take. (Committer timeout: >7 months)
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2009-01-08 17:19:00 UTC
State Changed
From-To: open->closed

Patch committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-01-08 17:19:00 UTC
stefan      2009-01-08 17:18:48 UTC

  FreeBSD ports repository

  Modified files:
    net/ruby-pcap        Makefile 
  Added files:
    net/ruby-pcap/files  patch-Pcap.c 
  Log:
  Add a fix for warnings emitted every time the module is loaded.
  
  PR:             123313
  Submitted by:   David Duchscher <daved@tamu.edu>
  
  Revision  Changes    Path
  1.6       +1 -1      ports/net/ruby-pcap/Makefile
  1.1       +15 -0     ports/net/ruby-pcap/files/patch-Pcap.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"