summaryrefslogtreecommitdiff
path: root/net/p5-Wais/patches
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-05-11 14:03:13 +0000
committerbad <bad@pkgsrc.org>1999-05-11 14:03:13 +0000
commit071086a72a9f92313b4884d035050bf0b53309f7 (patch)
tree94b20320407348db2fbfb1d06b7a2268c6880529 /net/p5-Wais/patches
parent41b7156e14aac26e282dee99f7806d6dd4c9f3c5 (diff)
downloadpkgsrc-071086a72a9f92313b4884d035050bf0b53309f7.tar.gz
Initial import of p5-Wais version 2.311. A Perl module to interact with
WAIS servers.
Diffstat (limited to 'net/p5-Wais/patches')
-rw-r--r--net/p5-Wais/patches/patch-aa31
-rw-r--r--net/p5-Wais/patches/patch-ab13
-rw-r--r--net/p5-Wais/patches/patch-ac22
3 files changed, 66 insertions, 0 deletions
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;
+ }