# HG changeset patch # User Danek Duvall # Date 1490734359 25200 # Node ID ffcde471ae1029905946e03e33dfe2660b51a3b6 # Parent 7a5810349e832bde5af1e349e0d833196d7172a4 25789139 MA_RESERVED1 removal breaks psutil diff -r 7a5810349e83 -r ffcde471ae10 components/python/psutil/patches/03-MA_NORESERVE.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/python/psutil/patches/03-MA_NORESERVE.patch Tue Mar 28 13:52:39 2017 -0700 @@ -0,0 +1,19 @@ +The MA_RESERVED1 macro never had any meaning, and it's gone as of S12 build 121 +as part of PSARC/2017/031. In conversation with the upstream author, the +"R" designator can also go away. The pull request is available at + + https://github.com/giampaolo/psutil/pull/1003 + +--- psutil-1.2.1/psutil/_psutil_sunos.c 2017-03-28 10:14:25.150344244 -0700 ++++ psutil-1.2.1/psutil/_psutil_sunos.c 2017-03-28 11:25:20.578369853 -0700 +@@ -609,9 +609,7 @@ + sprintf(perms, "%c%c%c%c%c%c", p->pr_mflags & MA_READ ? 'r' : '-', + p->pr_mflags & MA_WRITE ? 'w' : '-', + p->pr_mflags & MA_EXEC ? 'x' : '-', +- p->pr_mflags & MA_SHARED ? 's' : '-', +- p->pr_mflags & MA_NORESERVE ? 'R' : '-', +- p->pr_mflags & MA_RESERVED1 ? '*' : ' '); ++ p->pr_mflags & MA_SHARED ? 's' : '-'); + + // name + if (strlen(p->pr_mapname) > 0) {