OSDN Git Service

x264 bump from r1772 to r1790
[handbrake-jp/handbrake-jp-git.git] / contrib / x264 / P01-solaris.patch
1 diff -ru x264/Makefile x264.solaris/Makefile
2 --- x264/Makefile       Mon Jun  9 01:36:08 2008
3 +++ x264.solaris/Makefile       Thu Jun 19 11:54:53 2008
4 @@ -150,8 +150,10 @@
5         $(MAKE) -C gtk distclean
6  
7  install: x264$(EXE) $(SONAME)
8 -       install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
9 -       install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
10 +       install -d $(DESTDIR)$(bindir) 
11 +       install -d $(DESTDIR)$(includedir)
12 +       install -d $(DESTDIR)$(libdir) 
13 +       install -d $(DESTDIR)$(libdir)/pkgconfig
14         install -m 644 x264.h $(DESTDIR)$(includedir)
15         install -m 644 libx264.a $(DESTDIR)$(libdir)
16         install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
17 diff -ru x264/configure x264.solaris/configure
18 --- x264/configure      Tue Aug 12 03:26:58 2008
19 +++ x264.modified/configure     Tue Aug 19 16:09:32 2008
20 @@ -329,8 +327,10 @@
21  
22  echo "unsigned int endian = 'B' << 24 | 'I' << 16 | 'G' << 8 | 'E';" > conftest.c
23  $CC $CFLAGS conftest.c -c -o conftest.o 2>$DEVNULL || die "endian test failed"
24 -grep -q BIGE conftest.o && CFLAGS="$CFLAGS -DWORDS_BIGENDIAN"
25 +/usr/bin/tr -cd "BIGE" < conftest.o | /usr/xpg4/bin/grep -q BIGE && CFLAGS="$CFLAGS -DWORDS_BIGENDIAN"
26  
27 +echo $CFLAGS
28 +
29  # autodetect options that weren't forced nor disabled
30  
31  libpthread=""