diff options
author | Frederik Sdun <frederik.sdun@googlemail.com> | 2009-10-15 19:22:02 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-01-07 13:11:33 +0100 |
commit | cc1c330520dc780748eff80c89fa2e02616d5f6b (patch) | |
tree | 226632b4f83d43d8eed2dca2d6518e74239750a6 /recipes/imagemagick/files/fix_open_file.patch | |
parent | 9842ab0293d253d5ba59075fcc484618ddd895e2 (diff) |
imagemagick:native: fix build error with space
Signed-off-by: Frederik 'playya' Sdun <Frederik.Sdun@googlemail.com>
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/imagemagick/files/fix_open_file.patch')
-rw-r--r-- | recipes/imagemagick/files/fix_open_file.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/imagemagick/files/fix_open_file.patch b/recipes/imagemagick/files/fix_open_file.patch new file mode 100644 index 0000000000..8374e1e551 --- /dev/null +++ b/recipes/imagemagick/files/fix_open_file.patch @@ -0,0 +1,12 @@ +diff -rup ImageMagick-6.3.5.orig/magick/delegate.c ImageMagick-6.3.5/magick/delegate.c +--- ImageMagick-6.3.5.orig/magick/delegate.c 2009-10-15 18:40:06.000000000 +0200 ++++ ImageMagick-6.3.5/magick/delegate.c 2009-10-15 18:23:10.000000000 +0200 +@@ -769,7 +769,7 @@ static void CopyDelegateFile(const char + /* + Copy source file to destination. + */ +- destination_file=open(destination,O_WRONLY | O_BINARY | O_CREAT); ++ destination_file=open(destination, O_BINARY | O_CREAT, O_WRONLY); + if (destination_file == -1) + return; + source_file=open(source,O_RDONLY | O_BINARY); |