Attaching update to the kbsd patch, should resolve the issue for you all. Have a nice day. Regards
-- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Index: patches/gdc-fix-build-kbsd.dpatch =================================================================== --- patches/gdc-fix-build-kbsd.dpatch (revision 4359) +++ patches/gdc-fix-build-kbsd.dpatch (working copy) @@ -29,54 +29,45 @@ exit 0 ---- gcc/d/phobos/configure Wed Feb 17 18:35:49 2010 +0100 -+++ gcc/d/phobos/configure Mon Mar 01 12:27:50 2010 +0000 -@@ -5408,7 +5408,7 @@ - rm -f conftest.d conftest.$ac_objext - - case "$d_target_os" in -- aix*|*bsd*|cygwin*|darwin*|linux*|skyos*|solaris*|sysv*) d_have_unix=1 ;; -+ aix*|*bsd*|cygwin*|darwin*|linux*|k*bsd*-gnu|skyos*|solaris*|sysv*) d_have_unix=1 ;; - esac - - DCFG_CBRIDGE_STDIO= -@@ -5816,7 +5816,7 @@ +--- gcc/d/phobos/configure 2010-03-20 13:01:54.000000000 +0000 ++++ gcc/d/phobos/configure 2010-04-13 23:37:04.000000000 +0100 +@@ -5428,6 +5428,7 @@ + freebsd*|k*bsd*-gnu) + d_have_loader=1 + D_EXTRA_OBJS="$D_EXTRA_OBJS gcc/cbridge_stdio.o" ++ D_EXTRA_OBJS="$D_EXTRA_OBJS std/c/freebsd/freebsd.o" + DCFG_CBRIDGE_STDIO=GNU_CBridge_Stdio + ;; + linux*) #D_EXTRA_OBJS="$D_EXTRA_OBJS std/c/linux/linux.o" +@@ -5816,7 +5817,7 @@ d_gc_stack=GC_Use_Stack_Fixed d_gc_data="$d_gc_data GC_Use_Data_Dyld" ;; - *freebsd*)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" -+ *freebsd*|k*bsd*-gnu)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" ++ freebsd*|k*bsd*-gnu)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" d_gc_stack=GC_Use_Stack_FreeBSD d_gc_data="$d_gc_data GC_Use_Data_Fixed" ;; ---- gcc/d/phobos2/configure Wed Feb 17 18:35:49 2010 +0100 -+++ gcc/d/phobos2/configure Mon Mar 01 12:27:50 2010 +0000 -@@ -7332,7 +7332,7 @@ - rm -f conftest.d conftest.$ac_objext - - case "$d_target_os" in -- aix*|*bsd*|cygwin*|darwin*|linux*|skyos*|solaris*|sysv*) d_have_unix=1 ;; -+ aix*|*bsd*|cygwin*|darwin*|linux*|k*bsd*-gnu|skyos*|solaris*|sysv*) d_have_unix=1 ;; - esac - - DCFG_CBRIDGE_STDIO= +--- gcc/d/phobos2/configure 2010-03-20 13:01:54.000000000 +0000 ++++ gcc/d/phobos2/configure 2010-04-13 23:42:12.000000000 +0100 @@ -9110,7 +9110,7 @@ d_gc_stack=GC_Use_Stack_Fixed d_gc_data="$d_gc_data GC_Use_Data_Dyld" ;; - *freebsd*)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" -+ *freebsd*|k*bsd*-gnu)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" ++ freebsd*|k*bsd*-gnu)D_GC_MODULES="$D_GC_MODULES internal/gc/gc_freebsd.o" d_gc_stack=GC_Use_Stack_FreeBSD d_gc_data="$d_gc_data GC_Use_Data_Fixed" ;; ---- gcc/d/target-ver-syms.sh Wed Feb 17 18:35:49 2010 +0100 -+++ gcc/d/target-ver-syms.sh Mon Mar 01 12:27:50 2010 +0000 -@@ -30,6 +30,7 @@ +--- gcc/d/target-ver-syms.sh 2010-03-20 13:01:54.000000000 +0000 ++++ gcc/d/target-ver-syms.sh 2010-04-13 23:37:57.000000000 +0100 +@@ -29,7 +29,8 @@ + cygwin*) d_os_versym=cygwin ; d_unix=1 ;; darwin*) d_os_versym=darwin ; d_unix=1 ;; elf*) ;; - *freebsd*) d_os_versym=freebsd ; d_unix=1 ;; +-*freebsd*) d_os_versym=freebsd ; d_unix=1 ;; ++freebsd*) d_os_versym=freebsd ; d_unix=1 ;; +k*bsd*-gnu) d_os_versym=freebsd ; d_unix=1;; linux*) d_os_versym=linux ; d_unix=1 ;; mingw32*) d_os_versym=Win32; d_windows=1 ;; pe*) case "$target" in -