Package: 9base / 1:6-11

Metadata

Package Version Patches format
9base 1:6-11 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 troff Replace 9 with usr share 9base troff in the va.patch | (download)

troff/tmac/mmn | 2 1 + 1 - 0 !
troff/tmac/mmt | 2 1 + 1 - 0 !
troff/tmac/tmac.e | 2 1 + 1 - 0 !
troff/tmac/tmac.m | 4 2 + 2 - 0 !
troff/tmac/tmac.s | 2 1 + 1 - 0 !
troff/tmac/tmac.spe | 2 1 + 1 - 0 !
6 files changed, 7 insertions(+), 7 deletions(-)

 troff: replace #9 with /usr/share/9base/troff in the various paths.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

0002 Search for rcmain in usr lib plan9 etc rcmain.patch | (download)

rc/plan9ish.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 search for rcmain in /usr/lib/plan9/etc/rcmain


0003 Use usr lib plan9 bin rc instead of bin rc.patch | (download)

troff/font/devutf/mkMAP | 2 1 + 1 - 0 !
troff/tmac/sendcover | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use /usr/lib/plan9/bin/rc instead of /bin/rc


0004 9base Set FD_CLOEXEC correctly using F_SETFD not F_S.patch | (download)

lib9/create.c | 2 1 + 1 - 0 !
lib9/open.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 9base: set fd_cloexec correctly using f_setfd not f_setfl

Using that value on F_SETFL is just wrong, and might make the call fail
on some systems, as it's requesting to set an undetermined flag. For
example on GNU/* FD_CLOEXEC has value 1, which matches with O_WRONLY.

This might cause the code to at least leak file descriptors, and at worst
to terminate execution.

0005 troff Mention the correct macro package path in trof.patch | (download)

troff/troff.1 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 troff: mention the correct macro package path in troff(1)

In the Debian packaging, troff macro files are under
/usr/share/9base/troff/tmac/.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

0006 getflags Fix the manpage section.patch | (download)

getflags/getflags.1 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 getflags: fix the manpage section

The manual page has an extension that indicates section one, yet the
header puts it in 8. There's no reason for it to be there, so fix the
header to indicate section 1 instead.

Reported-by: Sergey Romanov <schragge@gmail.com>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

0007 troff Make the 9 macro point to a useful location.patch | (download)

troff/tmac/tmac.an | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 troff: make the *9 macro point to a useful location

The *9 macro, used to point to 9base sources was pointing to a local
user's home. Instead, point it to swtch.com/usr/local/plan9 instead.

Reported-by: Sergey Romanov <schragge@gmail.com>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>

0008 rc Default to a traditional prompt.patch | (download)

rc/rcmain | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 revert default prompt to the traditional percent-sign instead of
             a semicolon.
0009 fix non verbose build.patch | (download)

diff/Makefile | 4 2 + 2 - 0 !
lib9/Makefile | 2 1 + 1 - 0 !
rc/Makefile | 4 2 + 2 - 0 !
sam/Makefile | 4 2 + 2 - 0 !
std.mk | 4 2 + 2 - 0 !
yacc.mk | 4 2 + 2 - 0 !
6 files changed, 11 insertions(+), 11 deletions(-)

 fix a non-verbose build
0010 applied Alexander Clouter s 9base sha1sum patch.patch | (download)

sha1sum/sha1sum.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 applied alexander clouter's 9base sha1sum patch