aboutsummaryrefslogtreecommitdiffstats
path: root/community/zoneminder/musl-fix.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-11-06 07:15:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-11-07 16:46:15 +0000
commit6b09c7ad258b3d004d6255f5b0c9070ebbf25c8c (patch)
tree3ba7881eacddcb503c9557473e88b9d5e29031a0 /community/zoneminder/musl-fix.patch
parentf51f29175b118a9242ab8f52e3963dd7e7be9c51 (diff)
downloadaports-6b09c7ad258b3d004d6255f5b0c9070ebbf25c8c.tar.bz2
aports-6b09c7ad258b3d004d6255f5b0c9070ebbf25c8c.tar.xz
community/zoneminder: upgrade to 1.32.2
Diffstat (limited to 'community/zoneminder/musl-fix.patch')
-rw-r--r--community/zoneminder/musl-fix.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/community/zoneminder/musl-fix.patch b/community/zoneminder/musl-fix.patch
deleted file mode 100644
index 13a1609755..0000000000
--- a/community/zoneminder/musl-fix.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- ZoneMinder-1.30.0/src/zm_comms.h
-+++ ZoneMinder-1.30.0.musl/src/zm_comms.h
-@@ -26,6 +26,8 @@
- #include <unistd.h>
- #include <netdb.h>
- #include <errno.h>
-+#include <string.h>
-+#include <sys/uio.h>
- #include <sys/un.h>
-
- #include <set>
---- ZoneMinder-1.30.0/src/zm_logger.cpp
-+++ ZoneMinder-1.30.0.musl/src/zm_logger.cpp
-@@ -33,8 +33,8 @@
- #include <errno.h>
- #ifdef __FreeBSD__
- #include <sys/thr.h>
--#include <libgen.h>
- #endif
-+#include <libgen.h>
-
- bool Logger::smInitialised = false;
- Logger *Logger::smInstance = 0;
-@@ -504,7 +504,8 @@
- va_list argPtr;
- struct timeval timeVal;
-
-- const char * const file = basename(filepath);
-+ char *path = strdup(filepath);
-+ const char *file = basename(path);
-
- if ( level < PANIC || level > DEBUG9 )
- Panic( "Invalid logger level %d", level );
-@@ -617,6 +618,8 @@
- //priority |= LOG_DAEMON;
- syslog( priority, "%s [%s]", classString, syslogStart );
- }
-+
-+ free(path);
-
- if ( level <= FATAL )
- {