update motion; remove obsolete patch

This commit is contained in:
Calin Crisan 2017-08-28 17:52:02 +03:00
parent c3969e4c00
commit 6ed28eb2d6
2 changed files with 1 additions and 18 deletions

View File

@ -4,7 +4,7 @@
#
################################################################################
MOTION_VERSION = ab9e800d5984f2907f00bebabc794d1dba9682ad
MOTION_VERSION = d23e263490a54329329b64883f1860ada5e5920b
MOTION_SITE = $(call github,motion-project,motion,$(MOTION_VERSION))
MOTION_AUTORECONF = YES
MOTION_CONF_OPTS = --without-pgsql --without-sdl --without-sqlite3 --without-mysql --with-ffmpeg=$(STAGING_DIR)/usr/lib \

View File

@ -1,17 +0,0 @@
diff --git a/event.c b/event.c
index f67214e..44d8096 100644
--- a/event.c
+++ b/event.c
@@ -572,6 +572,12 @@ static void event_create_extpipe(struct context *cnt,
}
}
+ /* Temporary solution for https://github.com/Motion-Project/motion/issues/360#issuecomment-320849158
+ Always create any path specified as file name */
+ if (create_path(cnt->extpipefilename) == -1)
+ return ;
+ /* end of fix */
+
mystrftime(cnt, stamp, sizeof(stamp), cnt->conf.extpipe, currenttime_tv, cnt->extpipefilename, 0);
MOTION_LOG(NTC, TYPE_EVENTS, NO_ERRNO, "pipe: %s", stamp);