* Trivial patches for FreeBSD
@ 2000-09-06 15:02 Akinori -Aki- MUSHA
2000-09-06 15:15 ` Andrej Borsenkow
0 siblings, 1 reply; 2+ messages in thread
From: Akinori -Aki- MUSHA @ 2000-09-06 15:02 UTC (permalink / raw)
To: zsh-workers
Hi, I'm a FreeBSD developer working on maintaining zsh package.
Recently, FreeBSD has changed its location for kernel modules from
/modules to /boot/kernel, so I'd like you to apply the following patch
to catch up with the change.
--- Completion/Bsd/_kld.orig Fri Jun 9 00:27:34 2000
+++ Completion/Bsd/_kld Wed Sep 6 23:43:13 2000
@@ -4,7 +4,7 @@
_kld_module() {
local ret=1
- compadd "$@" - /modules/*.ko(:t) && ret=0
+ compadd "$@" - /boot/kernel/*.ko(:t) /modules/*.ko(:t) && ret=0
_files "$@" -g \*.ko && ret=0
return ret
(This patch is based on 3.1.9 development release)
Also, to support FreeBSD 5.x or higher, the following fix is needed.
--- configure.in.orig Wed May 3 03:01:17 2000
+++ configure.in Wed May 17 21:34:02 2000
@@ -1489,7 +1489,7 @@
esac
case "$host" in
*-hpux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-Wl,-E}" ;;
- *-freebsd3*|*-freebsd4*|*-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
+ *-freebsd[3-9]*|*-linux*) EXTRA_LDFLAGS="${EXTRA_LDFLAGS=-rdynamic}" ;;
mips-sni-sysv4)
#
# unfortunately, we have different compilers
Please merge these fixes by the next release, thank you.
--
/
/__ __
/ ) ) ) ) /
Akinori -Aki- MUSHA aka / (_ / ( (__( @ idaemons.org / FreeBSD.org
"We're only at home when we're on the run, on the wing, on the fly"
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Trivial patches for FreeBSD
2000-09-06 15:02 Trivial patches for FreeBSD Akinori -Aki- MUSHA
@ 2000-09-06 15:15 ` Andrej Borsenkow
0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 2000-09-06 15:15 UTC (permalink / raw)
To: Akinori -Aki- MUSHA, zsh-workers
> - compadd "$@" - /modules/*.ko(:t) && ret=0
> + compadd "$@" - /boot/kernel/*.ko(:t) /modules/*.ko(:t) && ret=0
Should not this be
compadd "$@" - /boot/kernel/*.ko(N:t) /modules/*.ko(N:t) && ret=0
??
-andrej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-06 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-06 15:02 Trivial patches for FreeBSD Akinori -Aki- MUSHA
2000-09-06 15:15 ` Andrej Borsenkow
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).