diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2005-07-27 02:09:05 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2005-07-27 02:09:05 +0000 |
commit | b3c0bec1c71db1adee030f241441075598894498 (patch) | |
tree | 141f31668e8b6d897019c066374d4dd9e97ecfd7 /graphics/GraphicsMagick13/files/patch-utility | |
parent | JK2 is officially deprecated due to lack of developer interest. See (diff) |
A fork of a better-known ImageMagick emphasizing user convenience
and API stability.
The port does not build nor install the Perl and Tcl APIs -- these
will be added by separate ports.
PR: ports/83932
Submitted by: Ron van Daal (maintainer to be)
Diffstat (limited to 'graphics/GraphicsMagick13/files/patch-utility')
-rw-r--r-- | graphics/GraphicsMagick13/files/patch-utility | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/GraphicsMagick13/files/patch-utility b/graphics/GraphicsMagick13/files/patch-utility new file mode 100644 index 000000000000..6dd5fb61c3d3 --- /dev/null +++ b/graphics/GraphicsMagick13/files/patch-utility @@ -0,0 +1,21 @@ +--- magick/utility.c Sat Apr 2 17:35:06 2005 ++++ magick/utility.c Sun Jul 24 18:22:40 2005 +@@ -47,4 +47,8 @@ + #include "magick/utility.h" + ++#if defined(POSIX) ++# include <sys/types.h> ++# include <sys/wait.h> ++#endif + + /* +@@ -3874,4 +3878,9 @@ + #if defined(POSIX) + status=system(command); ++ if (status == -1) ++ perror(command); ++ else if (WIFSIGNALED(status)) { ++ fprintf(stderr, "Command ``\n%s\n'' terminated due to signal %d\n", command, WTERMSIG(status)); ++ } + #elif defined(vms) + status=!system(command); |