1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to 2.1.11

This commit is contained in:
Wen Heping 2015-06-28 07:32:23 +00:00
parent 768423ca5d
commit 03ff492c5f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390741
5 changed files with 3 additions and 45 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hamsterdb
PORTVERSION= 2.1.9
PORTVERSION= 2.1.11
CATEGORIES= databases
MASTER_SITES= http://files.hamsterdb.com/dl/

View File

@ -1,2 +1,2 @@
SHA256 (hamsterdb-2.1.9.tar.gz) = 76b5889e6147649f07d8def23e93f9844573ec572fe95cee6849b117139ba57f
SIZE (hamsterdb-2.1.9.tar.gz) = 1643455
SHA256 (hamsterdb-2.1.11.tar.gz) = 800e9140d806db9d836c1f5dc0a01e0b03ee2c9a3a7e28a4bf4b4a8f68218e15
SIZE (hamsterdb-2.1.11.tar.gz) = 1712981

View File

@ -1,11 +0,0 @@
--- src/1base/abi.h.orig 2015-01-13 21:23:05.548499482 +0800
+++ src/1base/abi.h 2015-01-13 21:23:29.098504301 +0800
@@ -31,7 +31,7 @@
#endif
#include <string>
-
+#include <stdlib.h>
// Always verify that a file of level N does not include headers > N!
#ifndef HAM_ROOT_H

View File

@ -1,11 +0,0 @@
--- src/1mem/mem.cc.orig 2015-01-13 21:18:27.778765410 +0800
+++ src/1mem/mem.cc 2015-01-13 21:19:17.118392234 +0800
@@ -67,6 +67,8 @@
// TODO
#elif __APPLE__
// TODO
+#elif __FreeBSD__
+ // TODO
#elif __GNUC__
::malloc_trim(File::get_granularity());
#endif

View File

@ -1,20 +0,0 @@
--- 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);