diff options
author | Ørjan Malde <red@foxi.me> | 2023-04-02 03:45:17 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2023-04-02 03:45:17 +0200 |
commit | b875df5b982dc697fe4a7bc34b8cbc0676f1d115 (patch) | |
tree | f0363595690de088728b384c744ad76398efff15 | |
parent | 6a68fd5df8dbcb651abe8c1274f04d5ab1c37da6 (diff) | |
download | midipix_build-b875df5b982dc697fe4a7bc34b8cbc0676f1d115.tar.bz2 midipix_build-b875df5b982dc697fe4a7bc34b8cbc0676f1d115.tar.xz |
patches/rxvt_unicode-9.22.local.patch: disable Xrender support
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r-- | patches/rxvt_unicode-9.22.local.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/patches/rxvt_unicode-9.22.local.patch b/patches/rxvt_unicode-9.22.local.patch new file mode 100644 index 00000000..a81b6e4e --- /dev/null +++ b/patches/rxvt_unicode-9.22.local.patch @@ -0,0 +1,39 @@ +diff -ru rxvt-unicode-9.22.orig/src/rxvtperl.xs rxvt-unicode-9.22/src/rxvtperl.xs +--- rxvt-unicode-9.22.orig/src/rxvtperl.xs 2015-06-04 18:38:04.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvtperl.xs 2023-04-02 03:42:14.101495245 +0200 +@@ -940,7 +940,7 @@ + const_iv (XIMVisibleToForward), + const_iv (XIMVisibleToBackword), + const_iv (XIMVisibleToCenter), +-#if XRENDER ++#if 0 + const_iv (PictStandardARGB32), + const_iv (PictStandardRGB24), + const_iv (PictStandardA8), +diff -ru rxvt-unicode-9.22.orig/src/rxvttoolkit.C rxvt-unicode-9.22/src/rxvttoolkit.C +--- rxvt-unicode-9.22.orig/src/rxvttoolkit.C 2015-10-11 18:23:17.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvttoolkit.C 2023-04-02 03:41:59.813495158 +0200 +@@ -491,7 +491,7 @@ + #endif + + flags = 0; +-#if XRENDER ++#if 0 + int major, minor; + if (XRenderQueryVersion (dpy, &major, &minor)) + if (major > 0 || (major == 0 && minor >= 11)) +diff -ru rxvt-unicode-9.22.orig/src/rxvt.h rxvt-unicode-9.22/src/rxvt.h +--- rxvt-unicode-9.22.orig/src/rxvt.h 2015-06-17 13:57:42.000000000 +0200 ++++ rxvt-unicode-9.22/src/rxvt.h 2023-04-02 03:33:44.070672503 +0200 +@@ -76,11 +76,6 @@ + # include <gdk-pixbuf/gdk-pixbuf.h> + #endif + +-#if XRENDER && (HAVE_PIXBUF || ENABLE_TRANSPARENCY) +-# define HAVE_BG_PIXMAP 1 +-# define HAVE_IMG 1 +-#endif +- + #if HAVE_BG_PIXMAP + # if HAVE_PIXBUF + # define BG_IMAGE_FROM_FILE 1 |