summaryrefslogtreecommitdiffstats
path: root/live.2012.04.27-shared.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-05-01 16:46:48 +0200
committerRemi Collet <fedora@famillecollet.com>2012-05-01 16:46:48 +0200
commit13ea54479076e7e16f7ce281246312bd1e621a42 (patch)
treee05c88ec83b326e5ba36c4a221c0e32420fc7212 /live.2012.04.27-shared.patch
live555: import from rpmfusion/devel + update to 2012.04.27HEADmaster
Diffstat (limited to 'live.2012.04.27-shared.patch')
-rw-r--r--live.2012.04.27-shared.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/live.2012.04.27-shared.patch b/live.2012.04.27-shared.patch
new file mode 100644
index 0000000..ff08f9d
--- /dev/null
+++ b/live.2012.04.27-shared.patch
@@ -0,0 +1,55 @@
+diff -up live/config.linux.shared live/config.linux
+--- live/config.linux.shared 2010-01-16 04:04:54.000000000 +0100
++++ live/config.linux 2010-01-16 17:16:37.479611105 +0100
+@@ -1,4 +1,4 @@
+-COMPILE_OPTS = $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
++COMPILE_OPTS = $(INCLUDES) -I. $(CFLAGS) -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
+ C = c
+ C_COMPILER = cc
+ C_FLAGS = $(COMPILE_OPTS)
+@@ -9,9 +9,9 @@ OBJ = o
+ LINK = c++ -o
+ LINK_OPTS = -L.
+ CONSOLE_LINK_OPTS = $(LINK_OPTS)
+-LIBRARY_LINK = ar cr
+-LIBRARY_LINK_OPTS =
+-LIB_SUFFIX = a
++LIBRARY_LINK = c++ -o
++LIBRARY_LINK_OPTS = $(LINK_OPTS) -shared -Wl,-soname,$@.$(SO_VERSION) $(LIBADDS)
++LIB_SUFFIX = so
+ LIBS_FOR_CONSOLE_APPLICATION =
+ LIBS_FOR_GUI_APPLICATION =
+ EXE =
+diff -up live/config.linux.static.shared live/config.linux.static
+--- live/config.linux.static.shared 2010-01-16 17:16:50.562862926 +0100
++++ live/config.linux.static 2010-01-16 17:16:57.271866612 +0100
+@@ -1,4 +1,4 @@
+-COMPILE_OPTS = $(INCLUDES) -I. -O2 -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
++COMPILE_OPTS = $(INCLUDES) -I. $(CFLAGS) -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64
+ C = c
+ C_COMPILER = cc
+ C_FLAGS = $(COMPILE_OPTS)
+diff -up live/Makefile.tail.shared live/Makefile.tail
+--- live/Makefile.tail.shared 2012-04-27 21:53:46.000000000 +0200
++++ live/Makefile.tail 2012-05-01 15:55:42.856780542 +0200
+@@ -12,13 +12,13 @@
+ PROXY_SERVER_DIR = proxyServer
+
+ all:
+- cd $(LIVEMEDIA_DIR) ; $(MAKE)
+- cd $(GROUPSOCK_DIR) ; $(MAKE)
+- cd $(USAGE_ENVIRONMENT_DIR) ; $(MAKE)
+- cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; $(MAKE)
+- cd $(TESTPROGS_DIR) ; $(MAKE)
+- cd $(MEDIA_SERVER_DIR) ; $(MAKE)
+- cd $(PROXY_SERVER_DIR) ; $(MAKE)
++ cd $(LIVEMEDIA_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(GROUPSOCK_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(USAGE_ENVIRONMENT_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(BASIC_USAGE_ENVIRONMENT_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(TESTPROGS_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(MEDIA_SERVER_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
++ cd $(PROXY_SERVER_DIR) ; C_FLAGS="$(C_FLAGS)" $(MAKE)
+
+ clean:
+ cd $(LIVEMEDIA_DIR) ; $(MAKE) clean