Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2019 07:26:45 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514321 - in head/multimedia/ustreamer: . files
Message-ID:  <201910120726.x9C7QjDb012282@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Oct 12 07:26:44 2019
New Revision: 514321
URL: https://svnweb.freebsd.org/changeset/ports/514321

Log:
  multimedia/ustreamer: Update 1.0 -> 1.9
  
  Reported by:	portscout

Added:
  head/multimedia/ustreamer/files/patch-src_threading.h   (contents, props changed)
Deleted:
  head/multimedia/ustreamer/files/patch-src_encoders_omx_formatters.h
Modified:
  head/multimedia/ustreamer/Makefile
  head/multimedia/ustreamer/distinfo
  head/multimedia/ustreamer/files/patch-src_tools.h

Modified: head/multimedia/ustreamer/Makefile
==============================================================================
--- head/multimedia/ustreamer/Makefile	Sat Oct 12 07:16:15 2019	(r514320)
+++ head/multimedia/ustreamer/Makefile	Sat Oct 12 07:26:44 2019	(r514321)
@@ -2,8 +2,7 @@
 
 PORTNAME=	ustreamer
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.0
-PORTREVISION=	2
+DISTVERSION=	1.9
 CATEGORIES=	multimedia net
 
 MAINTAINER=	yuri@FreeBSD.org

Modified: head/multimedia/ustreamer/distinfo
==============================================================================
--- head/multimedia/ustreamer/distinfo	Sat Oct 12 07:16:15 2019	(r514320)
+++ head/multimedia/ustreamer/distinfo	Sat Oct 12 07:26:44 2019	(r514321)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1563008797
-SHA256 (pi-kvm-ustreamer-v1.0_GH0.tar.gz) = fc22e861e164d1cc34b43f20ef85ceca41ff3cf22926438f8c8b1057827bb68d
-SIZE (pi-kvm-ustreamer-v1.0_GH0.tar.gz) = 87975
+TIMESTAMP = 1570864748
+SHA256 (pi-kvm-ustreamer-v1.9_GH0.tar.gz) = 04ac714e5b0fb8ba37d7b6df510aec807187db5d5bd2f9468ee0caea6d2b1f55
+SIZE (pi-kvm-ustreamer-v1.9_GH0.tar.gz) = 92600

Added: head/multimedia/ustreamer/files/patch-src_threading.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/ustreamer/files/patch-src_threading.h	Sat Oct 12 07:26:44 2019	(r514321)
@@ -0,0 +1,11 @@
+--- src/threading.h.orig	2019-10-12 07:24:29 UTC
++++ src/threading.h
+@@ -102,7 +102,7 @@ INLINE void thread_get_name(char *name) { // Always re
+ #	endif
+ 	if (retval < 0) {
+ #endif
+-		assert(snprintf(name, MAX_THREAD_NAME, "tid=%d", (pid_t)syscall(SYS_gettid)) > 0);
++		assert(snprintf(name, MAX_THREAD_NAME, "tid=%d", (pid_t)syscall(SYS_thr_self)) > 0);
+ #ifdef WITH_PTHREAD_NP
+ 	}
+ #endif

Modified: head/multimedia/ustreamer/files/patch-src_tools.h
==============================================================================
--- head/multimedia/ustreamer/files/patch-src_tools.h	Sat Oct 12 07:16:15 2019	(r514320)
+++ head/multimedia/ustreamer/files/patch-src_tools.h	Sat Oct 12 07:26:44 2019	(r514321)
@@ -1,8 +1,8 @@
---- src/tools.h.orig	2019-04-27 06:12:11 UTC
+--- src/tools.h.orig	2019-10-11 20:37:25 UTC
 +++ src/tools.h
-@@ -36,6 +36,13 @@
- #include <sys/ioctl.h>
- #include <sys/syscall.h>
+@@ -40,6 +40,13 @@
+ #define INLINE inline __attribute__((always_inline))
+ #define UNUSED __attribute__((unused))
  
 +#ifndef CLOCK_MONOTONIC_RAW
 +# ifdef CLOCK_MONOTONIC_FAST
@@ -12,15 +12,5 @@
 +# endif
 +#endif
  
- #define A_THREAD_CREATE(_tid, _func, _arg)	assert(!pthread_create(_tid, NULL, _func, _arg))
- #define A_THREAD_JOIN(_tid)					assert(!pthread_join(_tid, NULL))
-@@ -106,5 +113,9 @@ INLINE long double get_now_real(void) {
- }
- 
- INLINE pid_t get_thread_id(void) {
-+#if defined(__FreeBSD__)
-+	return pthread_getthreadid_np();
-+#else
- 	return syscall(SYS_gettid);
-+#endif
- }
+ INLINE char *bool_to_string(bool flag) {
+ 	return (flag ? "true" : "false");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910120726.x9C7QjDb012282>