3c3007f3e1d2c7fe3fc85c20549cd5c920fdc6c1
[vlc.git] / extras / contrib / src / Patches / live-config.patch
1 diff -Nur live.orig/config.armlinux.rej live/config.armlinux.rej
2 --- live.orig/config.armlinux.rej       1970-01-01 01:00:00.000000000 +0100
3 +++ live/config.armlinux.rej    2007-09-17 01:49:49.000000000 +0200
4 @@ -0,0 +1,13 @@
5 +***************
6 +*** 1,5 ****
7 +  CROSS_COMPILE=               arm-elf-
8 +- COMPILE_OPTS =               $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
9 +  C =                  c
10 +  C_COMPILER =         $(CROSS_COMPILE)gcc
11 +  C_FLAGS =            $(COMPILE_OPTS)
12 +--- 1,5 ----
13 +  CROSS_COMPILE=               arm-elf-
14 ++ 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
15 +  C =                  c
16 +  C_COMPILER =         $(CROSS_COMPILE)gcc
17 +  C_FLAGS =            $(COMPILE_OPTS)
18 diff -Nur live.orig/config.cygwin live/config.cygwin
19 --- live.orig/config.cygwin     2007-08-03 18:38:58.000000000 +0200
20 +++ live/config.cygwin  2007-09-17 01:49:49.000000000 +0200
21 @@ -1,4 +1,4 @@
22 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t
23 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
24  C =                    c
25  C_COMPILER =           gcc
26  C_FLAGS =              $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__CYGWIN__
27 diff -Nur live.orig/config.freebsd live/config.freebsd
28 --- live.orig/config.freebsd    2007-08-03 18:38:58.000000000 +0200
29 +++ live/config.freebsd 2007-09-17 01:49:49.000000000 +0200
30 @@ -1,4 +1,4 @@
31 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1
32 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1 -DUSE_SYSTEM_RANDOM=1
33  C =                    c
34  C_COMPILER =           cc
35  C_FLAGS =              $(COMPILE_OPTS)
36 diff -Nur live.orig/config.linux live/config.linux
37 --- live.orig/config.linux      2007-08-03 18:38:58.000000000 +0200
38 +++ live/config.linux   2007-09-17 01:49:49.000000000 +0200
39 @@ -1,4 +1,4 @@
40 -COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
41 +COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
42  C =                    c
43  C_COMPILER =           cc
44  C_FLAGS =              $(COMPILE_OPTS)
45 diff -Nur live.orig/config.linux-gdb live/config.linux-gdb
46 --- live.orig/config.linux-gdb  2007-08-03 18:38:58.000000000 +0200
47 +++ live/config.linux-gdb       2007-09-17 01:49:49.000000000 +0200
48 @@ -1,4 +1,4 @@
49 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -g -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
50 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=socklen_t -g -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
51  C =                    c
52  C_COMPILER =           cc
53  C_FLAGS =              $(COMPILE_OPTS)
54 diff -Nur live.orig/config.macosx-before-version-10.4 live/config.macosx-before-version-10.4
55 --- live.orig/config.macosx-before-version-10.4 2007-08-03 18:38:58.000000000 +0200
56 +++ live/config.macosx-before-version-10.4      2007-09-17 01:49:49.000000000 +0200
57 @@ -1,4 +1,4 @@
58 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=int
59 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=int -DUSE_SYSTEM_RANDOM=1
60  C =                    c
61  C_COMPILER =           cc
62  C_FLAGS =              $(COMPILE_OPTS)
63 diff -Nur live.orig/config.mingw live/config.mingw
64 --- live.orig/config.mingw      2007-08-03 18:38:58.000000000 +0200
65 +++ live/config.mingw   2007-09-17 01:49:49.000000000 +0200
66 @@ -1,4 +1,4 @@
67 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int
68 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOCKLEN_T=int -DUSE_SYSTEM_RANDOM=1
69  C =                    c
70  C_COMPILER =           gcc
71  C_FLAGS =              $(COMPILE_OPTS) -DUSE_OUR_BZERO=1 -D__MINGW32__
72 diff -Nur live.orig/config.openbsd live/config.openbsd
73 --- live.orig/config.openbsd    2007-08-03 18:38:58.000000000 +0200
74 +++ live/config.openbsd 2007-09-17 01:49:49.000000000 +0200
75 @@ -1,5 +1,5 @@
76  .SUFFIXES: .cpp
77 -COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t
78 +COMPILE_OPTS =         $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
79  C =                    c
80  C_COMPILER =           cc
81  C_FLAGS =              $(COMPILE_OPTS)
82 diff -Nur live.orig/config.solaris live/config.solaris
83 --- live.orig/config.solaris    2007-08-03 18:38:58.000000000 +0200
84 +++ live/config.solaris 2007-09-17 01:49:49.000000000 +0200
85 @@ -1,4 +1,4 @@
86 -COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t
87 +COMPILE_OPTS =         $(INCLUDES) -I. -O -DSOLARIS -DSOCKLEN_T=socklen_t -DUSE_SYSTEM_RANDOM=1
88  C =                    c
89  C_COMPILER =           cc
90  C_FLAGS =              $(COMPILE_OPTS)
91 diff -Nur live.orig/config.uClinux live/config.uClinux
92 --- live.orig/config.uClinux    2007-08-03 18:38:58.000000000 +0200
93 +++ live/config.uClinux 2007-09-17 01:49:49.000000000 +0200
94 @@ -1,4 +1,4 @@
95 -COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
96 +COMPILE_OPTS =         $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1
97  C =                    c
98  C_COMPILER =           $(CC)
99  CFLAGS +=              $(COMPILE_OPTS)