Index: head/devel/heaptrack/Makefile =================================================================== --- head/devel/heaptrack/Makefile (revision 537510) +++ head/devel/heaptrack/Makefile (revision 537511) @@ -1,30 +1,31 @@ # $FreeBSD$ PORTNAME= heaptrack DISTVERSIONPREFIX= v DISTVERSION= 1.1.0-179 DISTVERSIONSUFFIX= -gb0f8f2d +PORTREVISION= 1 CATEGORIES= devel kde MAINTAINER= kde@FreeBSD.org COMMENT= Heap memory profiler LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libunwind.so:devel/libunwind \ libKChart.so:graphics/kdiagram USES= cmake compiler:c++11-lang desktop-file-utils kde:5 \ localbase qt:5 tar:xz USE_GITHUB= yes GH_ACCOUNT= KDE USE_KDE= auth auth codecs completion config config \ configwidgets coreaddons ecm i18n itemmodels \ jobwidgets kio kio service threadweaver \ widgetsaddons windowsystem USE_QT= concurrent core dbus gui network widgets xml \ buildtools_build qmake_build .include Index: head/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp =================================================================== --- head/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp (nonexistent) +++ head/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp (revision 537511) @@ -0,0 +1,21 @@ +--- src/track/heaptrack_inject.cpp.orig 2020-06-01 22:47:27 UTC ++++ src/track/heaptrack_inject.cpp +@@ -66,8 +66,18 @@ using Dyn = ElfW(Dyn); + using Rel = ElfW(Rel); + using Rela = ElfW(Rela); + using Sym = ElfW(Sym); ++#if __WORDSIZE == 64 + using Sxword = ElfW(Sxword); + using Xword = ElfW(Xword); ++#else ++// FreeBSD elf32.h doesn't define Elf32_Sxword or _Xword. This is used in struct ++// elftable, where it's used as a tag value. Our Elf32_Dyn uses Elf32_Sword there, ++// as does the Linux definition (and the standard); the El64_Dyn uses Sxword. ++// ++// Linux elf.h defines Elf32_Sxword as a 64-bit quantity, so let's do that ++using Sxword = int64_t; ++using Xword = uint64_t; ++#endif + } + + void overwrite_symbols() noexcept; Property changes on: head/devel/heaptrack/files/patch-src_track_heaptrack__inject.cpp ___________________________________________________________________ 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