contrib/faac: Uses only UNIX newline for the patch
[vlc.git] / extras / contrib / src / Patches / live-config.patch
1 diff -x Makefile -uN live/config.cygwin live.new/config.cygwin
2 --- live/config.cygwin  2007-02-20 12:33:45.000000000 +0100
3 +++ live.new/config.cygwin      2007-02-22 09:32:20.000000000 +0100
4 @@ -1,4 +1,4 @@
5 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t
6 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
7  C =                    c
8  C_COMPILER =           gcc
9  C_FLAGS =              $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__CYGWIN__
10 diff -x Makefile -uN live/config.freebsd live.new/config.freebsd
11 --- live/config.freebsd 2007-02-20 12:33:45.000000000 +0100
12 +++ live.new/config.freebsd     2007-02-22 09:32:06.000000000 +0100
13 @@ -1,4 +1,4 @@
14 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1
15 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -DUSE_SYSTEM_RANDOM=1
16  C =                    c
17  C_COMPILER =           cc
18  C_FLAGS =              $(COMPILE_OPTS)
19 diff -x Makefile -uN live/config.linux live.new/config.linux
20 --- live/config.linux   2007-02-20 12:33:45.000000000 +0100
21 +++ live.new/config.linux       2007-02-22 09:31:24.000000000 +0100
22 @@ -1,4 +1,4 @@
23 -COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
24 +COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
25  C =                    c
26  C_COMPILER =           cc
27  C_FLAGS =              $(COMPILE_OPTS)
28 diff -x Makefile -uN live/config.linux-gdb live.new/config.linux-gdb
29 --- live/config.linux-gdb       2007-02-20 12:33:45.000000000 +0100
30 +++ live.new/config.linux-gdb   2007-02-22 09:09:55.000000000 +0100
31 @@ -1,4 +1,4 @@
32 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -g -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
33 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -g -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
34  C =                    c
35  C_COMPILER =           cc
36  C_FLAGS =              $(COMPILE_OPTS)
37 diff -x Makefile -uN live/config.macosx-before-version-10.4 live.new/config.macosx-before-version-10.4
38 --- live/config.macosx-before-version-10.4      2007-02-20 12:33:45.000000000 +0100
39 +++ live.new/config.macosx-before-version-10.4  2007-02-22 09:10:30.000000000 +0100
40 @@ -1,4 +1,4 @@
41 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=int
42 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=int -DUSE_SYSTEM_RANDOM=1
43  C =                    c
44  C_COMPILER =           cc
45  C_FLAGS =              $(COMPILE_OPTS)
46 diff -x Makefile -uN live/config.mingw live.new/config.mingw
47 --- live/config.mingw   2007-02-20 12:33:45.000000000 +0100
48 +++ live.new/config.mingw       2007-02-22 09:10:48.000000000 +0100
49 @@ -1,4 +1,4 @@
50 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int
51 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int -DUSE_SYSTEM_RANDOM=1
52  C =                    c
53  C_COMPILER =           gcc
54  C_FLAGS =              $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__MINGW32__
55 diff -x Makefile -uN live/config.openbsd live.new/config.openbsd
56 --- live/config.openbsd 2007-02-20 12:33:45.000000000 +0100
57 +++ live.new/config.openbsd     2007-02-22 09:31:42.000000000 +0100
58 @@ -1,5 +1,5 @@
59  .SUFFIXES: .cpp
60 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t
61 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
62  C =                    c
63  C_COMPILER =           cc
64  C_FLAGS =              $(COMPILE_OPTS)
65 diff -x Makefile -uN live/config.solaris live.new/config.solaris
66 --- live/config.solaris 2007-02-20 12:33:45.000000000 +0100
67 +++ live.new/config.solaris     2007-02-22 09:34:49.000000000 +0100
68 @@ -1,4 +1,4 @@
69 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t
70 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
71  C =                    c
72  C_COMPILER =           cc
73  C_FLAGS =              $(COMPILE_OPTS)
74 diff -x Makefile -uN live/config.uClinux live.new/config.uClinux
75 --- live/config.uClinux 2007-02-20 12:33:45.000000000 +0100
76 +++ live.new/config.uClinux     2007-02-22 09:35:01.000000000 +0100
77 @@ -1,4 +1,4 @@
78 -COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
79 +COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
80  C =                    c
81  C_COMPILER =           $(CC)
82  CFLAGS +=              $(COMPILE_OPTS)
83 --- live/config.armlinux        2007-04-24 11:38:22.000000000 +0200
84 +++ live.new/config.armlinux    2007-04-28 15:59:33.000000000 +0200
85 @@ -1,5 +1,5 @@
86  CROSS_COMPILE=         arm-elf-\r
87 -COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64\r
88 +COMPILE_OPTS =          $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1\r
89  C =                    c\r
90  C_COMPILER =           $(CROSS_COMPILE)gcc\r
91  C_FLAGS =              $(COMPILE_OPTS)\r
92 --- /dev/null   2007-05-14 09:00:32.045340388 +0200
93 +++ live/config.armeb-uclibc    2007-05-14 16:55:22.000000000 +0200
94 @@ -0,0 +1,18 @@
95 +CROSS_COMPILE=         armeb-linux-uclibc-\r
96 +COMPILE_OPTS =          $(INCLUDES) -I. -Os -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1\r
97 +C =                    c\r
98 +C_COMPILER =           $(CROSS_COMPILE)gcc\r
99 +C_FLAGS =              $(COMPILE_OPTS)\r
100 +CPP =                  cpp\r
101 +CPLUSPLUS_COMPILER =   $(CROSS_COMPILE)g++\r
102 +CPLUSPLUS_FLAGS =      $(COMPILE_OPTS) -Wall -DBSD=1\r
103 +OBJ =                  o\r
104 +LINK =                 $(CROSS_COMPILE)gcc -o\r
105 +LINK_OPTS =            -L.\r
106 +CONSOLE_LINK_OPTS =    $(LINK_OPTS)\r
107 +LIBRARY_LINK =         $(CROSS_COMPILE)ld -o\r
108 +LIBRARY_LINK_OPTS =    $(LINK_OPTS) -r -Bstatic\r
109 +LIB_SUFFIX =                   a\r
110 +LIBS_FOR_CONSOLE_APPLICATION =\r
111 +LIBS_FOR_GUI_APPLICATION =\r
112 +EXE =\r