summaryrefslogtreecommitdiff
path: root/x11-misc
diff options
context:
space:
mode:
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>2017-02-18 16:33:13 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-18 23:08:28 +0100
commit2a1f21a0e1e58a8ac5bcd6aa68ab6f5ea02f7973 (patch)
treee8c0db454bff248fd4a675539a42c5ee3240eabc /x11-misc
parent8f879964e152595bccb1ace4764e2410d25e7756 (diff)
downloadgentoo-2a1f21a0e1e58a8ac5bcd6aa68ab6f5ea02f7973.tar.gz
gentoo-2a1f21a0e1e58a8ac5bcd6aa68ab6f5ea02f7973.tar.xz
x11-misc/xrootconsole: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/4020
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch b/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
deleted file mode 100644
index 2a0d049d908..00000000000
--- a/x11-misc/xrootconsole/files/xrootconsole-0.4.parse-color.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -u xrootconsole-0.4/util.c xrootconsole-0.4.new/util.c
---- a/util.c 2000-10-10 04:17:53.000000000 +0200
-+++ b/util.c 2004-02-17 23:59:45.000000000 +0100
-@@ -53,16 +53,16 @@
-
-
- unsigned long load_color(const char* s, Display *dpy) {
-- XColor ce, cs;
-+ XColor ce;
- Colormap colormap = DefaultColormap(dpy, DefaultScreen(dpy));
-
-- if (XLookupColor(dpy, colormap, s, &ce, &cs)) {
-+ if (XParseColor(dpy, colormap, s, &ce)) {
- if (XAllocColor(dpy, colormap, &ce)) return ce.pixel;
-
- fprintf(stderr, "Warning: could not allocate color\n");
- return WhitePixel(dpy, DefaultScreen(dpy));
- }
-
-- fprintf(stderr, "Warning: could not lookup color\n");
-+ fprintf(stderr, "Warning: could not parse color\n");
- return WhitePixel(dpy, DefaultScreen(dpy));
- }