| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
|
| |
B's usage message redirects its stderr to stdout instead of vice versa.
Fix this.
Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
|
| |
|
|
|
|
| |
Give `-Wformat=0` on illumos/Solaris so that the build does not
complain about `execlp` not having a sentinel (it's nil). Also
fix an integer size issue when casting to a void pointer.
|
| |
|
|
|
|
|
|
|
|
| |
Use `extern` where appropriate so that we can remove `-fcommon`
on macOS and others. On macOS, `-fcommon` generates a number of
linker warnings.
I've tested building on macOS, Linux, FreeBSD, NetBSD, OpenBSD
and illumos. I am not in a position to test on AIX or other
more esoteric platforms, however.
|
| |
|
|
|
|
|
|
|
|
|
| |
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.
This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
This tells bin/man to set the register L to very high to avoid pagination
and updates tmac/tmac.an to use that value, if it's set, to set the page
length. This is per Plan 9's rc/bin/man and sys/lib/tmac/tmac.an.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Default builds of Firefox remove the previous X remote interface,
now causing the use of -remote to silently exit and do nothing.
https://hg.mozilla.org/mozilla-central/rev/ef22d8cbf4ef
|
| |
|
|
|
| |
Found in Arch Linux but never reported upstream:
https://bugs.archlinux.org/task/55640
|
| | |
|
| | |
|
| |
|
|
| |
It is no longer special.
|
| |
|
|
|
|
|
| |
Now that we assume pthreads, the only assembly
left is in libmp and libsec.
We only ever added assembly for 386.
The portable C code is fine for plan9port.
|
| | |
|
| |
|
|
| |
Fixes #469.
|
| | |
|
| |
|
|
| |
Fixes #406. Suggested by nms42.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Also, if CC9FLAGS includes -fsanitize=address (ASAN),
predefine PLAN9PORT_ASAN for use by programs that need
to know (mainly libthread).
The 9c script used to have a variable called ngflags, which
was ccflags except -g (ng stood for "no g"), but nothing needs
it split out anymore, so simplify to just ccflags.
|
| | |
|
| |
|
|
|
|
|
| |
Version 10 of gcc enforces -fno-common which breaks a lot of things.
This fix reverts to the pre-10 behaviour. The real fix is to clean up
stray redefinitions which should be declarations.
|
| |
|
|
|
| |
Linux 2.4 is dead.
(The libthread code hasn't worked for Linux 2.4 for a long time.)
|
| |
|
|
|
|
| |
Fixes #195.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
| |
|
|
|
| |
Add entry in lib/moveplan9.files to trigger
relocation during INSTALL.
|
| |
|
|
| |
Fixes #223.
|
| |
|
|
|
| |
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
POSIX does not support grouping in case item patterns.
Installing with a strict POSIX shell fails with:
/usr/local/plan9/bin/9c: line 82: syntax error near unexpected token `('
/usr/local/plan9/bin/9c: line 82: `*(DragonFly|BSD)*gcc*) usegcc ;;'
This change expands the patterns to work around the limitation.
See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10
(and search for case_clause)
|
| | |
|
| |
|
|
| |
NixOS sandboxed builds (at least on Mac) don't have access to /tmp,
and this should be better POSIX.
|
| | |
|
| |
|
| |
Update 9l to support Linux 5.x.
|
| |
|
|
| |
Fixes #118.
|
| | |
|
| |
|
|
| |
MacPorts installs osxfuse under /opt/local.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Current versions of osxfuse ship with multiple versions of its kernel
extension (kext) for differend versions of macOS.
Running mount(1) on macOS with a current version of osxfuse fails with
`don't know how to mount (no fuse)' since it fails to find the kext.
Running 9pfuse(4) directly works fine.
This change adds a check to mount(1) that determines:
1) which version of macOS we're running on
2) if there is an osxfuse kext available for this version of macOS
|
| | |
|
| |
|
|
| |
Fixes #114.
|
| |
|
|
|
|
| |
On FreeBSD, the Chromium executable is called chrome.
Fixes #108.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Rename following .cvsignore files to .gitkeep since they are
required by the build (directories must exist before build):
- bin/fossil/.gitkeep
- bin/fs/.gitkeep
- bin/venti/.gitkeep
Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
|
| | |
|
| |
|
|
|
|
| |
Change-Id: Ie548b7f45f4b3aa9897bcba19d343cff2dd5afd4
Reviewed-on: https://plan9port-review.googlesource.com/2961
Reviewed-by: Russ Cox <rsc@swtch.com>
|