summaryrefslogtreecommitdiff
path: root/www/surfraw/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2008-07-30 10:21:27 +0000
committerdrochner <drochner@pkgsrc.org>2008-07-30 10:21:27 +0000
commit3d045cc7f70d6dfee67e67fdb86a5be33d0dd2b3 (patch)
tree3557de46e515ee3fa39e223e5ba4eb4d131f764c /www/surfraw/patches
parenta49a859650e8cd719489dd6abce6929a39e15911 (diff)
downloadpkgsrc-3d045cc7f70d6dfee67e67fdb86a5be33d0dd2b3.tar.gz
fix a bashism, ride on recent update
Diffstat (limited to 'www/surfraw/patches')
-rw-r--r--www/surfraw/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/surfraw/patches/patch-ac b/www/surfraw/patches/patch-ac
new file mode 100644
index 00000000000..fdeb0ab4588
--- /dev/null
+++ b/www/surfraw/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2008/07/30 10:21:27 drochner Exp $
+
+--- elvi/google.orig 2008-07-08 21:42:02.000000000 +0200
++++ elvi/google
+@@ -53,7 +53,7 @@ w3_parse_args "$@"
+ # w3_args now contains a list of arguments
+
+ # Use SURFRAW_lang if present and the country has not been changed
+-if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" == "us"; then
++if test -n "$SURFRAW_lang" -a "$SURFRAW_google_country" = "us"; then
+ SURFRAW_google_country=$SURFRAW_lang;
+ fi
+