summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/flrig/files')
-rw-r--r--media-radio/flrig/files/fix-bashism.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/media-radio/flrig/files/fix-bashism.patch b/media-radio/flrig/files/fix-bashism.patch
new file mode 100644
index 000000000000..53dac6b27d6c
--- /dev/null
+++ b/media-radio/flrig/files/fix-bashism.patch
@@ -0,0 +1,11 @@
+--- m4/fltk.m4.orig 2014-12-13 13:46:29.000000000 +0100
++++ m4/fltk.m4 2014-12-13 14:03:44.000000000 +0100
+@@ -38,7 +38,7 @@
+ FLTK_LIBS=`$FLTK_CONFIG --ldflags --use-images`
+ if test "x$target_mingw32" != "xyes"; then
+ if test "x$target_darwin" != "xyes"; then
+- if grep -q "lX11" <<< "$FLTK_LIBS"; then
++ if echo "$FLTK_LIBS" | grep -q "lX11" ; then
+ FLTK_LIBS="$FLTK_LIBS";
+ else
+ FLTK_LIBS="$FLTK_LIBS -lm -lX11";