mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
5349f4755a
Unfortunately, I had to deprive it from using OpenMP features, since `compiler:openmp' pulls in GCC and libstdc++ which causes linking problems due to incompatible std::string ABI. Also, while Qt 4.x should be supported, it does not build against, so sadly it's Qt 5.x based only for now. WWW: http://photivo.org/
21 lines
491 B
C++
21 lines
491 B
C++
--- Sources/ptDefines.h.orig 2016-03-22 03:34:55 UTC
|
|
+++ Sources/ptDefines.h
|
|
@@ -33,6 +33,8 @@
|
|
#define __STDC_LIMIT_MACROS
|
|
#include <cstdint>
|
|
|
|
+#include <cstdlib>
|
|
+
|
|
// disable the file manager
|
|
// #define PT_WITHOUT_FILEMGR
|
|
|
|
@@ -63,7 +65,7 @@ std::unique_ptr<T> make_unique(Args&& ..
|
|
namespace pt {
|
|
namespace detail {
|
|
struct c_deleter {
|
|
- void operator()(void* ptr) { std::free(ptr); }
|
|
+ void operator()(void* ptr) { free(ptr); }
|
|
};
|
|
}
|
|
template<typename T>
|