From 5e09432b45f5eb07f66eb1f60d026a11a62b4a90 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Thu, 15 Nov 2001 23:06:04 +0000 Subject: * Add workaround for parser bug in FreeBSD's /bin/sh prior to 4.4. * NetBSD changed their search engine; fix submitted by Jason Harris . --- www/surfraw/files/patch-elvi_netbsd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 www/surfraw/files/patch-elvi_netbsd (limited to 'www/surfraw/files/patch-elvi_netbsd') diff --git a/www/surfraw/files/patch-elvi_netbsd b/www/surfraw/files/patch-elvi_netbsd new file mode 100644 index 000000000000..88f5ab4d2a0e --- /dev/null +++ b/www/surfraw/files/patch-elvi_netbsd @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- elvi/netbsd.orig Thu Nov 8 15:36:12 2001 ++++ elvi/netbsd Thu Nov 8 15:37:01 2001 +@@ -68,6 +68,6 @@ + if test -z "$escaped_args"; then + w3_browse_url "http://www.netbsd.org/" + else +- w3_browse_url "http://www.netbsd.org/cgi-bin/htsearch?method=and&format=builtin-long&sort=score&config=htdig&words=${escaped_args}" ++ w3_browse_url "http://www.google.com/custom?q=${escaped_args}&cof=LW%3A247%3BL%3Ahttp%3A%2F%2Fwww.netbsd.org%2Fimages%2FNetBSD-smaller.jpg%3BLH%3A241%3BAH%3Acenter%3BAWFID%3A4f6b0499f0f58d2c%3B&domains=netbsd.org&sitesearch=netbsd.org" + fi + exit $? -- cgit v1.2.3