Skip to content
Snippets Groups Projects
Commit d54f2131 authored by Leo's avatar Leo
Browse files

community/mrxvt: fix build with -fno-common

parent 43ab0486
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@ subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/sourceforge/materm/mrxvt-$pkgver.tar.gz
mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
musl-fix-includes.patch
gcc-10.patch
mrxvt.desktop
"
......@@ -51,4 +52,5 @@ package() {
sha512sums="572bb4dda9f9b9dcb597f3185922646523bce34003f536acca82992f68f8f7c1a5f2778d626f805ea2cd061e8451fbbf12010e5d655221f76b83440825c80992 mrxvt-0.5.4.tar.gz
27d8a9775a5ea6e5e0e588d84ab5c76cc76aaa4ebeb473950e8f6b3dbf660a380c2d2385356ab9bd12d2e00b98c467f99f8e1aac16c91f8ffa4e29a38124340a mrxvt-0.5.4-002-fix-segfault-when-wd-empty.patch
4f2cf06484b1b364f7eb9f2acc629d2e600d4e614071fca5035d3654b083347f00162d2077496626fe4184dcac938b0b91f3ffe23f259b53ed475c4b8e85dbb0 musl-fix-includes.patch
1cb5ad1a64f105da63914ee321dcc9753887d8584a8f99d7d8ee1326fdb1d94fb188854393003b33097c00bfe509af3eb12c92564cddce46fccd4cf00c1bf7b6 gcc-10.patch
04e0f2e93449d2656e55bdbdf6742d50c625c86ba8e64062e40f447a077b3a01f457ea855a99df39b4a099b30517d4a8cc45e91de6300023d0072ee76ae2b375 mrxvt.desktop"
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 {
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment