Date: Fri, 23 Jan 2015 15:40:26 +0000 (UTC) From: Wen Heping <wen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377744 - in head/databases/hamsterdb: . files Message-ID: <201501231540.t0NFeQMY038020@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: wen Date: Fri Jan 23 15:40:25 2015 New Revision: 377744 URL: https://svnweb.freebsd.org/changeset/ports/377744 QAT: https://qat.redports.org/buildarchive/r377744/ Log: - Fix build Added: head/databases/hamsterdb/files/patch-src-1os-os_posix.cc (contents, props changed) Modified: head/databases/hamsterdb/Makefile Modified: head/databases/hamsterdb/Makefile ============================================================================== --- head/databases/hamsterdb/Makefile Fri Jan 23 15:21:52 2015 (r377743) +++ head/databases/hamsterdb/Makefile Fri Jan 23 15:40:25 2015 (r377744) @@ -24,12 +24,6 @@ HAM_DOCS= README INSTALL ChangeLog TODO 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> Added: head/databases/hamsterdb/files/patch-src-1os-os_posix.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/hamsterdb/files/patch-src-1os-os_posix.cc Fri Jan 23 15:40:25 2015 (r377744) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501231540.t0NFeQMY038020>