summaryrefslogtreecommitdiff
path: root/graphics/xpaint/patches/patch-image_h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpaint/patches/patch-image_h')
-rw-r--r--graphics/xpaint/patches/patch-image_h16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/xpaint/patches/patch-image_h b/graphics/xpaint/patches/patch-image_h
new file mode 100644
index 00000000000..e57c750988c
--- /dev/null
+++ b/graphics/xpaint/patches/patch-image_h
@@ -0,0 +1,16 @@
+$NetBSD: patch-image_h,v 1.1 2011/12/16 05:14:27 dholland Exp $
+
+Yet another package that thinks it's a good idea to conditionalize on
+someone else's include guards beyond its control...
+
+--- image.h~ 2005-03-20 20:15:32.000000000 +0000
++++ image.h
+@@ -63,7 +63,7 @@ typedef struct {
+ unsigned long sourceMask;
+ } Image;
+
+-#ifdef _XLIB_H_
++#if defined(_XLIB_H_) || defined(_X11_XLIB_H_)
+ /* Used to transfer information to routines in iprocess.c */
+ struct imageprocessinfo {
+ int oilArea;