Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 17:57:28 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463984 - in head/sysutils/aimage: . files
Message-ID:  <201803091757.w29HvSpZ018082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Fri Mar  9 17:57:27 2018
New Revision: 463984
URL: https://svnweb.freebsd.org/changeset/ports/463984

Log:
  Fix build on 11.x/12.x
  
  PR:		226229
  Submitted by:	maintainer

Added:
  head/sysutils/aimage/files/
  head/sysutils/aimage/files/patch-src_aimage.cpp   (contents, props changed)
Modified:
  head/sysutils/aimage/Makefile

Modified: head/sysutils/aimage/Makefile
==============================================================================
--- head/sysutils/aimage/Makefile	Fri Mar  9 17:55:55 2018	(r463983)
+++ head/sysutils/aimage/Makefile	Fri Mar  9 17:57:27 2018	(r463984)
@@ -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

Added: head/sysutils/aimage/files/patch-src_aimage.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/aimage/files/patch-src_aimage.cpp	Fri Mar  9 17:57:27 2018	(r463984)
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803091757.w29HvSpZ018082>