mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
fix build on -current
PR: 46476 Submitted by: Kuang-che Wu <kcwu@kcwu.homeip.net>
This commit is contained in:
parent
2fdc206052
commit
75b89d411b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71812
11
graphics/kdc2tiff/files/patch-GFilter.cpp
Normal file
11
graphics/kdc2tiff/files/patch-GFilter.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- GFilter.cpp.orig Mon Dec 23 04:20:42 2002
|
||||
+++ GFilter.cpp Mon Dec 23 04:21:00 2002
|
||||
@@ -26,7 +26,7 @@
|
||||
green = *(short*)(((char*)table)+(green&0xFFFE));
|
||||
blue = *(short*)(((char*)table)+(blue&0xFFFE));
|
||||
}
|
||||
-void GFilter_GammaCorrection::setGammaCorrection(float gamma=1) {
|
||||
+void GFilter_GammaCorrection::setGammaCorrection(float gamma) {
|
||||
// create table
|
||||
if (table)
|
||||
delete[] table;
|
29
graphics/kdc2tiff/files/patch-GICBayer.cpp
Normal file
29
graphics/kdc2tiff/files/patch-GICBayer.cpp
Normal file
@ -0,0 +1,29 @@
|
||||
--- GICBayer.cpp.orig Mon Dec 23 04:19:54 2002
|
||||
+++ GICBayer.cpp Mon Dec 23 04:20:21 2002
|
||||
@@ -236,7 +236,7 @@
|
||||
|
||||
GICBayer_Green::GICBayer_Green(const unsigned char* imagedata,
|
||||
int width, int height,
|
||||
- float maxerr=0)
|
||||
+ float maxerr)
|
||||
: GImageComponent(width,height,maxerr) {
|
||||
|
||||
/* initialize arrays
|
||||
@@ -428,7 +428,7 @@
|
||||
GICBayer_Red::GICBayer_Red(const unsigned char* imagedata,
|
||||
int width, int height,
|
||||
GImageComponent& green,
|
||||
- float maxerr=0)
|
||||
+ float maxerr)
|
||||
: GImageComponent(width,height,maxerr) {
|
||||
|
||||
if ((green.getWidth()!=w)||(green.getHeight()!=h)) {
|
||||
@@ -617,7 +617,7 @@
|
||||
GICBayer_Blue::GICBayer_Blue(const unsigned char* imagedata,
|
||||
int width, int height,
|
||||
GImageComponent& green,
|
||||
- float maxerr=0)
|
||||
+ float maxerr)
|
||||
: GImageComponent(width,height,maxerr) {
|
||||
|
||||
if ((green.getWidth()!=w)||(green.getHeight()!=h)) {
|
11
graphics/kdc2tiff/files/patch-GImageComponent.cpp
Normal file
11
graphics/kdc2tiff/files/patch-GImageComponent.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- GImageComponent.cpp.orig Mon Dec 23 04:19:27 2002
|
||||
+++ GImageComponent.cpp Mon Dec 23 04:19:39 2002
|
||||
@@ -283,7 +283,7 @@
|
||||
|
||||
GImageComponent0::GImageComponent0(const unsigned char* imagedata,
|
||||
int width, int height,
|
||||
- float maxerr=0)
|
||||
+ float maxerr)
|
||||
: GImageComponent(width,height,maxerr) {
|
||||
|
||||
int itter;
|
Loading…
Reference in New Issue
Block a user