updated on Thu Jan 12 00:00:55 UTC 2012
[aur-mirror.git] / lxr / misc.patch
blobd8606d11b8286ecf02ac200ecfdb917da78cff42
1 diff -uNr lxr-0.9.10.org/diff lxr-0.9.10/diff
2 --- lxr-0.9.10.org/diff 2011-05-07 14:55:19.000000000 +0200
3 +++ lxr-0.9.10/diff 2011-06-22 21:11:58.543189560 +0200
4 @@ -26,6 +26,7 @@
5 $CVSID = '$Id: diff,v 1.20 2011/05/07 12:55:19 ajlittoz Exp $ ';
7 use strict;
8 +use lib '/usr/share/perl5/vendor_perl/LXR';
9 use lib '.'; # for Local.pm
10 use lib do { $0 =~ m{(.*)/} ? "$1/lib" : "lib" }; # if LXR modules are in ./lib
12 diff -uNr lxr-0.9.10.org/genxref lxr-0.9.10/genxref
13 --- lxr-0.9.10.org/genxref 2009-05-14 23:13:07.000000000 +0200
14 +++ lxr-0.9.10/genxref 2011-06-22 21:11:58.543189560 +0200
15 @@ -191,7 +191,7 @@
16 open($swish,
17 "| "
18 . $config->swishbin
19 - . " -S prog -i stdin -v 1 -c swish-e.conf -f "
20 + . " -S prog -i stdin -v 1 -c /etc/lxr/swish-e.conf -f "
21 . $config->swishdir . "/"
22 . $releaseid
23 . ".index")
24 diff -uNr lxr-0.9.10.org/ident lxr-0.9.10/ident
25 --- lxr-0.9.10.org/ident 2011-04-08 17:49:57.000000000 +0200
26 +++ lxr-0.9.10/ident 2011-06-22 21:11:58.543189560 +0200
27 @@ -26,6 +26,7 @@
28 $CVSID = '$Id: ident,v 1.29 2011/04/08 15:49:57 ajlittoz Exp $ ';
30 use strict;
31 +use lib '/usr/share/perl5/vendor_perl/LXR';
32 use lib '.'; # for Local.pm
33 use lib do { $0 =~ m{(.*)/} ? "$1/lib" : "lib" }; # if LXR modules are in ./lib
35 diff -uNr lxr-0.9.10.org/lib/LXR/Common.pm lxr-0.9.10/lib/LXR/Common.pm
36 --- lxr-0.9.10.org/lib/LXR/Common.pm 2011-06-10 17:48:35.000000000 +0200
37 +++ lxr-0.9.10/lib/LXR/Common.pm 2011-06-22 21:11:58.543189560 +0200
38 @@ -23,6 +23,7 @@
39 $CVSID = '$Id: Common.pm,v 1.82 2011/06/10 15:48:35 ajlittoz Exp $ ';
41 use strict;
42 +use lib '/usr/share/perl5/vendor_perl/LXR';
44 require Exporter;
46 diff -uNr lxr-0.9.10.org/lib/LXR/Config.pm lxr-0.9.10/lib/LXR/Config.pm
47 --- lxr-0.9.10.org/lib/LXR/Config.pm 2011-06-10 19:08:11.000000000 +0200
48 +++ lxr-0.9.10/lib/LXR/Config.pm 2011-06-22 21:11:58.546522893 +0200
49 @@ -67,7 +67,7 @@
50 $url .= '/' unless $url =~ m#/$#; # append / if necessary
52 unless ($confpath) {
53 - ($confpath) = ($0 =~ /(.*?)[^\/]*$/);
54 + $confpath = '/etc/lxr/';
55 $confpath .= $confname;
58 diff -uNr lxr-0.9.10.org/search lxr-0.9.10/search
59 --- lxr-0.9.10.org/search 2011-04-08 21:13:51.000000000 +0200
60 +++ lxr-0.9.10/search 2011-06-22 21:11:58.546522893 +0200
61 @@ -26,6 +26,7 @@
62 $CVSID = '$Id: search,v 1.35 2011/04/08 19:13:51 ajlittoz Exp $ ';
64 use strict;
65 +use lib '/usr/share/perl5/vendor_perl/LXR';
66 use lib '.'; # for Local.pm
67 use lib do { $0 =~ m{(.*)/} ? "$1/lib" : "lib" }; # if LXR modules are in ./lib
69 diff -uNr lxr-0.9.10.org/source lxr-0.9.10/source
70 --- lxr-0.9.10.org/source 2011-04-08 18:00:43.000000000 +0200
71 +++ lxr-0.9.10/source 2011-06-22 21:11:58.546522893 +0200
72 @@ -27,6 +27,7 @@
73 $CVSID = '$Id: source,v 1.50 2011/04/08 16:00:43 ajlittoz Exp $ ';
75 use strict;
76 +use lib '/usr/share/perl5/vendor_perl/LXR';
77 use lib '.'; # for Local.pm
78 use lib do { $0 =~ m{(.*)/} ? "$1/lib" : "lib" }; # if LXR modules are in ./lib