summaryrefslogtreecommitdiff
path: root/www/surfraw/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/surfraw/files/patch-ab')
-rw-r--r--www/surfraw/files/patch-ab15
1 files changed, 15 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