commit:     75483c7da238cb22860ee368352d8324b6cbc290
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 18:27:16 2024 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 18:27:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75483c7d

media-tv/ivtv-utils: Apply musl-1.2.4 largefile workaround

Bug: https://bugs.gentoo.org/907679
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild | 7 +++++--
 media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild    | 7 +++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild 
b/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
index a7df5a2e2c84..14068ad3896f 100644
--- a/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
+++ b/media-tv/ivtv-utils/ivtv-utils-1.4.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="IVTV utilities for Hauppauge PVR PCI cards"
 HOMEPAGE="http://www.ivtvdriver.org/";
@@ -31,6 +31,9 @@ PATCHES=(
 
 src_configure() {
        tc-export CC CXX
+
+       # bug 907679
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
 }
 
 src_install() {

diff --git a/media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild 
b/media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild
index f08f749298c0..57a6fc766ab5 100644
--- a/media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild
+++ b/media-tv/ivtv-utils/ivtv-utils-1.4.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="IVTV utilities for Hauppauge PVR PCI cards"
 HOMEPAGE="http://www.ivtvdriver.org/";
@@ -32,6 +32,9 @@ PATCHES=(
 
 src_configure() {
        tc-export CC CXX
+
+       # bug 907679
+       use elibc_musl && append-flags -D_LARGEFILE64_SOURCE
 }
 
 src_install() {

Reply via email to