Skip to content

Instantly share code, notes, and snippets.

@i386
Created July 21, 2012 01:17
Show Gist options
  • Save i386/3154134 to your computer and use it in GitHub Desktop.
Save i386/3154134 to your computer and use it in GitHub Desktop.
gstreamer patch
diff --git a/configure b/configure
index 0af896d..20e6576 100755
--- a/configure
+++ b/configure
@@ -21304,7 +21304,7 @@ fi
fi
flex_min_version=2.5.31
- flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[a-zA-Z]*$//' | cut -d' ' -f1`
+ flex_version=`$FLEX_PATH --version | head -n 1 | awk '{print $2'}`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version $flex_version >= $flex_min_version" >&5
$as_echo_n "checking flex version $flex_version >= $flex_min_version... " >&6; }
if perl -w <<EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment