Package: 9base / 1:6-6

Metadata

Package Version Patches format
9base 1:6-6 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>