summaryrefslogtreecommitdiffstats
path: root/audio/mp4tools/mp4tools-wx-config.patch
blob: 7b73e52ab2baced66a5e0d0adc95bc1e032c3f39 (plain)
--- configure.orig	2017-03-20 21:25:19.000000000 +0100
+++ configure	2017-09-01 12:40:14.860865091 +0200
@@ -4601,18 +4601,18 @@
 
     WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
     wx_config_major_version=`echo $WX_VERSION | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'`
     wx_config_minor_version=`echo $WX_VERSION | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'`
     wx_config_micro_version=`echo $WX_VERSION | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'`
 
     wx_requested_major_version=`echo $min_wx_version | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\1/'`
     wx_requested_minor_version=`echo $min_wx_version | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\2/'`
     wx_requested_micro_version=`echo $min_wx_version | \
-           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
+           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\).*/\3/'`
 
 
     wx_ver_ok=""