diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-25 11:50:47 +0000 |
commit | d42200bec37eef2a7478d88988ff00addd0a9202 (patch) | |
tree | 10394660b3cbe4b50173c06950b31302cd25d0d1 /games-board | |
parent | 580f05ea8f512d11e23e8da80177d27835cbdbbc (diff) |
gentoo resync : 25.01.2020
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/xboard/files/xboard-4.9.1-gcc-10.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games-board/xboard/files/xboard-4.9.1-gcc-10.patch b/games-board/xboard/files/xboard-4.9.1-gcc-10.patch new file mode 100644 index 000000000000..76249036ead3 --- /dev/null +++ b/games-board/xboard/files/xboard-4.9.1-gcc-10.patch @@ -0,0 +1,32 @@ +--- a/backend.h ++++ b/backend.h +@@ -242,7 +242,7 @@ extern GameInfo gameInfo; + + /* ICS vars used with backend.c and zippy.c */ + enum ICS_TYPE { ICS_GENERIC, ICS_ICC, ICS_FICS, ICS_CHESSNET /* not really supported */ }; +-enum ICS_TYPE ics_type; ++extern enum ICS_TYPE ics_type; + + /* pgntags.c prototypes + */ +--- a/evalgraph.h ++++ b/evalgraph.h +@@ -34,7 +34,7 @@ typedef enum { PEN_NONE, PEN_BLACK, PEN_DOTTED, PEN_BLUEDOTTED, PEN_BOLDWHITE, P + #define OPEN 0 + + /* Module globals */ +-ChessProgramStats_Move * currPvInfo; ++extern ChessProgramStats_Move * currPvInfo; + extern int currFirst; + extern int currLast; + extern int currCurrent; +--- a/xaw/xhistory.c ++++ b/xaw/xhistory.c +@@ -96,7 +96,6 @@ ScrollToCursor (Option *opt, int caretPos) + + // ------------------------------ callbacks -------------------------- + +-char *historyText; + char historyTranslations[] = + "<Btn3Down>: select-start() \n \ + <Btn3Up>: extend-end(PRIMARY) SelectMove() \n"; |