mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
- Also fix build with LibreSSL: The configure script checks that libssl has ssl3_new() which LibreSSL doesn't have but aimage itself never uses it, so pretend it's there to pass the check. PR: 228756 Reported by: Chris Hutchinson <portmaster@bsdforge.com> Submitted by: tobik Approved by: Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
20 lines
725 B
C++
20 lines
725 B
C++
--- src/aimage.cpp.orig 2010-12-17 13:49:50 UTC
|
|
+++ src/aimage.cpp
|
|
@@ -344,7 +344,7 @@ void segwrite_callback(struct affcallback_info *acbi)
|
|
/* 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 scaled_atoi(const char *arg)
|
|
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:
|