pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/tmux It is no longer needed to add -D_OPENBSD_SOU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/041c7a0579cc
branches:  trunk
changeset: 361812:041c7a0579cc
user:      leot <leot%pkgsrc.org@localhost>
date:      Thu Apr 27 10:29:26 2017 +0000

description:
It is no longer needed to add -D_OPENBSD_SOURCE to CPPFLAGS for
reallocarray(3) in NetBSD, fixed in tmux-2.4 by upstream (NFC).

diffstat:

 misc/tmux/Makefile |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (20 lines):

diff -r 4d356d7c1e83 -r 041c7a0579cc misc/tmux/Makefile
--- a/misc/tmux/Makefile        Thu Apr 27 09:08:57 2017 +0000
+++ b/misc/tmux/Makefile        Thu Apr 27 10:29:26 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2017/04/21 11:55:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.41 2017/04/27 10:29:26 leot Exp $
 
 DISTNAME=      tmux-2.4
 CATEGORIES=    misc
@@ -28,10 +28,6 @@
 CPPFLAGS+=     -D__DARWIN_VERS_1050=0
 .endif
 
-# XXX: This will not needed for tmux-2.4 because a different fix
-# XXX: was applied by upstream!
-CPPFLAGS.NetBSD+=      -D_OPENBSD_SOURCE       # for reallocarray(3)
-
 .include "../../devel/libevent/buildlink3.mk"
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=2.0.10
 .include "../../mk/curses.buildlink3.mk"



Home | Main Index | Thread Index | Old Index