summaryrefslogtreecommitdiff
path: root/graphics/imlib2/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/imlib2/patches/patch-ad')
-rw-r--r--graphics/imlib2/patches/patch-ad39
1 files changed, 0 insertions, 39 deletions
diff --git a/graphics/imlib2/patches/patch-ad b/graphics/imlib2/patches/patch-ad
deleted file mode 100644
index 2c4fce873b8..00000000000
--- a/graphics/imlib2/patches/patch-ad
+++ /dev/null
@@ -1,39 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2011/01/31 10:22:26 wiz Exp $
-
-Use my_lround() on Interix too.
-
-Add minimalist #ifndef blocks to rip out XShm support on Interix.
-
---- src/lib/rend.c.orig 2004-11-01 04:39:42.000000000 -0500
-+++ src/lib/rend.c
-@@ -495,24 +495,30 @@ __imlib_RenderImage(Display * d, ImlibIm
- gcm = XCreateGC(d, m, GCGraphicsExposures, &gcv);
- }
- /* write the mask */
-+#ifndef __INTERIX
- if (shm)
- /* write shm XImage */
- XShmPutImage(d, m, gcm, mxim, 0, 0, dx, dy, dw, dh, False);
- /* write regular XImage */
- else
-+#endif /* !__INTERIX */
- XPutImage(d, m, gcm, mxim, 0, 0, dx, dy, dw, dh);
- }
- /* write the image */
-+#ifndef __INTERIX
- if (shm)
- /* write shm XImage */
- XShmPutImage(d, w, gc, xim, 0, 0, dx, dy, dw, dh, False);
- /* write regular XImage */
- else
-+#endif /* !__INTERIX */
- XPutImage(d, w, gc, xim, 0, 0, dx, dy, dw, dh);
- /* free the XImage and put onto our free list */
- /* wait for the write to be done */
-+#ifndef __INTERIX
- if (shm)
- XSync(d, False);
-+#endif /* !__INTERIX */
- __imlib_ConsumeXImage(d, xim);
- if (m)
- __imlib_ConsumeXImage(d, mxim);