+maypole (2.11+2.111-2) unstable; urgency=low
+
+ * Added clone handling to improve compatibility with Apache's
+ multithreaded MPMs (109_handle-clone.diff)
+
+ -- Ben Hutchings <ben@decadent.org.uk> Sun, 16 Sep 2007 23:59:29 +0100
+
maypole (2.11+2.111-1) unstable; urgency=low
* New upstream version
--- /dev/null
+--- trunk.orig/lib/Maypole/Model/Base.pm
++++ trunk/lib/Maypole/Model/Base.pm
+@@ -12,14 +12,23 @@
+ shift; # class name not used
+ my ($coderef, @attrs) = @_;
+
+- $remember{$coderef} = \@attrs;
++ $remember{$coderef} = [$coderef, \@attrs];
+
+ # previous version took care to return an empty array, not sure why,
+ # but shall cargo cult it until know better
+ return;
+ }
+
+-sub FETCH_CODE_ATTRIBUTES { @{ $remember{$_[1]} || [] } }
++sub FETCH_CODE_ATTRIBUTES { @{ $remember{$_[1]}->[1] || [] } }
++
++sub CLONE {
++ # re-hash %remember
++ for my $key (keys %remember) {
++ my $value = delete $remember{$key};
++ $key = $value->[0];
++ $remember{$key} = $value;
++ }
++}
+
+ sub process {
+ my ( $class, $r ) = @_;
106_fix-_column_info-clash.diff
107_make-examples-consistent.diff
108_fix-uris.diff
+109_handle-clone.diff
201_no-file-mmagic-xs.diff
202_fix-example-references.diff