aboutsummaryrefslogtreecommitdiffstats
path: root/community/mrxvt/gcc-10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mrxvt/gcc-10.patch')
-rw-r--r--community/mrxvt/gcc-10.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/mrxvt/gcc-10.patch b/community/mrxvt/gcc-10.patch
new file mode 100644
index 00000000000..9782093d466
--- /dev/null
+++ b/community/mrxvt/gcc-10.patch
@@ -0,0 +1,22 @@
+Taken from Gentoo
+
+--- a/src/rxvtlib.h
++++ b/src/rxvtlib.h
+@@ -790,7 +790,7 @@ typedef struct {
+ } action_t;
+
+ /* Values for macro_t.type. Must sync this with macroNames from macros.c */
+-enum {
++enum macroFnNames {
+ MacroFnDummy=0,
+ MacroFnEsc,
+ MacroFnStr,
+@@ -820,7 +820,7 @@ enum {
+ MacroFnSaveConfig,
+ MacroFnToggleMacros,
+ NMACRO_FUNCS
+-} macroFnNames;
++};
+
+ typedef unsigned char macro_priority_t;
+ typedef struct {