/[pkgs]/rpms/perl-Net-DNS/F-10/perl-Net-DNS-upstream.patch
ViewVC logotype

Contents of /rpms/perl-Net-DNS/F-10/perl-Net-DNS-upstream.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon May 12 09:54:37 2008 UTC (18 months, 2 weeks ago) by mmaslano
Branch: MAIN
CVS Tags: F-10-start, perl-Net-DNS-0_63-4_fc10, F-10-split, HEAD
File MIME type: text/x-patch
437681 remove previous patch and use upstream patch, which should solve
        all problems with noisy logs.
1 diff -up Net-DNS-0.63/lib/Net/DNS.pm.old Net-DNS-0.63/lib/Net/DNS.pm
2 --- Net-DNS-0.63/lib/Net/DNS.pm.old 2008-02-08 16:25:54.000000000 +0100
3 +++ Net-DNS-0.63/lib/Net/DNS.pm 2008-05-12 10:26:14.000000000 +0200
4 @@ -38,17 +38,32 @@ use vars qw(
5
6
7 BEGIN {
8 - require DynaLoader;
9 - require Exporter;
10 - @ISA = qw(Exporter DynaLoader);
11
12 + require Exporter;
13 + @ISA = qw(Exporter );
14 +# these need to live here because of dependencies further on.
15 + @EXPORT = qw(mx yxrrset nxrrset yxdomain nxdomain rr_add rr_del);
16 + @EXPORT_OK= qw(name2labels wire2presentation rrsort stripdot);
17
18 $VERSION = '0.63';
19 $SVNVERSION = (qw$LastChangedRevision: 710 $)[1];
20
21 $HAVE_XS = eval {
22 local $SIG{'__DIE__'} = 'DEFAULT';
23 - __PACKAGE__->bootstrap(); 1
24 +
25 +
26 + eval {
27 + require XSLoader;
28 + XSLoader::load('Net::DNS', $VERSION);
29 + 1;
30 + } or do {
31 +
32 + require DynaLoader;
33 + push @ISA, 'DynaLoader';
34 + bootstrap Net::DNS $VERSION;
35 + 1;
36 + };
37 +
38 } ? 1 : 0;
39
40 }

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2