diff options
author | Wen Heping <wen@FreeBSD.org> | 2015-01-23 15:40:25 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2015-01-23 15:40:25 +0000 |
commit | 9102a9c892d3bb6d7d0dc824c83e0266f7041ef3 (patch) | |
tree | 0c1e939aa0e07b3596108166b5ad7194662ece61 /databases/hamsterdb | |
parent | 9436ce76acd75680d988287bae48eed9d3f12bf1 (diff) | |
download | ports-9102a9c892d3bb6d7d0dc824c83e0266f7041ef3.tar.gz ports-9102a9c892d3bb6d7d0dc824c83e0266f7041ef3.zip |
Notes
Diffstat (limited to 'databases/hamsterdb')
-rw-r--r-- | databases/hamsterdb/Makefile | 8 | ||||
-rw-r--r-- | databases/hamsterdb/files/patch-src-1os-os_posix.cc | 20 |
2 files changed, 21 insertions, 7 deletions
diff --git a/databases/hamsterdb/Makefile b/databases/hamsterdb/Makefile index 39d7c01f1db0..66da4517bf37 100644 --- a/databases/hamsterdb/Makefile +++ b/databases/hamsterdb/Makefile @@ -24,12 +24,6 @@ HAM_DOCS= README INSTALL ChangeLog TODO AUTHORS CREDITS OPTIONS_DEFINE= DOCS -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 1000000 -BROKEN= does not build on FreeBSD < 10 -.endif - post-patch: ${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/configure ${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/unittests/Makefile.in @@ -41,4 +35,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/hamsterdb/files/patch-src-1os-os_posix.cc b/databases/hamsterdb/files/patch-src-1os-os_posix.cc new file mode 100644 index 000000000000..7aaf65272681 --- /dev/null +++ b/databases/hamsterdb/files/patch-src-1os-os_posix.cc @@ -0,0 +1,20 @@ +--- src/1os/os_posix.cc.orig 2015-01-23 22:50:40.837448364 +0800 ++++ src/1os/os_posix.cc 2015-01-23 22:51:34.327606541 +0800 +@@ -277,7 +277,7 @@ + throw Exception(HAM_IO_ERROR); + } + +-uint64_t ++size_t + File::tell() + { + uint64_t offset = lseek(m_fd, 0, SEEK_CUR); +@@ -287,7 +287,7 @@ + return (offset); + } + +-uint64_t ++size_t + File::get_file_size() + { + seek(0, kSeekEnd); |