summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick13/files/patch-utility
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2005-07-27 02:09:05 +0000
committerMikhail Teterin <mi@FreeBSD.org>2005-07-27 02:09:05 +0000
commitb3c0bec1c71db1adee030f241441075598894498 (patch)
tree141f31668e8b6d897019c066374d4dd9e97ecfd7 /graphics/GraphicsMagick13/files/patch-utility
parentJK2 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-utility21
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);