diff options
Diffstat (limited to 'www/surfraw/files')
-rw-r--r-- | www/surfraw/files/patch-ab | 15 | ||||
-rw-r--r-- | www/surfraw/files/patch-elvi_netbsd | 13 |
2 files changed, 28 insertions, 0 deletions
diff --git a/www/surfraw/files/patch-ab b/www/surfraw/files/patch-ab new file mode 100644 index 000000000000..b49e59518441 --- /dev/null +++ b/www/surfraw/files/patch-ab @@ -0,0 +1,15 @@ + +$FreeBSD$ + +--- surfraw.in.orig Thu Nov 8 16:01:43 2001 ++++ surfraw.in Thu Nov 8 16:02:46 2001 +@@ -266,7 +266,8 @@ + } + + w3_browse_url () { +- if ok SURFRAW_new_screen && ! test -z "$STY" && ! ok SURFRAW_graphical; then ++ # work around /bin/sh parser bug in FreeBSD prior to 4.4 ++ if ok SURFRAW_new_screen && { ! test -z "$STY"; } && { ! ok SURFRAW_graphical; }; then + screen=yes + else + screen=no 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 $? |