1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Update to 1.2

PR:		ports/121858
Submitted by:	Iouri V. Ivliev <ii at any.com.ru> (maintainer)
This commit is contained in:
Rong-En Fan 2008-04-04 12:18:22 +00:00
parent 8d3834b690
commit b356cf090c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210487
3 changed files with 20 additions and 4 deletions

View File

@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= pfstmo
PORTVERSION= 1.1
PORTVERSION= 1.2
CATEGORIES= graphics
MASTER_SITES= SF
MASTER_SITE_SUBDIR= pfstools

View File

@ -1,3 +1,3 @@
MD5 (pfstmo-1.1.tar.gz) = 0b15be34f61a492062685f574af83bca
SHA256 (pfstmo-1.1.tar.gz) = 68c50a67cdd9e526249742ce6c330d6cadd8290b67c33a0942f4e9f5aa6918b7
SIZE (pfstmo-1.1.tar.gz) = 367563
MD5 (pfstmo-1.2.tar.gz) = 50eda7f8ab22ba42580494811dba31dc
SHA256 (pfstmo-1.2.tar.gz) = 796555f3c60fc8f2cb56e4288dc035aa3f0a6b8812a7388ce3c002103c2e5aa1
SIZE (pfstmo-1.2.tar.gz) = 384037

View File

@ -0,0 +1,16 @@
--- src/mantiuk06/contrast_domain.cpp.orig 2008-03-12 09:20:28.000000000 +0000
+++ src/mantiuk06/contrast_domain.cpp 2008-03-12 09:27:16.000000000 +0000
@@ -58,6 +58,13 @@
#define LOOKUP_W_TO_R 107
+#if defined(__FreeBSD__)
+static inline float exp10f(float x) {
+ return powf(10.,x);
+}
+#endif
+
+
static void contrast_equalization( pyramid_t *pp, const float contrastFactor );
static void transform_to_luminance(pyramid_t* pyramid, float* const x, progress_callback progress_cb, const bool bcg);