summaryrefslogtreecommitdiff
path: root/graphics/ImageMagick/files/patch-xwindow.c
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2002-11-21 19:00:38 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2002-11-21 19:00:38 +0000
commitd742d20316c30b069811c4b108fe7dddd712108c (patch)
tree2b2a7e3d9c6fd3d782447b6d023e377df8ade675 /graphics/ImageMagick/files/patch-xwindow.c
parentNew port GTKsubtitler version 0.1.3: A small GNOME program for (diff)
Unbreak on -CURRENT.
PR: 45546 Submitted by: bento, JY <leafy@leafy.idv.tw>
Notes
Notes: svn path=/head/; revision=70693
Diffstat (limited to 'graphics/ImageMagick/files/patch-xwindow.c')
-rw-r--r--graphics/ImageMagick/files/patch-xwindow.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/ImageMagick/files/patch-xwindow.c b/graphics/ImageMagick/files/patch-xwindow.c
new file mode 100644
index 000000000000..782a0a09b9cc
--- /dev/null
+++ b/graphics/ImageMagick/files/patch-xwindow.c
@@ -0,0 +1,19 @@
+--- magick/xwindow.c.old Sun Nov 24 15:07:53 2002
++++ magick/xwindow.c Sun Nov 24 15:08:16 2002
+@@ -57,6 +57,16 @@
+ #include "log.h"
+ #include "utility.h"
+ #include "version.h"
++#if defined(HasSharedMemory)
++#include <machine/param.h>
++
++#if __FreeBSD__ >= 5
++typedef unsigned short ushort; /* needed for sys/ipc.h at the moment */
++#endif
++#include <sys/types.h>
++#include <sys/ipc.h>
++#include <sys/shm.h>
++#endif
+ #include "xwindow.h"
+ #if defined(HasX11)
+