Received: by mail.netbsd.org (Postfix, from userid 605) id 14B9084D75; Wed, 23 Oct 2019 00:13:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 8923884D41 for ; Wed, 23 Oct 2019 00:13:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id CohtJUSdVJqo for ; Wed, 23 Oct 2019 00:13:41 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 029D784D6F for ; Wed, 23 Oct 2019 00:13:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E400DFA81; Wed, 23 Oct 2019 00:13:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157178962060490" MIME-Version: 1.0 Date: Wed, 23 Oct 2019 00:13:40 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/audio/libvisual To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20191023001340.E400DFA81@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157178962060490 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Wed Oct 23 00:13:40 UTC 2019 Modified Files: pkgsrc/audio/libvisual: distinfo Added Files: pkgsrc/audio/libvisual/patches: patch-libvisual_lv__os.c Log Message: libvisual: comment out HAVE_SCHED on macos. it is missing the optional sched_setscheduler needed by this package. XXX would be nicer to have done this via an upstream-friendly config test. Omitting PKGREVISION bump since it's a compile fix. From Clement Bouvier in PR pkg/54416. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 pkgsrc/audio/libvisual/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/audio/libvisual/patches/patch-libvisual_lv__os.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157178962060490 Content-Disposition: inline Content-Length: 1956 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/audio/libvisual/distinfo diff -u pkgsrc/audio/libvisual/distinfo:1.14 pkgsrc/audio/libvisual/distinfo:1.15 --- pkgsrc/audio/libvisual/distinfo:1.14 Tue Nov 3 01:12:39 2015 +++ pkgsrc/audio/libvisual/distinfo Wed Oct 23 00:13:40 2019 @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2015/11/03 01:12:39 agc Exp $ +$NetBSD: distinfo,v 1.15 2019/10/23 00:13:40 maya Exp $ SHA1 (libvisual-0.4.0.tar.gz) = bd21d621f1d54134c26138e19eaae46c5aeaec00 RMD160 (libvisual-0.4.0.tar.gz) = df4fda944e84417def2817f248f587dea5b2d8f1 @@ -9,4 +9,5 @@ SHA1 (patch-ac) = ad124820a2a20550bf8518 SHA1 (patch-ad) = e7b2493cf5880cea7497a1d8d6fb1ce4f856ba6d SHA1 (patch-ae) = 72affdd9a1302a16efe5f4ecaafbc37061e4db0c SHA1 (patch-libvisual_lv__defines.h) = 9b14140411ae426226318a0ccdbe64d905b7710c +SHA1 (patch-libvisual_lv__os.c) = 9bc88cf74bab4a4fb2b47ba122e0a5512149b9f2 SHA1 (patch-libvisual_lv__types.h) = 3f2baa4861b50d3359cd9cdfa75898dfc6b5895d Added files: Index: pkgsrc/audio/libvisual/patches/patch-libvisual_lv__os.c diff -u /dev/null pkgsrc/audio/libvisual/patches/patch-libvisual_lv__os.c:1.1 --- /dev/null Wed Oct 23 00:13:40 2019 +++ pkgsrc/audio/libvisual/patches/patch-libvisual_lv__os.c Wed Oct 23 00:13:40 2019 @@ -0,0 +1,23 @@ +A +$NetBSD: patch-libvisual_lv__os.c,v 1.1 2019/10/23 00:13:40 maya Exp $ +macos ox has header sched.h but does not provide the realtime function: + +int sched_setscheduler(pid_t, int, const struct sched_param *); +(optional according to open group). + +so it is necessary to force real time defined functions in the package are not supported on apple system. + +(PR pkg/54416) + +--- libvisual/lv_os.c.orig 2006-01-26 15:13:37.000000000 +0000 ++++ libvisual/lv_os.c +@@ -31,7 +31,9 @@ + #ifdef HAVE_SCHED_H + # include + # include ++#ifndef __APPLE__ + # define HAVE_SCHED 1 ++#endif + #elif defined HAVE_SYS_SCHED_H + # include + # include --_----------=_157178962060490--