pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/xinit



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed May 31 05:29:34 UTC 2017

Modified Files:
        pkgsrc/x11/xinit: Makefile distinfo
Added Files:
        pkgsrc/x11/xinit/patches: patch-startx.cpp

Log Message:
xinit: don't use GNU expr extensions
Already committed upstream and in NetBSD

>From John Vogel


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/x11/xinit/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/x11/xinit/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/xinit/patches/patch-startx.cpp

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

Modified files:

Index: pkgsrc/x11/xinit/Makefile
diff -u pkgsrc/x11/xinit/Makefile:1.23 pkgsrc/x11/xinit/Makefile:1.24
--- pkgsrc/x11/xinit/Makefile:1.23      Thu Feb 23 06:20:07 2017
+++ pkgsrc/x11/xinit/Makefile   Wed May 31 05:29:34 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.23 2017/02/23 06:20:07 tnn Exp $
+# $NetBSD: Makefile,v 1.24 2017/05/31 05:29:34 maya Exp $
 
 DISTNAME=              xinit-1.3.4
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            x11
 MASTER_SITES=          ${MASTER_SITE_XORG:=app/}
 EXTRACT_SUFX=          .tar.bz2

Index: pkgsrc/x11/xinit/distinfo
diff -u pkgsrc/x11/xinit/distinfo:1.13 pkgsrc/x11/xinit/distinfo:1.14
--- pkgsrc/x11/xinit/distinfo:1.13      Wed Nov  4 03:29:07 2015
+++ pkgsrc/x11/xinit/distinfo   Wed May 31 05:29:34 2017
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.13 2015/11/04 03:29:07 agc Exp $
+$NetBSD: distinfo,v 1.14 2017/05/31 05:29:34 maya Exp $
 
 SHA1 (xinit-1.3.4.tar.bz2) = de3469080d73ced1f7d7a1803e813bc6ea352072
 RMD160 (xinit-1.3.4.tar.bz2) = ee5b21766556c4a16e2538700b432a11890d7829
 SHA512 (xinit-1.3.4.tar.bz2) = ac31e4cac86fc5dd4c0e15cf37cb9ac470ef3ace4f86d0063c7e1091342fe64d41fcd12c1840bd8e1cef4cdd7f66bd2fa76bd4061641e9c70941d76d73d0df2e
 Size (xinit-1.3.4.tar.bz2) = 165881 bytes
+SHA1 (patch-startx.cpp) = 42ff6eb12b534a811e4c64b6ef11327c09c1a70d

Added files:

Index: pkgsrc/x11/xinit/patches/patch-startx.cpp
diff -u /dev/null pkgsrc/x11/xinit/patches/patch-startx.cpp:1.1
--- /dev/null   Wed May 31 05:29:34 2017
+++ pkgsrc/x11/xinit/patches/patch-startx.cpp   Wed May 31 05:29:34 2017
@@ -0,0 +1,22 @@
+$NetBSD: patch-startx.cpp,v 1.1 2017/05/31 05:29:34 maya Exp $
+
+Don't use GNU expr extensions
+
+Use the ':' operator instead of "match" and avoid the use of "\+".  Both
+constructions aren't specified by POSIX and not supported in BSD expr.
+Also drop the '^' from the regular expressions as it is implicit and
+POSIX leaves its behaviour undefined.
+
+https://cgit.freedesktop.org/xorg/app/xinit/commit/?id=e3bab0cc706880c22f2b205e7abad9d8c0227071app/xinit/commit/?id=e3bab0cc706880c22f2b205e7abad9d8c0227071
+
+--- startx.cpp.orig    2014-09-11 17:31:42.000000000 +0000
++++ startx.cpp
+@@ -217,7 +217,7 @@ fi
+ XCOMM if no vt is specified add vtarg (which may be empty)
+ have_vtarg="no"
+ for i in $serverargs; do
+-    if expr match "$i" '^vt[0-9]\+$' > /dev/null; then
++    if expr "$i" : 'vt[0-9][0-9]*$' > /dev/null; then
+         have_vtarg="yes"
+     fi
+ done



Home | Main Index | Thread Index | Old Index