Working patch to 5.36, which improves Mojo::Template
performance.

I'm not sure how we should deal with the tests...on my side 2
tests fail.

- ioloop_ipv6

I don't use IPv6, so in my case this test should be skipped by
not setting TEST_IPV6 in Makefile

 
- user_agent_online

Doesn't work for me out of the box during all my tests from
3.xx -> 5.36.


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    15 May 2014 22:30:08 -0000      1.13
+++ Makefile    3 Sep 2014 16:08:57 -0000
@@ -3,7 +3,7 @@
 COMMENT =      next generation web framework
 
 MODULES =      cpan
-DISTNAME =     Mojolicious-4.99
+DISTNAME =     Mojolicious-5.36
 CATEGORIES =   www
 
 MAINTAINER =   Simon Bertrang <si...@openbsd.org>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo    15 May 2014 22:30:08 -0000      1.10
+++ distinfo    3 Sep 2014 16:08:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mojolicious-4.99.tar.gz) = oc2usV+fawcyZxVzku5QhiTkGD/cFvqOXaOiNXoPtyg=
-SIZE (Mojolicious-4.99.tar.gz) = 633846
+SHA256 (Mojolicious-5.36.tar.gz) = 89FCrgSHWaSTKyV3IXA254QMKWLZOb16tJRT+60F7fg=
+SIZE (Mojolicious-5.36.tar.gz) = 650236
Index: patches/patch-lib_Mojo_IOLoop_Server_pm
===================================================================
RCS file: patches/patch-lib_Mojo_IOLoop_Server_pm
diff -N patches/patch-lib_Mojo_IOLoop_Server_pm
--- patches/patch-lib_Mojo_IOLoop_Server_pm     15 May 2014 22:30:08 -0000      
1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
-$OpenBSD: patch-lib_Mojo_IOLoop_Server_pm,v 1.1 2014/05/15 22:30:08 bluhm Exp $
-https://github.com/kraih/mojo/issues/622
-
---- lib/Mojo/IOLoop/Server.pm.orig     Sun May 11 20:27:28 2014
-+++ lib/Mojo/IOLoop/Server.pm  Tue May 13 23:04:55 2014
-@@ -127,7 +127,7 @@ sub _accept {
-     # Start TLS handshake
-     $self->emit_safe(accept => $handle) and next unless my $tls = 
$self->{tls};
-     $self->_handshake($self->{handles}{$handle} = $handle)
--      if $handle = IO::Socket::SSL->start_SSL($handle, %$tls);
-+      if $handle = IO::Socket::SSL->start_SSL($handle, %$tls, SSL_server => 
1);
-   }
- }
- 


-- 
Mark Patruck ( mark at wrapped.cx )
GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74  F644 0D3C F66F F286 5E51

http://www.wrapped.cx

Reply via email to