public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/
@ 2017-12-27 17:46 Thomas Beierlein
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Beierlein @ 2017-12-27 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     0ca6aa99f6e02dc23c1b27269c681a67cada472e
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 17:40:46 2017 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 17:46:15 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca6aa99

media-radio/svxlink: Backport fix for newer gcc from github.

Thanks toralf.

Closes: https://bugs.gentoo.org/639592
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-radio/svxlink/files/svxlink-15.11-gcc72.patch | 12 ++++++++++++
 media-radio/svxlink/svxlink-15.11.ebuild            |  5 ++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
new file mode 100644
index 00000000000..a55894c62f3
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
@@ -0,0 +1,12 @@
+# backported fix for newer compilers
+--- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig	2017-12-27 16:32:27.185098621 +0000
++++ src/async/audio/AsyncAudioDeviceAlsa.cpp	2017-12-27 16:33:33.468067578 +0000
+@@ -548,7 +548,7 @@
+     return false;
+   }
+ 
+-  if (::abs(real_rate - sample_rate) > 100)
++  if (::abs(static_cast<int>(real_rate) - sample_rate) > 100)
+   {
+     cerr << "*** ERROR: The sample rate could not be set to "
+          << sample_rate << "Hz for ALSA device \"" << dev_name << "\". "

diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
index de0def111ea..0eac5fc40fe 100644
--- a/media-radio/svxlink/svxlink-15.11.ebuild
+++ b/media-radio/svxlink/svxlink-15.11.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-inherit cmake-utils qt4-r2 user
+inherit cmake-utils eutils qt4-r2 user
 
 CMAKE_USE_DIR="${S}/src"
 
@@ -34,6 +34,9 @@ pkg_setup() {
 }
 
 src_prepare() {
+	# fix compilation problem with newer gcc bug #639592
+	epatch "${FILESDIR}"/${P}-gcc72.patch
+
 	cmake-utils_src_prepare
 	# drop deprecated desktop category (bug #475730)
 	sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/
@ 2017-12-28 12:29 Thomas Beierlein
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Beierlein @ 2017-12-28 12:29 UTC (permalink / raw
  To: gentoo-commits

commit:     1303e4559e55e2d5973b664a7fdf0a2cdb0d30a3
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 28 12:28:46 2017 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu Dec 28 12:28:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1303e455

media-radio/svxlink: Provide systemd units

Services are backported from upstreams github repo.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-radio/svxlink/files/remotetrx.service | 22 +++++++++
 media-radio/svxlink/files/svxlink.service   | 22 +++++++++
 media-radio/svxlink/svxlink-15.11-r1.ebuild | 76 +++++++++++++++++++++++++++++
 3 files changed, 120 insertions(+)

diff --git a/media-radio/svxlink/files/remotetrx.service b/media-radio/svxlink/files/remotetrx.service
new file mode 100644
index 00000000000..fd808a220a5
--- /dev/null
+++ b/media-radio/svxlink/files/remotetrx.service
@@ -0,0 +1,22 @@
+;;;;; Author: Richard Neese<kb3vgw@gmail.com>
+
+[Unit]
+Description=SvxLink remote transceiver repeater control software
+Documentation=man:remotetrx(1)
+After=network.target remote-fs.target syslog.target time.target
+
+[Service]
+PIDFile=/var/run/remotetrx.pid
+ExecStartPre=-/bin/touch /var/log/remotetrx
+ExecStartPre=-/bin/chown svxlink /var/log/remotetrx
+ExecStart=/bin/sh -c '/usr/bin/remotetrx --pidfile=/var/run/remotetrx.pid --logfile=/var/log/remotetrx --config=/etc/svxlink/remotetrx.conf --runasuser=svxlink'
+ExecReload=/bin/kill -s HUP $MAINPID
+Restart=on-failure
+TimeoutStartSec=60
+#WatchdogSec=@SVX_WatchdogSec@
+#NotifyAccess=main
+LimitCORE=infinity
+WorkingDirectory=/etc/svxlink
+
+[Install]
+WantedBy=multi-user.target

diff --git a/media-radio/svxlink/files/svxlink.service b/media-radio/svxlink/files/svxlink.service
new file mode 100644
index 00000000000..8b95f3047f7
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink.service
@@ -0,0 +1,22 @@
+;;;;; Author: Richard Neese<kb3vgw@gmail.com>
+
+[Unit]
+Description=SvxLink repeater control software
+Documentation=man:svxlink(1)
+After=network.target remote-fs.target syslog.target time.target
+
+[Service]
+PIDFile=/var/run/svxlink.pid
+ExecStartPre=-/bin/touch /var/log/svxlink
+ExecStartPre=-/bin/chown svxlink /var/log/svxlink
+ExecStart=/bin/sh -c '/usr/bin/svxlink --logfile=/var/log/svxlink --config=/etc/svxlink/svxlink.conf --pidfile=/var/run/svxlink.pid --runasuser=svxlink'
+ExecReload=/bin/kill -s HUP $MAINPID
+Restart=on-failure
+TimeoutStartSec=60
+#WatchdogSec=@SVX_WatchdogSec@
+#NotifyAccess=main
+LimitCORE=infinity
+WorkingDirectory=/etc/svxlink
+
+[Install]
+WantedBy=multi-user.target

diff --git a/media-radio/svxlink/svxlink-15.11-r1.ebuild b/media-radio/svxlink/svxlink-15.11-r1.ebuild
new file mode 100644
index 00000000000..5dfe0e89f9b
--- /dev/null
+++ b/media-radio/svxlink/svxlink-15.11-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils eutils qt4-r2 systemd user
+
+CMAKE_USE_DIR="${S}/src"
+
+DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
+HOMEPAGE="http://www.svxlink.org"
+SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-lang/tcl:0
+	dev-qt/qtcore:4
+	dev-qt/qtgui:4
+	media-libs/alsa-lib
+	media-sound/gsm
+	dev-libs/libgcrypt:0
+	media-libs/speex
+	media-libs/opus
+	dev-libs/libsigc++:2
+	dev-libs/popt"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+pkg_setup() {
+	enewgroup svxlink
+	enewuser svxlink -1 -1 -1 svxlink
+}
+
+src_prepare() {
+	# fix compilation problem with newer gcc bug #639592
+	epatch "${FILESDIR}"/${P}-gcc72.patch
+
+	cmake-utils_src_prepare
+	# drop deprecated desktop category (bug #475730)
+	sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSYSCONF_INSTALL_DIR=/etc
+		-DLOCAL_STATE_DIR=/var
+	)
+	cmake-utils_src_configure
+}
+
+src_compile() {
+	cmake-utils_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	fowners -R svxlink.svxlink /var/spool/svxlink
+
+	rm -R "${D}"/usr/share/doc/svxlink || die
+	dodoc src/doc/README-${PV}.adoc
+	doman src/doc/man/*.1 src/doc/man/*.5
+
+	insinto /etc/logrotate.d
+	doins   distributions/gentoo/etc/logrotate.d/*
+
+	newinitd "${FILESDIR}"/remotetrx.init remotetrx
+	newinitd "${FILESDIR}"/svxlink.init svxlink
+	newconfd "${FILESDIR}"/remotetrx.rc remotetrx
+	newconfd "${FILESDIR}"/svxlink.rc svxlink
+
+	systemd_dounit "${FILESDIR}"/remotetrx.service
+	systemd_dounit "${FILESDIR}"/svxlink.service
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/
@ 2018-02-24 17:24 Thomas Beierlein
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Beierlein @ 2018-02-24 17:24 UTC (permalink / raw
  To: gentoo-commits

commit:     bb08c1bf8bad4b37d7ee6ccf13f1e15d77952a3b
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 17:24:14 2018 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 17:24:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb08c1bf

media-radio/svxlink: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 media-radio/svxlink/Manifest                       |  1 -
 .../svxlink/files/svxlink-15.11-gcc72.patch        | 12 ----
 media-radio/svxlink/svxlink-15.11-r1.ebuild        | 76 ----------------------
 media-radio/svxlink/svxlink-15.11.ebuild           | 74 ---------------------
 4 files changed, 163 deletions(-)

diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest
index 143694cf07b..03bc52d7e31 100644
--- a/media-radio/svxlink/Manifest
+++ b/media-radio/svxlink/Manifest
@@ -1,2 +1 @@
-DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac
 DIST svxlink-17.12.1.tar.gz 1621559 BLAKE2B 8a1d9498f451a730ee8d961d4ebd548f34f977367069658bdf4af7d91726e558c9e1ab084423b0238ae1f5fdcafd8e88480b818491e5f91d176d07d81fced5a3 SHA512 90bd74420fcd78d974d12ee13ac792f2a0ecd7cb483ec36ef1085e905f9d6c62af707cb65d04079ec66d7df6da615080a2058a0a559c82171b4882a4b20289f9

diff --git a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
deleted file mode 100644
index a55894c62f3..00000000000
--- a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-# backported fix for newer compilers
---- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig	2017-12-27 16:32:27.185098621 +0000
-+++ src/async/audio/AsyncAudioDeviceAlsa.cpp	2017-12-27 16:33:33.468067578 +0000
-@@ -548,7 +548,7 @@
-     return false;
-   }
- 
--  if (::abs(real_rate - sample_rate) > 100)
-+  if (::abs(static_cast<int>(real_rate) - sample_rate) > 100)
-   {
-     cerr << "*** ERROR: The sample rate could not be set to "
-          << sample_rate << "Hz for ALSA device \"" << dev_name << "\". "

diff --git a/media-radio/svxlink/svxlink-15.11-r1.ebuild b/media-radio/svxlink/svxlink-15.11-r1.ebuild
deleted file mode 100644
index 5dfe0e89f9b..00000000000
--- a/media-radio/svxlink/svxlink-15.11-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils qt4-r2 systemd user
-
-CMAKE_USE_DIR="${S}/src"
-
-DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
-HOMEPAGE="http://www.svxlink.org"
-SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-lang/tcl:0
-	dev-qt/qtcore:4
-	dev-qt/qtgui:4
-	media-libs/alsa-lib
-	media-sound/gsm
-	dev-libs/libgcrypt:0
-	media-libs/speex
-	media-libs/opus
-	dev-libs/libsigc++:2
-	dev-libs/popt"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-pkg_setup() {
-	enewgroup svxlink
-	enewuser svxlink -1 -1 -1 svxlink
-}
-
-src_prepare() {
-	# fix compilation problem with newer gcc bug #639592
-	epatch "${FILESDIR}"/${P}-gcc72.patch
-
-	cmake-utils_src_prepare
-	# drop deprecated desktop category (bug #475730)
-	sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSYSCONF_INSTALL_DIR=/etc
-		-DLOCAL_STATE_DIR=/var
-	)
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	fowners -R svxlink.svxlink /var/spool/svxlink
-
-	rm -R "${D}"/usr/share/doc/svxlink || die
-	dodoc src/doc/README-${PV}.adoc
-	doman src/doc/man/*.1 src/doc/man/*.5
-
-	insinto /etc/logrotate.d
-	doins   distributions/gentoo/etc/logrotate.d/*
-
-	newinitd "${FILESDIR}"/remotetrx.init remotetrx
-	newinitd "${FILESDIR}"/svxlink.init svxlink
-	newconfd "${FILESDIR}"/remotetrx.rc remotetrx
-	newconfd "${FILESDIR}"/svxlink.rc svxlink
-
-	systemd_dounit "${FILESDIR}"/remotetrx.service
-	systemd_dounit "${FILESDIR}"/svxlink.service
-}

diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
deleted file mode 100644
index 0eac5fc40fe..00000000000
--- a/media-radio/svxlink/svxlink-15.11.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils qt4-r2 user
-
-CMAKE_USE_DIR="${S}/src"
-
-DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
-HOMEPAGE="http://www.svxlink.org"
-SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-RDEPEND="dev-lang/tcl:0
-	dev-qt/qtcore:4
-	dev-qt/qtgui:4
-	media-libs/alsa-lib
-	media-sound/gsm
-	dev-libs/libgcrypt:0
-	media-libs/speex
-	media-libs/opus
-	dev-libs/libsigc++:2
-	dev-libs/popt"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig"
-
-pkg_setup() {
-	enewgroup svxlink
-	enewuser svxlink -1 -1 -1 svxlink
-}
-
-src_prepare() {
-	# fix compilation problem with newer gcc bug #639592
-	epatch "${FILESDIR}"/${P}-gcc72.patch
-
-	cmake-utils_src_prepare
-	# drop deprecated desktop category (bug #475730)
-	sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSYSCONF_INSTALL_DIR=/etc
-		-DLOCAL_STATE_DIR=/var
-	)
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-
-	fowners -R svxlink.svxlink /var/spool/svxlink
-
-	rm -R "${D}"/usr/share/doc/svxlink || die
-	dodoc src/doc/README-${PV}.adoc
-	doman src/doc/man/*.1 src/doc/man/*.5
-
-	insinto /etc/logrotate.d
-	doins   distributions/gentoo/etc/logrotate.d/*
-
-	newinitd "${FILESDIR}"/remotetrx.init remotetrx
-	newinitd "${FILESDIR}"/svxlink.init svxlink
-	newconfd "${FILESDIR}"/remotetrx.rc remotetrx
-	newconfd "${FILESDIR}"/svxlink.rc svxlink
-
-}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/
@ 2024-07-30 18:39 Thomas Beierlein
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Beierlein @ 2024-07-30 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     0cee8c7c5aa3d1f90cde14d40fb927966a3c31e7
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 16:03:43 2024 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 18:38:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cee8c7c

media-radio/svxlink: Fix MUSL related bugs

- MUSL does not provide the res_nxxx() functions like Glibc. The
  original res_xxx() functions are implement stateless in MUSL and
  must be used instead.
- Fix some missing includes

Closes: https://bugs.gentoo.org/936813
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 media-radio/svxlink/files/svxlink-24.02-musl.patch | 81 ++++++++++++++++++++++
 ...ink-24.02-r1.ebuild => svxlink-24.02-r2.ebuild} |  4 ++
 2 files changed, 85 insertions(+)

diff --git a/media-radio/svxlink/files/svxlink-24.02-musl.patch b/media-radio/svxlink/files/svxlink-24.02-musl.patch
new file mode 100644
index 000000000000..20eb97f85716
--- /dev/null
+++ b/media-radio/svxlink/files/svxlink-24.02-musl.patch
@@ -0,0 +1,81 @@
+diff --git a/src/async/audio/AsyncAudioContainerPcm.h b/src/async/audio/AsyncAudioContainerPcm.h
+index 5ce66dd..a38bd9f 100644
+# add forgotten include
+--- a/src/async/audio/AsyncAudioContainerPcm.h
++++ b/src/async/audio/AsyncAudioContainerPcm.h
+@@ -40,7 +40,6 @@ An example of how to use the Async::AudioContainer class
+ 
+ #include <vector>
+ 
+-
+ /****************************************************************************
+  *
+  * Project Includes
+@@ -48,7 +47,7 @@ An example of how to use the Async::AudioContainer class
+  ****************************************************************************/
+ 
+ #include <AsyncAudioContainer.h>
+-
++#include <cstdint>
+ 
+ /****************************************************************************
+  *
+diff --git a/src/async/core/AsyncAtTimer.h b/src/async/core/AsyncAtTimer.h
+index 7aa593b..5404a47 100644
+# timeval is defined in <<F2>sys/tims.h>
+--- a/src/async/core/AsyncAtTimer.h
++++ b/src/async/core/AsyncAtTimer.h
+@@ -43,7 +43,7 @@ An example of how to use the AsyncAtTimer class
+  *
+  ****************************************************************************/
+ 
+-#include <time.h>
++#include <sys/time.h>
+ #include <sigc++/sigc++.h>
+ 
+ 
+diff --git a/src/async/cpp/AsyncCppDnsLookupWorker.cpp b/src/async/cpp/AsyncCppDnsLookupWorker.cpp
+index f2e39b0..df73eb9 100644
+# res_xx functions are stateless in MUSL, so no res_nxxx is needed
+# furthermore no res_close exists
+--- a/src/async/cpp/AsyncCppDnsLookupWorker.cpp
++++ b/src/async/cpp/AsyncCppDnsLookupWorker.cpp
+@@ -306,12 +306,12 @@ void CppDnsLookupWorker::workerFunc(CppDnsLookupWorker::ThreadContext& ctx)
+   if (qtype != 0)
+   {
+     struct __res_state state;
+-    int ret = res_ninit(&state);
++    int ret = res_init();
+     if (ret != -1)
+     {
+       state.options = RES_DEFAULT;
+       const char *dname = ctx.label.c_str();
+-      ctx.anslen = res_nsearch(&state, dname, ns_c_in, qtype,
++      ctx.anslen = res_search(dname, ns_c_in, qtype,
+                                ctx.answer, sizeof(ctx.answer));
+       if (ctx.anslen == -1)
+       {
+@@ -324,7 +324,7 @@ void CppDnsLookupWorker::workerFunc(CppDnsLookupWorker::ThreadContext& ctx)
+         //        does not grow with every failed lookup. But even so, it seems
+         //        that res_close is not cleaning up properly.
+         //        Glibc 2.33-18 on Fedora 34.
+-      res_nclose(&state);
++
+     }
+     else
+     {
+@@ -538,12 +538,10 @@ void CppDnsLookupWorker::printErrno(const std::string& msg)
+ {
+   char errbuf[1024];
+   char* errmsg = errbuf;
+-#if (_POSIX_C_SOURCE >= 200112L) && ! _GNU_SOURCE
++
+   int ret = strerror_r(errno, errbuf, sizeof(errbuf));
+   assert(ret == 0);
+-#else
+-  errmsg = strerror_r(errno, errbuf, sizeof(errbuf));
+-#endif
++
+   std::cerr << "*** " << msg << ": " << errmsg << std::endl;
+ } /* CppDnsLookupWorker::printErrno */
+ 

diff --git a/media-radio/svxlink/svxlink-24.02-r1.ebuild b/media-radio/svxlink/svxlink-24.02-r2.ebuild
similarity index 94%
rename from media-radio/svxlink/svxlink-24.02-r1.ebuild
rename to media-radio/svxlink/svxlink-24.02-r2.ebuild
index b14c2baaa36a..2d5062de0b33 100644
--- a/media-radio/svxlink/svxlink-24.02-r1.ebuild
+++ b/media-radio/svxlink/svxlink-24.02-r2.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
 	virtual/pkgconfig"
 
 src_prepare() {
+	# fix build for MUSL (bug #936813)
+	if use elibc_musl ; then
+		eapply -p1 "${FILESDIR}/$P-musl.patch"
+	fi
 	cmake_src_prepare
 	# drop deprecated desktop category (bug #475730)
 	sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-30 18:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-24 17:24 [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/ Thomas Beierlein
  -- strict thread matches above, loose matches on Subject: below --
2024-07-30 18:39 Thomas Beierlein
2017-12-28 12:29 Thomas Beierlein
2017-12-27 17:46 Thomas Beierlein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox