pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Define __EXTENSIONS__ for strcasec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/44ab8028c2fb
branches:  trunk
changeset: 390725:44ab8028c2fb
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 28 09:01:15 2022 +0000

description:
mpv: Define __EXTENSIONS__ for strcasecmp on SunOS

diffstat:

 multimedia/mpv/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 186c41da6480 -r 44ab8028c2fb multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Wed Dec 28 04:37:08 2022 +0000
+++ b/multimedia/mpv/Makefile   Wed Dec 28 09:01:15 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.144 2022/11/23 16:20:47 adam Exp $
+# $NetBSD: Makefile,v 1.145 2022/12/28 09:01:15 nia Exp $
 
 DISTNAME=      mpv-0.35.0
 PKGREVISION=   1
@@ -46,6 +46,9 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# strcasecmp, etc
+CFLAGS.SunOS+= -D__EXTENSIONS__
+
 #
 # At some point this should be consolidated into mk/platform/Darwin.mk, it is
 # here temporarily while any issues are ironed out and it can be made generic



Home | Main Index | Thread Index | Old Index