summaryrefslogtreecommitdiffstats
path: root/recipes/mrxvt/files/fix-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mrxvt/files/fix-compile.patch')
-rw-r--r--recipes/mrxvt/files/fix-compile.patch22
1 files changed, 22 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
+
+
+ /*