forked from pool/hugin
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
Index: src/hugin_base/appbase/ProgressDisplayOld.h
|
|
===================================================================
|
|
--- src/hugin_base/appbase/ProgressDisplayOld.h.orig
|
|
+++ src/hugin_base/appbase/ProgressDisplayOld.h
|
|
@@ -26,6 +26,7 @@
|
|
#ifndef _APPBASE_POGRESSDISPLAYOLD_H
|
|
#define _APPBASE_POGRESSDISPLAYOLD_H
|
|
|
|
+#include <cstdio>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <iostream>
|
|
Index: src/hugin_base/hugin_utils/utils.cpp
|
|
===================================================================
|
|
--- src/hugin_base/hugin_utils/utils.cpp.orig
|
|
+++ src/hugin_base/hugin_utils/utils.cpp
|
|
@@ -171,7 +171,7 @@ std::string doubleToString(double d, int
|
|
if (digits < 0) {
|
|
strcpy(fmt,"%f");
|
|
} else {
|
|
- std::sprintf(fmt,"%%.%df",digits);
|
|
+ sprintf(fmt,"%%.%df",digits);
|
|
}
|
|
char c[1024];
|
|
c[1023] = 0;
|
|
Index: src/hugin_base/panodata/PTScriptParsing.cpp
|
|
===================================================================
|
|
--- src/hugin_base/panodata/PTScriptParsing.cpp.orig
|
|
+++ src/hugin_base/panodata/PTScriptParsing.cpp
|
|
@@ -25,6 +25,7 @@
|
|
#include "PTScriptParsing.h"
|
|
|
|
#include <hugin_utils/utils.h>
|
|
+#include <stdio.h>
|
|
|
|
|
|
namespace HuginBase {
|