aboutsummaryrefslogtreecommitdiff
path: root/www/mod_ruby/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2006-02-20 08:53:14 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2006-02-20 08:53:14 +0000
commitda2dbcdfa15cc6689848a1efd0608da033676d75 (patch)
treed63e642ec0f31f6fb4d0c7b2e17d2286781be834 /www/mod_ruby/files
parent78ed31c71e115aaee9456669ef9ed07f258b34dd (diff)
- updated to 1.2.5
- ipv6 patch now included in distribution
Notes
Notes: svn path=/head/; revision=156474
Diffstat (limited to 'www/mod_ruby/files')
-rw-r--r--www/mod_ruby/files/patch-connection.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/www/mod_ruby/files/patch-connection.c b/www/mod_ruby/files/patch-connection.c
deleted file mode 100644
index 88905bd70ef1..000000000000
--- a/www/mod_ruby/files/patch-connection.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- connection.c.orig Fri Jul 16 11:16:29 2004
-+++ connection.c Fri Sep 9 06:38:14 2005
-@@ -100,8 +100,12 @@
- #ifdef APACHE2
- return INT2NUM(conn->local_addr->port);
- #else
-+#ifdef APACHE6
-+ return INT2NUM(ntohs(((struct sockaddr_in *)&conn->local_addr)->sin_port));
-+#else
- return INT2NUM(ntohs(conn->local_addr.sin_port));
- #endif
-+#endif
- }
-
- static VALUE connection_remote_port(VALUE self)
-@@ -112,7 +116,11 @@
- #ifdef APACHE2
- return INT2NUM(conn->remote_addr->port);
- #else
-+#ifdef APACHE6
-+ return INT2NUM(ntohs(((struct sockaddr_in *)&conn->remote_addr)->sin_port));
-+#else
- return INT2NUM(ntohs(conn->remote_addr.sin_port));
-+#endif
- #endif
- }
-