pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/modular-xorg-server



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Jun 24 15:38:42 UTC 2021

Modified Files:
        pkgsrc/x11/modular-xorg-server: Makefile.common

Log Message:
xorg-server: try to mend build on Linux

XXX I don't see how the pkg/56169 fix can work on SunOS, which doesn't have
strlcpy either. Maybe it fixes modular-xorg-xephyr but breaks
modular-xorg-server?


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/x11/modular-xorg-server/Makefile.common

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

Modified files:

Index: pkgsrc/x11/modular-xorg-server/Makefile.common
diff -u pkgsrc/x11/modular-xorg-server/Makefile.common:1.40 pkgsrc/x11/modular-xorg-server/Makefile.common:1.41
--- pkgsrc/x11/modular-xorg-server/Makefile.common:1.40 Tue Jun  8 22:51:11 2021
+++ pkgsrc/x11/modular-xorg-server/Makefile.common      Thu Jun 24 15:38:41 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.40 2021/06/08 22:51:11 khorben Exp $
+# $NetBSD: Makefile.common,v 1.41 2021/06/24 15:38:41 tnn Exp $
 # used by x11/modular-xorg-server/Makefile
 # used by x11/modular-xorg-xephyr/Makefile
 # used by x11/modular-xorg-xwayland/Makefile
@@ -15,7 +15,6 @@ GNU_CONFIGURE=        yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
 USE_LANGUAGES+=        c99
-USE_FEATURES+= strnlen err
 
 CHECK_PORTABILITY_SKIP+=       hw/xquartz/bundle/mk_bundke.sh
 
@@ -40,7 +39,13 @@ DEPENDS+=    xkbcomp-[0-9]*:../../x11/xkbco
 DEPENDS+=      xkeyboard-config-[0-9]*:../../x11/xkeyboard-config
 
 .include "../../mk/bsd.prefs.mk"
-
+.if ${OPSYS} == "SunOS"
+# XXX this brings in libnbcompat and it's namespace pollution that
+# can cause all sorts of problems. In particular it causes strlcpy
+# conflicts on Linux.
+# (since modular-xorg-server ships with it's own strlcpy replacement)
+USE_FEATURES+= strnlen err
+.endif
 .if ${OPSYS} == "NetBSD"
 CPPFLAGS+=             -D_OPENBSD_SOURCE       # for reallocarray(3)
 CONFIGURE_ARGS+=       --with-builder-addr="tech-x11%NetBSD.org@localhost"



Home | Main Index | Thread Index | Old Index