pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/libX11



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Feb  6 20:38:10 UTC 2023

Modified Files:
        pkgsrc/x11/libX11: Makefile

Log Message:
lbX11: fix build on NetBSD 9 with modular X


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 pkgsrc/x11/libX11/Makefile

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

Modified files:

Index: pkgsrc/x11/libX11/Makefile
diff -u pkgsrc/x11/libX11/Makefile:1.70 pkgsrc/x11/libX11/Makefile:1.71
--- pkgsrc/x11/libX11/Makefile:1.70     Sat Feb  4 21:39:41 2023
+++ pkgsrc/x11/libX11/Makefile  Mon Feb  6 20:38:10 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2023/02/04 21:39:41 wiz Exp $
+# $NetBSD: Makefile,v 1.71 2023/02/06 20:38:10 wiz Exp $
 
 DISTNAME=              libX11-1.8.4
 CATEGORIES=            x11 devel
@@ -19,6 +19,9 @@ PKGCONFIG_OVERRIDE+=  x11.pc.in
 
 CONFIGURE_ENV+=                FILE_MAN_SUFFIX=5
 
+# reallocarray() on NetBSD 9
+CPPFLAGS.NetBSD+=      -D_OPENBSD_SOURCE
+
 .include "../../mk/pthread.buildlink3.mk"
 CPPFLAGS.OSF1+=                ${PTHREAD_CFLAGS} # Required by compiler if including pthread.h
 CPPFLAGS.MirBSD+=      ${PTHREAD_CFLAGS}



Home | Main Index | Thread Index | Old Index