1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 13:40:34 -04:00
ports/graphics/pfstools/files/patch-src_hdrhtml_hdrhtml.cpp
Yuri Victorovich 54975cd08c graphics/pfstools: Update to 2.1.0
Port changes:
* Change to DISTVERSION
* Add LICENSE_FILE
* Change to cmake (from gmake)
* Update of all options accordingly

PR:		225537
Submitted by:	Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
2018-03-20 06:33:01 +00:00

18 lines
405 B
C++

--- src/hdrhtml/hdrhtml.cpp.orig 2018-02-26 13:58:05 UTC
+++ src/hdrhtml/hdrhtml.cpp
@@ -27,6 +27,7 @@
#include "hdrhtml.h"
+#include <limits>
#include <algorithm>
#include <math.h>
#include <fstream>
@@ -197,6 +198,7 @@ public:
this->y_i = new float[lut_size];
own_y_i = true;
memcpy(this->y_i, other.y_i, lut_size * sizeof(float));
+ return *this;
}
~UniformArrayLUT()