motion: update to 4.1.1.
This commit is contained in:
parent
20667dae93
commit
22de58346a
|
@ -1,29 +0,0 @@
|
||||||
--- motion.c 2017-11-11 04:47:06.000000000 +0100
|
|
||||||
+++ motion.c 2017-11-12 22:49:59.866870114 +0100
|
|
||||||
@@ -3774,11 +3774,15 @@
|
|
||||||
|
|
||||||
#if ((!defined(BSD) && HAVE_PTHREAD_SETNAME_NP) || defined(__APPLE__))
|
|
||||||
char currname[16];
|
|
||||||
+#if defined(__GLIBC__)
|
|
||||||
pthread_getname_np(pthread_self(), currname, sizeof(currname));
|
|
||||||
snprintf(threadname, sizeof(currname), "%s",currname);
|
|
||||||
#else
|
|
||||||
snprintf(threadname, 8, "%s","Unknown");
|
|
||||||
#endif
|
|
||||||
+#else
|
|
||||||
+ snprintf(threadname, 8, "%s","Unknown");
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
}
|
|
||||||
int util_check_passthrough(struct context *cnt){
|
|
||||||
--- logger.c 2017-11-11 04:47:06.000000000 +0100
|
|
||||||
+++ logger.c 2017-11-12 22:53:58.717887149 +0100
|
|
||||||
@@ -207,7 +207,7 @@
|
|
||||||
errno_save = errno;
|
|
||||||
|
|
||||||
char threadname[32] = "unknown";
|
|
||||||
-#if ((!defined(BSD) && HAVE_PTHREAD_SETNAME_NP) || defined(__APPLE__))
|
|
||||||
+#if ((!defined(BSD) && HAVE_PTHREAD_SETNAME_NP && defined(__GLIBC__)) || defined(__APPLE__))
|
|
||||||
pthread_getname_np(pthread_self(), threadname, sizeof(threadname));
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'motion'
|
# Template file for 'motion'
|
||||||
pkgname=motion
|
pkgname=motion
|
||||||
version=4.1
|
version=4.1.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="motion-release-${version}"
|
wrksrc="motion-release-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://motion-project.github.io/"
|
homepage="https://motion-project.github.io/"
|
||||||
distfiles="https://github.com/Motion-Project/motion/archive/release-${version}.tar.gz"
|
distfiles="https://github.com/Motion-Project/motion/archive/release-${version}.tar.gz"
|
||||||
checksum=277029c80df0d37deefbbea6d15c66a9067d9166fe8f76eb5f90aa6e97aa9741
|
checksum=2074b935bdfe28f84c2c3233274b06908336778f303bb13530d4299c3f8aa4e2
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
|
Loading…
Reference in New Issue