head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.38 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.36 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.34 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.32 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.30 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.20 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.18 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.16 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.14 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.12 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.10 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.1.0.4 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.2 pkgsrc-2005Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2005.10.10.09.07.22; author rillig; state dead; branches; next 1.3; 1.3 date 2005.10.04.12.58.13; author gdt; state Exp; branches; next 1.2; 1.2 date 2005.09.27.00.31.18; author gdt; state dead; branches; next 1.1; 1.1 date 2005.04.13.16.56.27; author rillig; state Exp; branches; next ; desc @@ 1.4 log @This package needs a C99 compiler. @ text @$NetBSD: patch-ac,v 1.3 2005/10/04 12:58:13 gdt Exp $ --- ufraw.c.orig 2005-08-29 18:53:28.000000000 -0400 +++ ufraw.c @@@@ -30,6 +30,7 @@@@ int main (int argc, char **argv) int status; GtkWidget *dummyWindow=NULL; const char *locale; + int optInd; ufraw_binary = g_path_get_basename(argv[0]); @@@@ -65,7 +66,7 @@@@ int main (int argc, char **argv) g_strlcpy(rc.outputFilename, "", max_path); /* Put the command-line options in cmd */ - int optInd = ufraw_process_args(&argc, &argv, &cmd, &rc); + optInd = ufraw_process_args(&argc, &argv, &cmd, &rc); if (strlen(cmd.outputFilename)!=0) { ufraw_message(UFRAW_ERROR, "--output option is valid only in batch mode"); @ 1.3 log @Add patch to move variable declaration to beginning of function where it belongs, and where gcc 2.95.3 insists on it being. Fixes build on NetBSD 1.6.2. (I have committed the patch (and the memmem decl patch) to the master ufraw repository.) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to 0.5: 25/09/2005 - UFRaw-0.5 released, based on DCRaw v7.65. * Read support for Nikon Tone Curve (NTC/NCV) files. * Added a curve editor. * Added control on the base curve (see the user guide for more information). * Support the new DCRaw color matrices for better color rendering. * More controls can be set from the command-line. * Preliminary EXIF support. * New UFRaw ID files contain all the conversion parameters and allow for batch conversion. * New 'ufraw-batch' replaces 'ufraw --batch'. * Numerous other changes. * Notice that the new Adaptive Homogeneity-Directed interpolation is still not enabled. Also, adds desktop file, and standalone nikon curve program. The standalone dcraw that can be built with ufraw is not installed. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2005/04/13 16:56:27 rillig Exp $ d3 9 a11 10 Needed for ISO C90 compliance. --- ufraw_ufraw.c.orig Tue Feb 8 16:04:59 2005 +++ ufraw_ufraw.c Tue Apr 12 10:56:20 2005 @@@@ -123,7 +123,7 @@@@ int ufraw_config(image_data *image, cfg_ for (i=0; icurveCount; i++) cfg->curve[i].black = cfg_default.curve[0].black; } - if (cfg->exposureLoad==load_auto) cfg->exposure = nan(""); + if (cfg->exposureLoad==load_auto) cfg->exposure = strtod("NAN", (char**) NULL); d13 2 a14 1 if (image==NULL) return UFRAW_SUCCESS; d16 6 @ 1.1 log @Added some patches for ISO C90 compliance. Approved by jlam. @ text @d1 1 a1 1 $NetBSD$ @