[SCM] libav/experimental: Fix suncc ident string (hopefully)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:13:19 UTC 2013


The following commit has been merged in the experimental branch:
commit 448f5b83a7226d1d3763bb9b25e42f66cc8f4b93
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Aug 1 16:13:12 2010 +0000

    Fix suncc ident string (hopefully)
    
    Originally committed as revision 24652 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 624c5ae..4619ab1 100755
--- a/configure
+++ b/configure
@@ -1889,7 +1889,7 @@ elif $cc -v 2>&1 | grep -q clang; then
 elif $cc -V 2>&1 | grep -q Sun; then
     cc_type=suncc
     cc_version="AV_STRINGIFY(__SUNPRO_C)"
-    cc_ident=$($cc -V | head -n1)
+    cc_ident=$($cc -V 2>&1 | head -n1 | cut -d' ' -f 2-)
     DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
     DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -xM1'
     speed_cflags='-O5'

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list