mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Fix build and update to 1.30
PR: ports/211681 Submitted by: Ivan (bsd@abinet.ru) Approved by: maintainer
This commit is contained in:
parent
bbf8b91905
commit
00a4bcd4bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420585
@ -2,9 +2,8 @@
|
||||
|
||||
PORTNAME= zoneminder
|
||||
PORTVERSION= 1.30.0
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSIONSUFFIX=-rc2
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= bsd@abinet.ru
|
||||
|
@ -1,5 +1,5 @@
|
||||
TIMESTAMP = 1467872384
|
||||
SHA256 (zoneminder-zoneminder-v1.30.0-rc2_GH0.tar.gz) = 1dada2d5a622a8c963c27a2a0c1e33487310ba2bdf36a2a19c8e1ea97b904aa3
|
||||
SIZE (zoneminder-zoneminder-v1.30.0-rc2_GH0.tar.gz) = 9758905
|
||||
TIMESTAMP = 1470703313
|
||||
SHA256 (zoneminder-zoneminder-v1.30.0_GH0.tar.gz) = e7c964c339305f42a044ca8e34fa4e6a33c452fdaf33642458735daf8b864325
|
||||
SIZE (zoneminder-zoneminder-v1.30.0_GH0.tar.gz) = 9757409
|
||||
SHA256 (FriendsOfCake-crud-c3976f1_GH0.tar.gz) = 7dfa29dd6dd95f05bca61bb05033f813828b7ab66f9d8793d306df0dd72471ce
|
||||
SIZE (FriendsOfCake-crud-c3976f1_GH0.tar.gz) = 72961
|
||||
|
22
multimedia/zoneminder/files/patch-src_zm__logger.cpp
Normal file
22
multimedia/zoneminder/files/patch-src_zm__logger.cpp
Normal file
@ -0,0 +1,22 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- src/zm_logger.cpp
|
||||
+++ src/zm_logger.cpp
|
||||
@@ -504,7 +504,8 @@
|
||||
va_list argPtr;
|
||||
struct timeval timeVal;
|
||||
|
||||
- const char * const file = basename(filepath);
|
||||
+ char *filecopy = strdup(filepath);
|
||||
+ const char * const file = basename(filecopy);
|
||||
|
||||
if ( level < PANIC || level > DEBUG9 )
|
||||
Panic( "Invalid logger level %d", level );
|
||||
@@ -624,6 +625,8 @@
|
||||
abort();
|
||||
exit( -1 );
|
||||
}
|
||||
+
|
||||
+ free(filecopy);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user