pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/gstreamer0.10 added a patch to ensure that ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f717e5953a90
branches:  trunk
changeset: 361215:f717e5953a90
user:      schwarz <schwarz%pkgsrc.org@localhost>
date:      Mon Apr 17 19:50:06 2017 +0000

description:
added a patch to ensure that configure does not break when the --version
output of flex contains more than one space character (which is the case
on MacOS X El Capitan, for example)

diffstat:

 multimedia/gstreamer0.10/distinfo                |   3 ++-
 multimedia/gstreamer0.10/patches/patch-configure |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r 54b7de23e530 -r f717e5953a90 multimedia/gstreamer0.10/distinfo
--- a/multimedia/gstreamer0.10/distinfo Mon Apr 17 12:50:24 2017 +0000
+++ b/multimedia/gstreamer0.10/distinfo Mon Apr 17 19:50:06 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.36 2015/11/03 23:54:26 agc Exp $
+$NetBSD: distinfo,v 1.37 2017/04/17 19:50:06 schwarz Exp $
 
 SHA1 (gstreamer-0.10.36.tar.bz2) = ff95b5316b920e7c2836588bba18fa61395fbd03
 RMD160 (gstreamer-0.10.36.tar.bz2) = 5dd01d8ea7afe98e96037bf73f995654f469096e
@@ -6,6 +6,7 @@
 Size (gstreamer-0.10.36.tar.bz2) = 3655705 bytes
 SHA1 (patch-aa) = bc10562292a005ec43d64401964eddf50d9aa1d5
 SHA1 (patch-af) = 9c3a045b4b7d17ca40edae513167bbba049aaa76
+SHA1 (patch-configure) = 31bbd85951bcd8b3f4b6c6e8d674bdf7b69480b5
 SHA1 (patch-gst_gstdatetime.c) = 67c23f098e8ebe4b85ed7b38013beb0363fc37e2
 SHA1 (patch-gst_gsttaglist.c) = 2adc4ecf335046e2d668b5965e0fe4847a64c59a
 SHA1 (patch-gst_parse_grammar.y) = 73cf46f94b436972666726d0f395ffcf8cf5abc2
diff -r 54b7de23e530 -r f717e5953a90 multimedia/gstreamer0.10/patches/patch-configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gstreamer0.10/patches/patch-configure  Mon Apr 17 19:50:06 2017 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-configure,v 1.1 2017/04/17 19:50:06 schwarz Exp $
+
+make sure that the --version output of flex is parsed correctly to extract
+the version number even if it contains more than one space character
+(this is the case on MacOS X El Capitan, for example)
+
+--- configure.orig     2017-04-05 23:38:48.000000000 +0200
++++ configure  2017-04-05 23:39:32.000000000 +0200
+@@ -21304,7 +21304,7 @@
+   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 | sed 's/^[^ ]* //' | sed 's/[a-zA-Z]*$//' | cut -d' ' -f1`
+   { $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



Home | Main Index | Thread Index | Old Index