aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2016-08-21 20:57:51 +0000
committerChris Rees <crees@FreeBSD.org>2016-08-21 20:57:51 +0000
commit00a4bcd4bfa2b9e12951600b5a38efd58cba3b1a (patch)
treeb2ca18b0241f52258a9c23ba2915c0bca11396e3
parentbbf8b91905b3aa55b52701666f7c6af2c56b169d (diff)
downloadports-00a4bcd4bfa2b9e12951600b5a38efd58cba3b1a.tar.gz
ports-00a4bcd4bfa2b9e12951600b5a38efd58cba3b1a.zip
Notes
-rw-r--r--multimedia/zoneminder/Makefile5
-rw-r--r--multimedia/zoneminder/distinfo6
-rw-r--r--multimedia/zoneminder/files/patch-src_zm__logger.cpp22
3 files changed, 27 insertions, 6 deletions
diff --git a/multimedia/zoneminder/Makefile b/multimedia/zoneminder/Makefile
index 8fe15951ff10..367eb9a7c95c 100644
--- a/multimedia/zoneminder/Makefile
+++ b/multimedia/zoneminder/Makefile
@@ -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
diff --git a/multimedia/zoneminder/distinfo b/multimedia/zoneminder/distinfo
index f542330587b3..6e9882bdb65a 100644
--- a/multimedia/zoneminder/distinfo
+++ b/multimedia/zoneminder/distinfo
@@ -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
diff --git a/multimedia/zoneminder/files/patch-src_zm__logger.cpp b/multimedia/zoneminder/files/patch-src_zm__logger.cpp
new file mode 100644
index 000000000000..dbb0df445921
--- /dev/null
+++ b/multimedia/zoneminder/files/patch-src_zm__logger.cpp
@@ -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);
+ }
+ }