File dmenu-4.7-config.patch of Package dmenu
diff -Naur dmenu-4.7/config.h dmenu/config.h
--- dmenu-4.7/config.h 1970-01-01 01:00:00.000000000 +0100
+++ dmenu/config.h 2017-11-21 10:19:14.638721307 +0100
@@ -0,0 +1,23 @@
+/* See LICENSE file for copyright and license details. */
+/* Default settings; can be overriden by command line. */
+
+static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+/* -fn option overrides fonts[0]; default X11 font or font set */
+static const char *fonts[] = {
+ "Liberation Mono:pixelsize=14:antialias=false:autohiont=false"
+};
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *colors[SchemeLast][2] = {
+ /* fg bg */
+ [SchemeNorm] = { "#bbbbbb", "#222222" },
+ [SchemeSel] = { "#eeeeee", "#005577" },
+ [SchemeOut] = { "#000000", "#00ffff" },
+};
+/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
+static unsigned int lines = 0;
+
+/*
+ * Characters not considered part of a word while deleting words
+ * for example: " /?\"&[]"
+ */
+static const char worddelimiters[] = " ";
diff -Naur dmenu-4.7/config.mk dmenu/config.mk
--- dmenu-4.7/config.mk 2017-11-21 10:11:46.868284669 +0100
+++ dmenu/config.mk 2017-11-21 10:13:33.884867022 +0100
@@ -2,7 +2,7 @@
VERSION = 4.7
# paths
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include