--- boost-1.33.0.orig/boost/graph/adjacency_list.hpp +++ boost-1.33.0/boost/graph/adjacency_list.hpp @@ -386,7 +386,7 @@ template inline adjacency_list(EdgeIterator first, EdgeIterator last, vertices_size_type n, - edges_size_type m = 0, + edges_size_type = 0, const GraphProperty& p = GraphProperty()) : Base(n, first, last), m_property(p) { } @@ -394,7 +394,7 @@ inline adjacency_list(EdgeIterator first, EdgeIterator last, EdgePropertyIterator ep_iter, vertices_size_type n, - edges_size_type m = 0, + edges_size_type = 0, const GraphProperty& p = GraphProperty()) : Base(n, first, last, ep_iter), m_property(p) { } #endif --- boost-1.33.0.orig/boost/archive/detail/interface_iarchive.hpp +++ boost-1.33.0/boost/archive/detail/interface_iarchive.hpp @@ -56,7 +56,7 @@ } template - const basic_pointer_iserializer * register_type(T * t = NULL){ + const basic_pointer_iserializer * register_type(T * = NULL){ const basic_pointer_iserializer & bpis = archive::detail::instantiate_pointer_iserializer( static_cast(NULL), --- boost-1.33.0.orig/boost/archive/detail/interface_oarchive.hpp +++ boost-1.33.0/boost/archive/detail/interface_oarchive.hpp @@ -57,7 +57,7 @@ } template - const basic_pointer_oserializer * register_type(const T * t = NULL){ + const basic_pointer_oserializer * register_type(const T * = NULL){ const basic_pointer_oserializer & bpos = instantiate_pointer_oserializer( static_cast(NULL), --- boost-1.33.0.orig/tools/build/v1/allyourbase.jam +++ boost-1.33.0/tools/build/v1/allyourbase.jam @@ -345,6 +345,9 @@ case IRIX : RANLIB ?= "" ; + case KFREEBSD : + CLONE ?= cp -fpd ; + case LINUX : CLONE ?= cp -fpd ; --- boost-1.33.0.orig/tools/build/v1/gcc-tools.jam +++ boost-1.33.0/tools/build/v1/gcc-tools.jam @@ -416,7 +416,7 @@ LNOPT on $(<) = "" ; } # do we use sonames or not? - if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) + if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD || $(OS) = KFREEBSD ) && ! $(NO_GNU_LN) { OUTTAG on $(<) = ".$(DLLVERSION)" ; SOTAG on $(<) = ".$(DLLVERSION)" ; @@ -462,7 +462,7 @@ gcc-spawn $(<) ; gcc-Link-action $(<) : $(>) ; - if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN) + if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD || $(OS) = KFREEBSD ) && ! $(NO_GNU_LN) { return "$(<[1]).$(DLLVERSION)" ; } --- boost-1.33.0.orig/tools/build/v2/tools/rc.jam +++ boost-1.33.0/tools/build/v2/tools/rc.jam @@ -28,6 +28,8 @@ create-empty-object $(target) : $(sources[1]) ; case "SOLARIS" : create-empty-object $(target) : $(sources[1]) ; + case "KFREEBSD" : + create-empty-object $(target) : $(sources[1]) ; case "LINUX" : create-empty-object $(target) : $(sources[1]) ; case "*" : --- boost-1.33.0.orig/tools/build/jam_src/jam.h +++ boost-1.33.0/tools/build/jam_src/jam.h @@ -385,6 +385,10 @@ # define OS_OPENBSD # define unix # endif +# if defined (__FreeBSD_kernel__) && !defined(__FreeBSD__) +# define OSMINOR "OS=KFREEBSD" +# define OS_KFREEBSD +# endif # ifndef OSMINOR # define OSMINOR "OS=UNKNOWN" # endif --- boost-1.33.0.orig/tools/build/jam_src/README +++ boost-1.33.0/tools/build/jam_src/README @@ -87,6 +87,7 @@ SunOS4.1 SUNOS Ultrix 4.2 ULTRIX BeOS BEOS * + GNU/kFreeBSD KFREEBSD * requires editing Makefile