Date: Mon, 23 Dec 2002 04:25:06 +0800 (CST) From: Kuang-che Wu <kcwu@kcwu.homeip.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46476: Fix build on -current for graphics/kdc2tiff Message-ID: <200212222025.gBMKP6Wi044846@kcwu.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 46476 >Category: ports >Synopsis: Fix build on -current for graphics/kdc2tiff >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Dec 22 12:30:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kuang-che Wu >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD m722 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 26 18:00:18 CST 2002 root@m722:/usr/obj/usr/src/sys/M722 i386 >Description: Fix build on -current for graphics/kdc2tiff >How-To-Repeat: >Fix: 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; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212222025.gBMKP6Wi044846>