FreeBSD Bugzilla – Attachment 27398 Details for
Bug 46476
Fix build on -current for graphics/kdc2tiff
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.36 KB, created by
Kuang-che Wu
on 2002-12-22 20:30:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kuang-che Wu
Created:
2002-12-22 20:30:02 UTC
Size:
2.36 KB
patch
obsolete
>diff -urN kdc2tiff/files/patch-GFilter.cpp kdc2tiff.new/files/patch-GFilter.cpp >--- kdc2tiff/files/patch-GFilter.cpp Thu Jan 1 08:00:00 1970 >+++ kdc2tiff.new/files/patch-GFilter.cpp Mon Dec 23 04:23:34 2002 >@@ -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; >diff -urN kdc2tiff/files/patch-GICBayer.cpp kdc2tiff.new/files/patch-GICBayer.cpp >--- kdc2tiff/files/patch-GICBayer.cpp Thu Jan 1 08:00:00 1970 >+++ kdc2tiff.new/files/patch-GICBayer.cpp Mon Dec 23 04:23:34 2002 >@@ -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)) { >diff -urN kdc2tiff/files/patch-GImageComponent.cpp kdc2tiff.new/files/patch-GImageComponent.cpp >--- kdc2tiff/files/patch-GImageComponent.cpp Thu Jan 1 08:00:00 1970 >+++ kdc2tiff.new/files/patch-GImageComponent.cpp Mon Dec 23 04:23:34 2002 >@@ -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;
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
Actions:
View
|
Diff
Attachments on
bug 46476
: 27398