aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdc2tiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-23 08:12:03 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-12-23 08:12:03 +0000
commit75b89d411b5f0bb06849f7ca37d7252b86dadee2 (patch)
treea368bb0f36544e7dff183bbbe6dbd962bfdc9bde /graphics/kdc2tiff
parent2fdc2060520a325305c860c061f3edefe1a3b138 (diff)
downloadports-75b89d411b5f0bb06849f7ca37d7252b86dadee2.tar.gz
ports-75b89d411b5f0bb06849f7ca37d7252b86dadee2.zip
Notes
Diffstat (limited to 'graphics/kdc2tiff')
-rw-r--r--graphics/kdc2tiff/files/patch-GFilter.cpp11
-rw-r--r--graphics/kdc2tiff/files/patch-GICBayer.cpp29
-rw-r--r--graphics/kdc2tiff/files/patch-GImageComponent.cpp11
3 files changed, 51 insertions, 0 deletions
diff --git a/graphics/kdc2tiff/files/patch-GFilter.cpp b/graphics/kdc2tiff/files/patch-GFilter.cpp
new file mode 100644
index 000000000000..5db75652c75d
--- /dev/null
+++ b/graphics/kdc2tiff/files/patch-GFilter.cpp
@@ -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 --git a/graphics/kdc2tiff/files/patch-GICBayer.cpp b/graphics/kdc2tiff/files/patch-GICBayer.cpp
new file mode 100644
index 000000000000..ba9fce0accee
--- /dev/null
+++ b/graphics/kdc2tiff/files/patch-GICBayer.cpp
@@ -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 --git a/graphics/kdc2tiff/files/patch-GImageComponent.cpp b/graphics/kdc2tiff/files/patch-GImageComponent.cpp
new file mode 100644
index 000000000000..4f53a2dd8631
--- /dev/null
+++ b/graphics/kdc2tiff/files/patch-GImageComponent.cpp
@@ -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;