1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 0.9.13. Set USE_PERL5=run.

This commit is contained in:
Akinori MUSHA 2014-02-12 04:52:54 +00:00
parent 7bc69fc204
commit a07f361be6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343838
3 changed files with 16 additions and 7 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= q4m
PORTVERSION= 0.9.10
PORTREVISION= 1
PORTVERSION= 0.9.13
CATEGORIES= databases
MASTER_SITES= http://q4m.kazuhooku.com/dist/
PKGNAMEPREFIX= ${_MYSQL_SERVER:T:C/-server$/-/}
@ -17,6 +16,7 @@ USES= gmake perl5
USE_AUTOTOOLS= libtool
USE_MYSQL= server
USE_GCC= 4.2+
USE_PERL5= run
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DDBUG_OFF

View File

@ -1,2 +1,2 @@
SHA256 (q4m-0.9.10.tar.gz) = ddca34f5cf58be70039adaa3197c6a10303218b631c3c0bd3313c892e08199bb
SIZE (q4m-0.9.10.tar.gz) = 1663838
SHA256 (q4m-0.9.13.tar.gz) = fec473030e65895a6a4ac88e10f53fcfc6ec005607a0313be6b074e1079bf1a7
SIZE (q4m-0.9.13.tar.gz) = 1664407

View File

@ -1,6 +1,6 @@
--- src/ha_queue.cc.orig 2013-05-21 18:33:11.000000000 +0900
+++ src/ha_queue.cc 2014-01-22 18:50:08.633290803 +0900
@@ -64,9 +64,7 @@
--- src/ha_queue.cc.orig 2014-02-06 14:51:01.000000000 +0900
+++ src/ha_queue.cc 2014-02-12 13:48:57.069544726 +0900
@@ -68,9 +68,7 @@
#define Q4M_DELETE_MT_PWRITE 2
#define Q4M_DELETE_SERIAL_PWRITE 3
@ -10,3 +10,12 @@
#if SIZEOF_OFF_T != 8
# error "support for 64-bit file offsets is mandatory"
@@ -763,7 +761,7 @@
if (share->mmap_table(max(min((info->_header.end() + EXPAND_BY - 1)
/ EXPAND_BY * EXPAND_BY,
mmap_max),
- EXPAND_BY))
+ static_cast<ulonglong>EXPAND_BY))
!= 0) {
log("mmap failed\n");
goto ERR_AFTER_FILEOPEN;