diff options
author | Rodeo <[email protected]> | 2013-12-05 14:01:55 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-12-05 14:01:55 +0000 |
commit | 191c1649ce534fbf8375e9db555f8a855e76b9dc (patch) | |
tree | 0f00ff48dd538571e3d1306cba5178ba1c99f5f5 /contrib | |
parent | e1764eb3ae1fb59c2d10b5fdbafc865fc7d22d80 (diff) |
libbluray: fix forgotten patch after last commit.
Patch by icchan. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5916 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libbluray/A02-gnu99.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/contrib/libbluray/A02-gnu99.patch b/contrib/libbluray/A02-gnu99.patch new file mode 100644 index 000000000..0ac5a655f --- /dev/null +++ b/contrib/libbluray/A02-gnu99.patch @@ -0,0 +1,42 @@ +--- libbluray-0.2.3/src/Makefile.am.bak Fri Aug 17 07:27:32 2012 ++++ libbluray-0.2.3/src/Makefile.am Thu Nov 28 00:46:47 2013 +@@ -8,7 +8,7 @@ + SET_DEBUG_OPTS = @SET_DEBUG_OPTS@ + SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray/bdnav + +-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_WARNINGS) $(SET_OPTIMIZATIONS) \ ++AM_CFLAGS = -std=gnu99 $(SET_FEATURES) $(SET_WARNINGS) $(SET_OPTIMIZATIONS) \ + $(SET_DEBUG_OPTS) $(SET_INCLUDES) $(LIBXML2_CFLAGS) + CFLAGS=$(shell test -z "$$CFLAGS" || echo "$$CFLAGS") + +--- libbluray-0.2.3/src/Makefile.in.bak Fri Aug 17 07:31:46 2012 ++++ libbluray-0.2.3/src/Makefile.in Thu Nov 28 00:46:47 2013 +@@ -353,7 +353,7 @@ + SUBDIRS = . examples + SET_FEATURES = -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200809L -D_REENTRANT + SET_INCLUDES = -I$(top_srcdir) -Ifile -Ilibbluray/bdnav +-AM_CFLAGS = -std=c99 $(SET_FEATURES) $(SET_WARNINGS) \ ++AM_CFLAGS = -std=gnu99 $(SET_FEATURES) $(SET_WARNINGS) \ + $(SET_OPTIMIZATIONS) $(SET_DEBUG_OPTS) $(SET_INCLUDES) \ + $(LIBXML2_CFLAGS) $(am__append_2) + SOURCES_bdj = libbluray/bdj/bdj.h \ +--- libbluray-0.2.3/configure.ac.bak Fri Aug 17 07:27:32 2012 ++++ libbluray-0.2.3/configure.ac Thu Nov 28 01:18:14 2013 +@@ -163,13 +163,13 @@ + # function testing for supported compiler options + check_cc_options() + { +- local tmpfile=$(mktemp XXXXXXXXXX) +- local tmpcfile="$tmpfile.c" ++ tmpfile=$(mktemp XXXXXXXXXX) ++ tmpcfile="$tmpfile.c" + mv $tmpfile $tmpcfile +- local retval=1 ++ retval=1 + printf "Checking if compiler supports $@... " + if $CC -c $@ $tmpcfile -o /dev/null >/dev/null 2>&1; then +- local retval=0 ++ retval=0 + fi + rm $tmpcfile + if [[ $retval = "0" ]]; then |