From 071086a72a9f92313b4884d035050bf0b53309f7 Mon Sep 17 00:00:00 2001 From: bad Date: Tue, 11 May 1999 14:03:13 +0000 Subject: Initial import of p5-Wais version 2.311. A Perl module to interact with WAIS servers. --- net/p5-Wais/patches/patch-aa | 31 +++++++++++++++++++++++++++++++ net/p5-Wais/patches/patch-ab | 13 +++++++++++++ net/p5-Wais/patches/patch-ac | 22 ++++++++++++++++++++++ 3 files changed, 66 insertions(+) create mode 100644 net/p5-Wais/patches/patch-aa create mode 100644 net/p5-Wais/patches/patch-ab create mode 100644 net/p5-Wais/patches/patch-ac (limited to 'net/p5-Wais/patches') diff --git a/net/p5-Wais/patches/patch-aa b/net/p5-Wais/patches/patch-aa new file mode 100644 index 00000000000..fb52871eac0 --- /dev/null +++ b/net/p5-Wais/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $ + +--- Makefile.PL.orig Mon Aug 3 18:59:14 1998 ++++ Makefile.PL Tue May 11 01:07:10 1999 +@@ -32,7 +32,7 @@ + 'PREREQ_PM' => { Curses => 0, + }, + 'LIBS' => "-L$Config{ldflags} -lwais", +- 'INC' => "-DWAIS_USES_STDIO -I$Config{cppflags}", ++ 'INC' => "-DWAIS_USES_STDIO $Config{cppflags}", + 'NAME' => 'Wais', + 'VERSION_FROM' => 'lib/Wais.pm', + 'DEFINE' => '-DTRACE=0', +@@ -42,7 +42,7 @@ + PREOP => 'pod2text lib/Wais.pm > README; pod2text install > INSTALL', + }, + 'MAP_TARGET' => 'waisperl', +- 'EXE_FILES' => [ qw(script/inspect script/makedb) ], ++ 'EXE_FILES' => [ qw(script/inspect) ], + ); + + +@@ -55,7 +55,7 @@ + my $self = shift; + + qq[ +-install :: register ++#install :: register + + register :: + \t] . $self->{NOECHO} . q[$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \ diff --git a/net/p5-Wais/patches/patch-ab b/net/p5-Wais/patches/patch-ab new file mode 100644 index 00000000000..26d86bc09d0 --- /dev/null +++ b/net/p5-Wais/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $ + +--- Wais.xs.orig Tue May 13 09:22:59 1997 ++++ Wais.xs Mon May 10 01:36:28 1999 +@@ -44,7 +44,7 @@ + init_Wais() + { + /* This is a hack to allow for embedding in freeWAIS-sf */ +-#ifndef HAS_GRUNDFORM /* freeWAIS-sf >= 2.1.1 */ ++#ifndef WAIS_EMBED /* freeWAIS-sf >= 2.1.1 */ + int my_perl_inited; + #else + extern int my_perl_inited; diff --git a/net/p5-Wais/patches/patch-ac b/net/p5-Wais/patches/patch-ac new file mode 100644 index 00000000000..820f1708266 --- /dev/null +++ b/net/p5-Wais/patches/patch-ac @@ -0,0 +1,22 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/05/11 14:03:13 bad Exp $ + +--- lib/Wais.pm.orig Mon Aug 3 18:59:14 1998 ++++ lib/Wais.pm Mon May 10 23:58:41 1999 +@@ -197,7 +197,7 @@ + last unless $message; + $presult = &Wais::Search::new($message); + $result->add('document', $presult); +- last if length($presult->text) != $Wais::CHARS_PER_PAGE; ++ last if length($result->text) != $Wais::CHARS_PER_PAGE; + } + } else { + $fh = new IO::Socket::INET(PeerAddr => $host, +@@ -215,7 +215,7 @@ + $fh->read($message, $length); + $presult = &Wais::Search::new($message); + $result->add('document', $presult); +- last if length($presult->text) != $Wais::CHARS_PER_PAGE; ++ last if length($result->text) != $Wais::CHARS_PER_PAGE; + } + $fh->close; + } -- cgit v1.2.3