Index: head/devel/hwloc/Makefile =================================================================== --- head/devel/hwloc/Makefile (revision 462616) +++ head/devel/hwloc/Makefile (revision 462617) @@ -1,48 +1,46 @@ # $FreeBSD$ PORTNAME= hwloc PORTVERSION= 1.11.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.open-mpi.org/software/hwloc/v${PORTVERSION:R}/downloads/ \ http://icl.cs.utk.edu/open-mpi/software/hwloc/v${PORTVERSION:R}/downloads/ MAINTAINER= phd_kimberlite@yahoo.co.jp COMMENT= Portable Hardware Locality software package LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpciaccess.so:devel/libpciaccess GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static \ --disable-opencl \ --disable-cuda \ --disable-nvml \ --disable-gl INSTALL_TARGET= install-strip USES= iconv libtool pathfix pkgconfig tar:bzip2 -# Builds fine with clang, but crashes since 1.11.3 -USE_GCC= any USE_LDCONFIG= yes USE_GNOME= libxml2 PORTDOCS= * ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 ONLY_FOR_ARCHS_REASON= has not been ported to this architecture OPTIONS_DEFINE= CAIRO DOCS OPTIONS_SUB= yes CAIRO_CONFIGURE_OFF= --disable-cairo --without-x CAIRO_CONFIGURE_ON= --enable-cairo --with-x CAIRO_LIB_DEPENDS= libcairo.so:graphics/cairo CAIRO_USE= XORG=x11 post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${INSTALL_DATA} ${WRKSRC}/doc/doxygen-doc/html/* ${STAGEDIR}${DOCSDIR}/html/ .include Index: head/devel/hwloc/files/patch-src_topology-x86.c =================================================================== --- head/devel/hwloc/files/patch-src_topology-x86.c (nonexistent) +++ head/devel/hwloc/files/patch-src_topology-x86.c (revision 462617) @@ -0,0 +1,17 @@ +--- src/topology-x86.c.orig 2017-04-19 15:19:38 UTC ++++ src/topology-x86.c +@@ -997,7 +997,14 @@ int hwloc_look_x86(struct hwloc_backend *backend, int + unsigned features[10] = { 0 }; + struct procinfo *infos = NULL; + enum cpuid_type cpuid_type = unknown; ++#if defined HWLOC_FREEBSD_SYS && defined HAVE_CPUSET_SETID \ ++ && __FreeBSD_version >= 1101000 && __FreeBSD_version < 1102000 ++ /* Buffer overrun in cpuset_getid in FreeBSD 11.1 */ ++ hwloc_x86_os_state_t os_state[2]; ++#define os_state os_state[0] ++#else + hwloc_x86_os_state_t os_state; ++#endif + struct hwloc_binding_hooks hooks; + struct hwloc_topology_support support; + struct hwloc_topology_membind_support memsupport __hwloc_attribute_unused; Property changes on: head/devel/hwloc/files/patch-src_topology-x86.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property