aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-08-07 11:01:41 -0400
committerJoey Hess <joey@kitenet.net>2011-08-07 11:01:41 -0400
commit18730954841ce6aecdbcf08f232960e19708f753 (patch)
tree1e81e28287798a92b6dfec3b54635be004c624bf /IkiWiki
parentf4f5a2f40a2e8057cd682c0ec60978c7dad6f38b (diff)
downloadikiwiki-18730954841ce6aecdbcf08f232960e19708f753.tar
ikiwiki-18730954841ce6aecdbcf08f232960e19708f753.tar.gz
Put in a workaround for #622591, by ensuring Search::Xapian gets loaded before Image::Magick.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/search.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm
index ab7c0eebb..8138cd67f 100644
--- a/IkiWiki/Plugin/search.pm
+++ b/IkiWiki/Plugin/search.pm
@@ -15,6 +15,8 @@ sub import {
hook(type => "cgi", id => "search", call => \&cgi);
hook(type => "disable", id => "search", call => \&disable);
hook(type => "needsbuild", id => "search", call => \&needsbuild);
+
+ eval q{ use Search::Xapian }; # load early to work around #622591
}
sub getsetup () {