ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/mplayer/files/extra-patch-clang-version
Revision: 18315
Committed: Wed Mar 25 19:18:51 2015 UTC (9 years, 2 months ago) by laffer1
Content type: text/plain
File size: 819 byte(s)
Log Message:
update mplayer to 1.1.20141223. based on freebsd port

File Contents

# Content
1 --- configure.orig 2013-03-10 17:43:53.684182000 +0100
2 +++ configure 2013-03-10 17:47:47.157190568 +0100
3 @@ -1614,7 +1614,7 @@
4 if $_cc -v 2>&1 | grep -q "clang"; then
5 echocheck "$_cc version"
6 cc_vendor=clang
7 - cc_version=$($_cc -dumpversion 2>&1)
8 + cc_version=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 4)
9 res_comment="experimental support only"
10 echores "clang $cc_version"
11 break
12 --- Makefile.orig 2013-03-10 17:44:21.865184000 +0100
13 +++ Makefile 2013-03-10 17:47:47.248184374 +0100
14 @@ -792,7 +792,7 @@
15
16 # rebuild version.h each time the working copy is updated
17 version.h: version.sh $(wildcard .svn/entries .git/logs/HEAD)
18 - ./$< `$(CC) -dumpversion`
19 + ./$< `$(CC) -v 2>&1 | head -n 1 | cut -d ' ' -f 4`
20
21 %$(EXESUF): %.c
22 $(CC) $(CC_DEPFLAGS) $(CFLAGS) -o $@ $^

Properties

Name Value
svn:eol-style native
svn:mime-type text/plain