summaryrefslogtreecommitdiff
path: root/packages/mrxvt/files/fix-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mrxvt/files/fix-compile.patch')
-rw-r--r--packages/mrxvt/files/fix-compile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/mrxvt/files/fix-compile.patch b/packages/mrxvt/files/fix-compile.patch
new file mode 100644
index 0000000000..25794dc5fd
--- /dev/null
+++ b/packages/mrxvt/files/fix-compile.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- mrxvt-0.4.1/src/rxvt.h~fix-compile
++++ mrxvt-0.4.1/src/rxvt.h
+@@ -387,15 +387,8 @@
+ ** which in 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
+
+
+ /*