fix build with clang6; bugfix from upstream (2018.02.28)
This commit is contained in:
parent
916db5ae9f
commit
a11eb85c29
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2017/07/26 22:45:28 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2018/04/10 21:15:33 naddy Exp $
|
||||
|
||||
COMMENT= LIVE555 streaming media library
|
||||
|
||||
DISTNAME= live.2012.02.04
|
||||
PKGNAME= liveMedia-20120204
|
||||
REVISION = 2
|
||||
REVISION = 3
|
||||
CATEGORIES= net devel
|
||||
MASTER_SITES= http://comstyle.com/source/
|
||||
|
||||
|
14
net/livemedia/patches/patch-liveMedia_RTSPClient_cpp
Normal file
14
net/livemedia/patches/patch-liveMedia_RTSPClient_cpp
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-liveMedia_RTSPClient_cpp,v 1.4 2018/04/10 21:15:33 naddy Exp $
|
||||
|
||||
Index: liveMedia/RTSPClient.cpp
|
||||
--- liveMedia/RTSPClient.cpp.orig
|
||||
+++ liveMedia/RTSPClient.cpp
|
||||
@@ -837,7 +837,7 @@ Boolean RTSPClient::checkForHeader(char const* line, c
|
||||
// The line begins with the desired header name. Trim off any whitespace, and return the header parameters:
|
||||
unsigned paramIndex = headerNameLength;
|
||||
while (line[paramIndex] != '\0' && (line[paramIndex] == ' ' || line[paramIndex] == '\t')) ++paramIndex;
|
||||
- if (&line[paramIndex] == '\0') return False; // the header is assumed to be bad if it has no parameters
|
||||
+ if (line[paramIndex] == '\0') return False; // the header is assumed to be bad if it has no parameters
|
||||
|
||||
headerParams = &line[paramIndex];
|
||||
return True;
|
Loading…
Reference in New Issue
Block a user