OSDN Git Service

Set an minimum subtitle display time of three seconds *or* until the next subtitle...
[handbrake-jp/handbrake-jp-git.git] / contrib / patch-x264-solaris.patch
1 --- x264/orig.configer  2007-09-15 20:14:00.202704854 +0200
2 +++ x264/configure      2007-09-15 20:15:13.969525668 +0200
3 @@ -1,4 +1,4 @@
4 -#! /bin/sh
5 +#! /usr/xpg4/bin/sh
6
7  if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
8
9 @@ -76,7 +76,7 @@
10  # check whether 'echo -n' works as expected, otherwise try printf
11  if [ "x`echo -n houba`" = xhouba ]
12  then
13 -  ECHON="echo -n"
14 +  ECHON="/usr/ucb/echo -n"
15  elif [ "x`printf houba`" = xhouba ]
16  then
17    ECHON="printf"
18  
19 --- x264/common/osdep.h Thu Nov 22 06:00:24 2007
20 +++ x264.modified/common/osdep.h        Fri Nov 30 10:23:28 2007
21 @@ -44,6 +44,9 @@
22  #define X264_VERSION "" // no configure script for msvc
23  #endif
24  
25 +#if defined(SYS_SunOS)
26 +#define isfinite _finite
27 +#endif
28  #ifdef SYS_OPENBSD
29  #define isfinite finite
30  #endif
31 --- x264.base/Makefile  Mon Jul 16 08:45:03 2007
32 +++ x264/Makefile       Thu Oct 11 11:52:46 2007
33 @@ -147,8 +147,10 @@
34         $(MAKE) -C gtk distclean
35  
36  install: x264 $(SONAME)
37 -       install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
38 -       install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
39 +       install -d $(DESTDIR)$(bindir) 
40 +       install -d $(DESTDIR)$(includedir)
41 +       install -d $(DESTDIR)$(libdir) 
42 +       install -d $(DESTDIR)$(libdir)/pkgconfig
43         install -m 644 x264.h $(DESTDIR)$(includedir)
44         install -m 644 libx264.a $(DESTDIR)$(libdir)
45         install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig