FreeBSD Bugzilla – Attachment 183798 Details for
Bug 220247
graphics/pfstools: [PATCH]fix qt option build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Some additional patches
graphics__pfstools.diff (text/plain), 2.15 KB, created by
Iouri V. Ivliev
on 2017-06-26 08:41:59 UTC
(
hide
)
Description:
Some additional patches
Filename:
MIME Type:
Creator:
Iouri V. Ivliev
Created:
2017-06-26 08:41:59 UTC
Size:
2.15 KB
patch
obsolete
>diff -ruN /chroot/usr/ports/graphics/pfstools.orig/Makefile /chroot/usr/ports/graphics/pfstools/Makefile >--- /chroot/usr/ports/graphics/pfstools.orig/Makefile 2017-06-26 05:15:26.207269000 +0300 >+++ /chroot/usr/ports/graphics/pfstools/Makefile 2017-05-24 11:11:07.415195000 +0300 >dd >@@ -79,7 +81,7 @@ > octave_CMD?= ${OCTAVE_BASE}/bin/octave > .endif > >-post-install: >+post-stage: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib//libpfs-1.2.so.0.0.0 > > .include <bsd.port.mk> >diff -ruN /chroot/usr/ports/graphics/pfstools.orig/files/patch-src-filter-pfswb.cpp /chroot/usr/ports/graphics/pfstools/files/patch-src-filter-pfswb.cpp >--- /chroot/usr/ports/graphics/pfstools.orig/files/patch-src-filter-pfswb.cpp 2017-06-26 05:15:26.213880000 +0300 >+++ /chroot/usr/ports/graphics/pfstools/files/patch-src-filter-pfswb.cpp 2017-04-07 13:40:10.418391000 +0300 >@@ -1,6 +1,6 @@ >---- src/filter/pfswb.cpp.orig 2016-02-12 17:10:27 UTC >+--- src/filter/pfswb.cpp.orig 2016-08-12 19:10:44 UTC > +++ src/filter/pfswb.cpp >-@@ -0,0 +1,297 @@ >+@@ -0,0 +1,299 @@ > +/** > + * @file pfswb.cpp > + * @brief Adjust white balance in RGB color space >@@ -184,10 +184,12 @@ > + float nmin = 1e20, nmax = -1e20; > + for (int i=s; i--; ) > + { >-+ float const &l = ((*Y)(i)-amin)*k+min; >++ float const l = ((*Y)(i)-amin)*k+min; > + if (nmin > l) nmin = l; > + if (nmax < l) nmax = l; > + (*Y)(i) = l; >++ (*X)(i) *= k; >++ (*Z)(i) *= k; > + } > + VERBOSE_STR << "restored luminance range: " << nmin << ":" << nmax << std::endl; > + } >diff -ruN /chroot/usr/ports/graphics/pfstools.orig/files/patch-src-pfs-pfs.h /chroot/usr/ports/graphics/pfstools/files/patch-src-pfs-pfs.h >--- /chroot/usr/ports/graphics/pfstools.orig/files/patch-src-pfs-pfs.h 2017-06-26 05:15:26.216552000 +0300 >+++ /chroot/usr/ports/graphics/pfstools/files/patch-src-pfs-pfs.h 2016-08-12 22:13:57.198696000 +0300 >@@ -43,3 +43,12 @@ > } > > ~Exception() {}; >+@@ -590,7 +596,7 @@ namespace pfs >+ * >+ * @return text description of the cause for the exception >+ */ >+- const char* getMessage() >++ const char* getMessage() const >+ { >+ return msg; >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fbsd
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 220247
:
183760
| 183798