darktable is a virtual lighttable and darkroom for photographers: it manages your digital negatives in a database and lets you view them through a zoomable lighttable. It also enables you to develop raw images and enhance them. It tries to fill the gap between the many excellent existing free raw converters and image management tools (such as ufraw or f-spot). All editing is fully non-destructive and only operates on cached image buffers for display. The full image is only converted during export. Raw files, high-dynamic range and standard image formats such as jpeg are all supported. The core operates completely on floating point values, so darktable can not only be used for photography but also for scientifically acquired images or output of renderers (high dynamic range).
34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
$OpenBSD: patch-src_common_camera_control_c,v 1.1.1.1 2010/09/17 21:37:19 sthen Exp $
|
|
|
|
missing sentinel in function call; pushed upstream
|
|
|
|
--- src/common/camera_control.c.orig Fri Aug 27 17:46:31 2010
|
|
+++ src/common/camera_control.c Thu Sep 16 23:24:44 2010
|
|
@@ -173,7 +173,7 @@ void _camera_process_jobb(const dt_camctl_t *c,const d
|
|
const char *fname = _dispatch_request_image_filename(c,fp.name,cam);
|
|
if( !fname ) fname=fp.name;
|
|
|
|
- char *output = g_build_filename(output_path,fname,NULL);
|
|
+ char *output = g_build_filename(output_path,fname,(char *)NULL);
|
|
|
|
int handle = open( output, O_CREAT | O_WRONLY,0666);
|
|
gp_file_new_from_fd( &destination , handle );
|
|
@@ -474,7 +474,7 @@ void dt_camctl_import(const dt_camctl_t *c,const dt_ca
|
|
const char *fname = _dispatch_request_image_filename(c,filename,cam);
|
|
if(!fname) fname=filename;
|
|
|
|
- char *output = g_build_filename(output_path,fname,NULL);
|
|
+ char *output = g_build_filename(output_path,fname,(char *)NULL);
|
|
|
|
// Now we have filenames lets download file and notify listener of image download
|
|
CameraFile *destination;
|
|
@@ -792,7 +792,7 @@ void _camera_poll_events(const dt_camctl_t *c,const dt
|
|
const char *fname = _dispatch_request_image_filename(c,fp->name,cam);
|
|
if( !fname ) fname=fp->name;
|
|
|
|
- char *output = g_build_filename(output_path,fname,NULL);
|
|
+ char *output = g_build_filename(output_path,fname,(char *)NULL);
|
|
|
|
int handle = open( output, O_CREAT | O_WRONLY,0666);
|
|
gp_file_new_from_fd( &destination , handle );
|