[64760] trunk/dports/lang/ruby/files/patch-test_socket.rb

kimuraw at macports.org kimuraw at macports.org
Mon Mar 15 08:35:37 PDT 2010


Revision: 64760
          http://trac.macports.org/changeset/64760
Author:   kimuraw at macports.org
Date:     2010-03-15 08:35:36 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
lang/ruby: remove an unneeded patchfile (patch-bug15528.diff contains this change)

Removed Paths:
-------------
    trunk/dports/lang/ruby/files/patch-test_socket.rb

Deleted: trunk/dports/lang/ruby/files/patch-test_socket.rb
===================================================================
--- trunk/dports/lang/ruby/files/patch-test_socket.rb	2010-03-15 15:12:01 UTC (rev 64759)
+++ trunk/dports/lang/ruby/files/patch-test_socket.rb	2010-03-15 15:35:36 UTC (rev 64760)
@@ -1,17 +0,0 @@
---- test/socket/test_socket.rb.orig	2008-06-05 23:17:00.000000000 -0700
-+++ test/socket/test_socket.rb	2008-06-05 23:17:25.000000000 -0700
-@@ -57,6 +57,14 @@
-       }
-     end
-   end
-+  
-+  def test_getaddrinfo_raises_no_errors_on_port_argument_of_0
-+    # Added 2008-06-05 to ensure that Mac OS X 10.5.3's changes to getaddrinfo don't cause
-+    # Ruby's Socket-based classes to fail.
-+    # Here are two of the situations I found that were causing erroneous errors
-+    assert_nothing_raised(){Socket.getaddrinfo(Socket.gethostname, 0, Socket::AF_INET, Socket::SOCK_STREAM, nil, Socket::AI_CANONNAME)}
-+    assert_nothing_raised(){TCPServer.open('localhost', 0)}
-+  end
- 
-   def test_listen
-     s = nil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/6d1b6cf9/attachment.html>


More information about the macports-changes mailing list