summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/P01-solaris.patch
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-17 01:07:06 +0000
committerkonablend <[email protected]>2009-03-17 01:07:06 +0000
commita5e78ebff48244d281ec149c4f1b88cff328ef99 (patch)
tree59025ee28b65e577ef8d702dad23237aa876d6d9 /contrib/ffmpeg/P01-solaris.patch
parent7315884a151d06ee284bfebd294d151a9e59eb57 (diff)
BuildSystem: solaris port (work in progress)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2263 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/ffmpeg/P01-solaris.patch')
-rw-r--r--contrib/ffmpeg/P01-solaris.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/ffmpeg/P01-solaris.patch b/contrib/ffmpeg/P01-solaris.patch
new file mode 100644
index 000000000..f5cd7d726
--- /dev/null
+++ b/contrib/ffmpeg/P01-solaris.patch
@@ -0,0 +1,25 @@
+--- ffmpeg/configure Sat Jun 7 03:19:09 2008
++++ ffmpeg.solaris/configure Thu Jun 19 12:10:48 2008
+@@ -50,6 +50,9 @@
+ exit 1
+ fi
+
++# Solaris must use the xpg4 version of grep
++PATH=/usr/xpg4/bin:$PATH
++
+ show_help(){
+ echo "Usage: configure [options]"
+ echo "Options: [defaults in brackets after descriptions]"
+@@ -1585,8 +1588,11 @@
+ check_cc <<EOF || die "endian test failed"
+ unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';
+ EOF
+-od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
++#od -A n -t x1 $TMPO | grep -q '42 *49 *47 *45' && enable bigendian
++/usr/bin/tr -cd "BIGE" < $TMPO | grep -q 'B *I *G *E' && enable bigendian
+
++echo "BIGE=$bigendian"
++
+ # ---
+ # check availability of some header files
+