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:
parent
0111f86b3d
commit
a396f2e8d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463984
@ -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
|
||||
|
20
sysutils/aimage/files/patch-src_aimage.cpp
Normal file
20
sysutils/aimage/files/patch-src_aimage.cpp
Normal 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:
|
Loading…
Reference in New Issue
Block a user