summaryrefslogtreecommitdiff
path: root/system/ZoneMinder/patches/04_streaming-update.patch
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-06-21 09:57:44 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:25 -0500
commit5cb21d9d1c0773ee292cbbd60146e0f9cd88883c (patch)
tree15ad0cd1dfecf80e3474f194113908f7919e8fc4 /system/ZoneMinder/patches/04_streaming-update.patch
parent114838e4dfcae0446df1644631bccd2437dcf27a (diff)
downloadslackbuilds-5cb21d9d1c0773ee292cbbd60146e0f9cd88883c.tar.gz
system/ZoneMinder: Updated to svn revision r3649
This commit also added a patch for gcc-4.7 and removed others. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ZoneMinder/patches/04_streaming-update.patch')
-rw-r--r--system/ZoneMinder/patches/04_streaming-update.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/system/ZoneMinder/patches/04_streaming-update.patch b/system/ZoneMinder/patches/04_streaming-update.patch
deleted file mode 100644
index 067158cccd..0000000000
--- a/system/ZoneMinder/patches/04_streaming-update.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- original/web/includes/functions.php 2009-05-08 12:17:10.000000000 +0300
-+++ patched/web/includes/functions.php 2010-04-13 22:44:27.000000000 +0300
-@@ -820,7 +820,7 @@
- $version = $logVersion[1];
- $browser = 'konqueror';
- }
-- elseif (ereg( 'Opera ([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
-+ elseif (ereg( 'Opera/([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
- {
- $version = $logVersion[1];
- $browser = 'opera';
-@@ -844,6 +844,18 @@
- return( $browser == "mozilla" );
- }
-
-+function isOpera()
-+{
-+ getBrowser( $browser, $version );
-+ return( $browser == "opera" );
-+}
-+
-+function isSafari()
-+{
-+ getBrowser( $browser, $version );
-+ return( $browser == "safari" );
-+}
-+
- function isKonqueror()
- {
- getBrowser( $browser, $version );
-@@ -875,7 +887,7 @@
-
- function canStreamNative()
- {
-- return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape() || isKonqueror()) ) );
-+ return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape() || isKonqueror() || isOpera() || isSafari()) ) );
- }
-
- function canStreamApplet()