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

Fix build on 11.x/12.x

PR:		226229
Submitted by:	maintainer
This commit is contained in:
Tilman Keskinoz 2018-03-09 17:57:27 +00:00
parent 0111f86b3d
commit a396f2e8d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463984
2 changed files with 22 additions and 1 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= aimage
PORTVERSION= 3.2.5
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://digitalcorpora.org/downloads/
@ -13,7 +14,7 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libafflib.so:sysutils/afflib
USES= gmake ssl
USES= gmake readline ssl
GNU_CONFIGURE= yes
PLIST_FILES= bin/aimage

View File

@ -0,0 +1,20 @@
--- src/aimage.cpp.orig 2018-02-26 16:24:29.829120000 -0800
+++ src/aimage.cpp 2018-02-26 16:25:21.187218000 -0800
@@ -344,7 +344,7 @@
/* log if necessary */
if(logfile){
fprintf(logfile,
- " pagenum=%"I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n",
+ " pagenum=%" I64d" bytes_to_write=%d bytes_written=%d lap_time=%f\n",
acbi->pagenum,
acbi->bytes_to_write,
acbi->bytes_written,
@@ -621,7 +621,7 @@
int64 ret=0;
int multiplier=1;
char ch,junk;
- switch(sscanf(arg,"%"I64d"%c%c",&ret,&ch,&junk)){
+ switch(sscanf(arg,"%" I64d"%c%c",&ret,&ch,&junk)){
case 1:
return ret; // no multiplier
case 2: