Index: head/devel/libzim/files/patch-src_meson.build =================================================================== --- head/devel/libzim/files/patch-src_meson.build (revision 546735) +++ head/devel/libzim/files/patch-src_meson.build (nonexistent) @@ -1,13 +0,0 @@ ---- src/meson.build.orig 2020-07-15 14:24:54 UTC -+++ src/meson.build -@@ -56,6 +56,10 @@ if zstd_dep.found() - deps += [zstd_dep] - endif - -+if target_machine.system() == 'freebsd' -+ deps += [execinfo_dep] -+endif -+ - if xapian_dep.found() - sources += xapian_sources - sources += lib_resources Property changes on: head/devel/libzim/files/patch-src_meson.build ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libzim/files/patch-src_fs__unix.cpp =================================================================== --- head/devel/libzim/files/patch-src_fs__unix.cpp (revision 546735) +++ head/devel/libzim/files/patch-src_fs__unix.cpp (nonexistent) @@ -1,11 +0,0 @@ ---- src/fs_unix.cpp.orig 2020-07-15 14:24:54 UTC -+++ src/fs_unix.cpp -@@ -34,7 +34,7 @@ namespace unix { - - zsize_t FD::readAt(char* dest, zsize_t size, offset_t offset) const - { --#if defined(__APPLE__) || defined(__OpenBSD__) -+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__) - # define PREAD pread - #else - # define PREAD pread64 Property changes on: head/devel/libzim/files/patch-src_fs__unix.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libzim/files/patch-meson.build =================================================================== --- head/devel/libzim/files/patch-meson.build (revision 546735) +++ head/devel/libzim/files/patch-meson.build (nonexistent) @@ -1,23 +0,0 @@ ---- meson.build.orig 2020-07-15 14:24:54 UTC -+++ meson.build -@@ -7,7 +7,8 @@ if build_machine.system() != 'windows' - add_project_arguments('-D_LARGEFILE64_SOURCE=1', '-D_FILE_OFFSET_BITS=64', language: 'cpp') - endif - --sizeof_off_t = meson.get_compiler('cpp').sizeof('off_t') -+cpp = meson.get_compiler('cpp') -+sizeof_off_t = cpp.sizeof('off_t') - - conf = configuration_data() - conf.set('VERSION', '"@0@"'.format(meson.project_version())) -@@ -32,6 +33,10 @@ lzma_dep = dependency('liblzma', static:static_linkage - - zstd_dep = dependency('libzstd', required:false, static:static_linkage) - conf.set('ENABLE_ZSTD', zstd_dep.found()) -+ -+if target_machine.system() == 'freebsd' -+ execinfo_dep = cpp.find_library('execinfo') -+endif - - xapian_dep = dependency('xapian-core', - required:false, Property changes on: head/devel/libzim/files/patch-meson.build ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libzim/files/patch-src_buffer.cpp =================================================================== --- head/devel/libzim/files/patch-src_buffer.cpp (revision 546735) +++ head/devel/libzim/files/patch-src_buffer.cpp (nonexistent) @@ -1,11 +0,0 @@ ---- src/buffer.cpp.orig 2020-07-15 14:24:54 UTC -+++ src/buffer.cpp -@@ -48,6 +48,8 @@ MMapBuffer::MMapBuffer(int fd, offset_t offset, zsize_ - _offset = offset-pa_offset; - #if defined(__APPLE__) || defined(__OpenBSD__) - #define MAP_FLAGS MAP_PRIVATE -+#elif defined(__FreeBSD__) -+ #define MAP_FLAGS MAP_PRIVATE|MAP_PREFAULT_READ - #else - #define MAP_FLAGS MAP_PRIVATE|MAP_POPULATE - #endif Property changes on: head/devel/libzim/files/patch-src_buffer.cpp ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/devel/libzim/Makefile =================================================================== --- head/devel/libzim/Makefile (revision 546735) +++ head/devel/libzim/Makefile (revision 546736) @@ -1,25 +1,25 @@ # $FreeBSD$ PORTNAME= libzim -PORTVERSION= 6.1.8 +PORTVERSION= 6.2.0 CATEGORIES= devel MAINTAINER= swills@FreeBSD.org COMMENT= Reference implementation of the ZIM specification LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libicui18n.so:devel/icu \ libxapian.so:databases/xapian-core \ libzstd.so:archivers/zstd USES= compiler:c++11-lang meson pkgconfig python:3.4+ USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= openzim BINARY_ALIAS= python3=python${PYTHON_VER} python3-config=python${PYTHON_VER}-config PLIST_SUB= PORTVERSION=${PORTVERSION} PORTMAJ=${PORTVERSION:C/\..*//} .include Index: head/devel/libzim/distinfo =================================================================== --- head/devel/libzim/distinfo (revision 546735) +++ head/devel/libzim/distinfo (revision 546736) @@ -1,3 +1,3 @@ -TIMESTAMP = 1595027958 -SHA256 (openzim-libzim-6.1.8_GH0.tar.gz) = 1be605b1d22a0a7c225e80eab2cb1a249bf0f1b500ec8ed42e1091fc96c49fb3 -SIZE (openzim-libzim-6.1.8_GH0.tar.gz) = 28589142 +TIMESTAMP = 1598621169 +SHA256 (openzim-libzim-6.2.0_GH0.tar.gz) = 58ea026dd397027b66aa20db7b1070c349d58216e8eaf38d812d5b9b9c2d761f +SIZE (openzim-libzim-6.2.0_GH0.tar.gz) = 28594832