Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2024 17:54:04 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fc721c2faa3b - main - audio/jacktrip: update 2.3.1 =?utf-8?Q?=E2=86=92?= 2.4.0
Message-ID:  <202409141754.48EHs4e9084368@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fc721c2faa3bdbff1de36a5f94d9652bbd85accd

commit fc721c2faa3bdbff1de36a5f94d9652bbd85accd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-14 17:51:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-14 17:53:55 +0000

    audio/jacktrip: update 2.3.1 → 2.4.0
    
    Reported by:    portscout
---
 audio/jacktrip/Makefile                            |  2 +-
 audio/jacktrip/distinfo                            |  6 +++---
 audio/jacktrip/files/patch-src_UdpDataProtocol.cpp | 14 ++++++++------
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/audio/jacktrip/Makefile b/audio/jacktrip/Makefile
index 389ef44ee839..af0e3bd9bfba 100644
--- a/audio/jacktrip/Makefile
+++ b/audio/jacktrip/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jacktrip
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.1
+DISTVERSION=	2.4.0
 CATEGORIES=	audio
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/audio/jacktrip/distinfo b/audio/jacktrip/distinfo
index 73212abc19c6..e6803c0c1bfe 100644
--- a/audio/jacktrip/distinfo
+++ b/audio/jacktrip/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1722057218
-SHA256 (jacktrip-jacktrip-v2.3.1_GH0.tar.gz) = 6f66e13d17b70624ae3d586c47c16d8218c2806525c9f81f6ac064976adc7657
-SIZE (jacktrip-jacktrip-v2.3.1_GH0.tar.gz) = 6289596
+TIMESTAMP = 1726295685
+SHA256 (jacktrip-jacktrip-v2.4.0_GH0.tar.gz) = 89d1de8ccab5f54c0a6a31dcd373a3cc799212d282697f96c87d1f0e0bb2984a
+SIZE (jacktrip-jacktrip-v2.4.0_GH0.tar.gz) = 6294526
 SHA256 (jothepro-doxygen-awesome-css-9380569_GH0.tar.gz) = b57aa7345f76f23521f81c1d12d8286a33c47cf94b5ad38a85bdcf46c6aff5cc
 SIZE (jothepro-doxygen-awesome-css-9380569_GH0.tar.gz) = 431473
 SHA256 (x42-weakjack-cddbeec0953d68048d164c472c9b30a5d96778db_GH0.tar.gz) = 451a660ae579cc3d31d369efa08d2b7680fc3a7bfec7832e61d8b11575ad8d14
diff --git a/audio/jacktrip/files/patch-src_UdpDataProtocol.cpp b/audio/jacktrip/files/patch-src_UdpDataProtocol.cpp
index 05eb873dd9b7..869f0a5488af 100644
--- a/audio/jacktrip/files/patch-src_UdpDataProtocol.cpp
+++ b/audio/jacktrip/files/patch-src_UdpDataProtocol.cpp
@@ -1,15 +1,17 @@
-- workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264865
-
---- src/UdpDataProtocol.cpp.orig	2022-06-24 05:34:49 UTC
+--- src/UdpDataProtocol.cpp.orig	2024-09-14 06:44:01 UTC
 +++ src/UdpDataProtocol.cpp
-@@ -293,8 +293,10 @@ int UdpDataProtocol::bindSocket()
+@@ -383,12 +383,14 @@ bool UdpDataProtocol::setSocketQos(socket_type& sock_f
      }
  
      // Set 802.1q QoS priority
 +#  if !defined(__FreeBSD__) // is there a FreeBSD replacement?
      int priority = 6;
-     ::setsockopt(sock_fd, SOL_SOCKET, SO_PRIORITY, &priority, sizeof(priority));
+     result = ::setsockopt(sock_fd, SOL_SOCKET, SO_PRIORITY, &priority, sizeof(priority));
+     if (result != 0) {
+         std::cerr << "setsockopt failed. Error: " << errno << std::endl;
+         return false;
+     }
 +#  endif
  #endif
  
-     // Bind the Socket
+     return true;



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