From 22de58346aafb757e23d61b8bee878c20f607f24 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sat, 16 Dec 2017 18:43:29 +0100 Subject: [PATCH] motion: update to 4.1.1. --- .../patches/musl-no-pthread_getname_np.patch | 29 ------------------- srcpkgs/motion/template | 4 +-- 2 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/motion/patches/musl-no-pthread_getname_np.patch diff --git a/srcpkgs/motion/patches/musl-no-pthread_getname_np.patch b/srcpkgs/motion/patches/musl-no-pthread_getname_np.patch deleted file mode 100644 index 6e0ce0ceb02..00000000000 --- a/srcpkgs/motion/patches/musl-no-pthread_getname_np.patch +++ /dev/null @@ -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 - diff --git a/srcpkgs/motion/template b/srcpkgs/motion/template index d516c9a4c47..15bf39a4d26 100644 --- a/srcpkgs/motion/template +++ b/srcpkgs/motion/template @@ -1,6 +1,6 @@ # Template file for 'motion' pkgname=motion -version=4.1 +version=4.1.1 revision=1 wrksrc="motion-release-${version}" build_style=gnu-configure @@ -11,7 +11,7 @@ maintainer="Andrea Brancaleoni " license="GPL-2" homepage="https://motion-project.github.io/" distfiles="https://github.com/Motion-Project/motion/archive/release-${version}.tar.gz" -checksum=277029c80df0d37deefbbea6d15c66a9067d9166fe8f76eb5f90aa6e97aa9741 +checksum=2074b935bdfe28f84c2c3233274b06908336778f303bb13530d4299c3f8aa4e2 pre_configure() { autoreconf -fi