Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Trivial patches for FreeBSD



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"



Messages sorted by: Reverse Date, Date, Thread, Author