summaryrefslogtreecommitdiffstats
path: root/recipes/mrxvt/files
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mrxvt/files')
-rw-r--r--recipes/mrxvt/files/fix-compile.patch22
-rw-r--r--recipes/mrxvt/files/font-defaults.patch25
2 files changed, 47 insertions, 0 deletions
diff --git a/recipes/mrxvt/files/fix-compile.patch b/recipes/mrxvt/files/fix-compile.patch
new file mode 100644
index 0000000000..c849ffd35e
--- /dev/null
+++ b/recipes/mrxvt/files/fix-compile.patch
@@ -0,0 +1,22 @@
+Index: mrxvt-0.5.2/src/rxvt.h
+===================================================================
+--- mrxvt-0.5.2.orig/src/rxvt.h
++++ mrxvt-0.5.2/src/rxvt.h
+@@ -488,15 +488,8 @@ typedef char* XPointer;
+ * turn is unsafe without checking. Untainted defines the type of data that is
+ * safe.
+ */
+-#ifdef __GNUC__
+-# define $tainted
+-# define $untainted
+-# define TAINTED $tainted
+-# define UNTAINTED $untainted
+-#else
+-# define TAINTED
+-# define UNTAINTED
+-#endif
++#define TAINTED
++#define UNTAINTED
+
+
+ /*
diff --git a/recipes/mrxvt/files/font-defaults.patch b/recipes/mrxvt/files/font-defaults.patch
new file mode 100644
index 0000000000..3412305d99
--- /dev/null
+++ b/recipes/mrxvt/files/font-defaults.patch
@@ -0,0 +1,25 @@
+Index: mrxvt-0.5.2/src/feature.h
+===================================================================
+--- mrxvt-0.5.2.orig/src/feature.h
++++ mrxvt-0.5.2/src/feature.h
+@@ -474,15 +474,15 @@
+ #define DEFAULT_MIN_VISIBLE_TABS (6)
+
+ /* Minimum Xft font size (pixel) */
+-#define MIN_XFT_FONT_SIZE (8)
++#define MIN_XFT_FONT_SIZE (2)
+
+ /* Default Xft font name and size */
+-#define DEFAULT_XFT_FONT_SIZE (12)
+-#define DEFAULT_XFT_FONT_NAME "Monospace"
++#define DEFAULT_XFT_FONT_SIZE (6)
++#define DEFAULT_XFT_FONT_NAME "Vera Sans Mono"
+
+ /* Default Xft propotional font name and size (used for menubar / tabs) */
+-#define DEFAULT_XFT_PFONT_SIZE (10)
+-#define DEFAULT_XFT_PFONT_NAME "Sans"
++#define DEFAULT_XFT_PFONT_SIZE (8)
++#define DEFAULT_XFT_PFONT_NAME "Vera Sans"
+
+ /* Default cursor blinking time (ms) */
+ #define MIN_BLINK_TIME (100)