pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/tmux



Module Name:    pkgsrc
Committed By:   leot
Date:           Wed Oct 12 10:11:23 UTC 2016

Modified Files:
        pkgsrc/misc/tmux: Makefile

Log Message:
NetBSD needs -D_OPENBSD_SOURCE for reallocarray(3). Pass it via CPPFLAGS.NetBSD.

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/misc/tmux/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/tmux/Makefile
diff -u pkgsrc/misc/tmux/Makefile:1.37 pkgsrc/misc/tmux/Makefile:1.38
--- pkgsrc/misc/tmux/Makefile:1.37      Tue Oct  4 10:42:47 2016
+++ pkgsrc/misc/tmux/Makefile   Wed Oct 12 10:11:23 2016
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2016/10/04 10:42:47 fhajny Exp $
+# $NetBSD: Makefile,v 1.38 2016/10/12 10:11:23 leot Exp $
 
 DISTNAME=      tmux-2.3
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tmux/}
 
@@ -29,6 +29,10 @@ BUILDLINK_TRANSFORM+=        opt:-D_XPG4_2:-D_X
 CPPFLAGS+=     -D__DARWIN_VERS_1050=0
 .endif
 
+# XXX: This will not needed for tmux-2.3 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