pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xedit xedit: finite(3) was deprecated on macOS aar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/30526923b574
branches:  trunk
changeset: 458233:30526923b574
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Sep 12 00:05:50 2021 +0000

description:
xedit: finite(3) was deprecated on macOS aarch64. Use isfinite(3) instead.

diffstat:

 x11/xedit/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ac562b71f796 -r 30526923b574 x11/xedit/Makefile
--- a/x11/xedit/Makefile        Sun Sep 12 00:04:22 2021 +0000
+++ b/x11/xedit/Makefile        Sun Sep 12 00:05:50 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2020/01/18 23:36:00 rillig Exp $
+# $NetBSD: Makefile,v 1.5 2021/09/12 00:05:50 tnn Exp $
 
 DISTNAME=      xedit-1.2.2
 CATEGORIES=    editors x11
@@ -15,6 +15,9 @@
 
 MAKE_FLAGS+=   appdefaultdir=${PREFIX}/lib/X11/app-defaults
 
+# finite(3) was deprecated on macOS aarch64
+CFLAGS.Darwin+=        -Dfinite\(d\)=isfinite\(d\)
+
 .include "../../x11/libXt/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
 .include "../../x11/libXaw/buildlink3.mk"



Home | Main Index | Thread Index | Old Index