summaryrefslogtreecommitdiff
path: root/games-util/grfcodec/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /games-util/grfcodec/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'games-util/grfcodec/files')
-rw-r--r--games-util/grfcodec/files/grfcodec-6.0.6-gcc10.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games-util/grfcodec/files/grfcodec-6.0.6-gcc10.patch b/games-util/grfcodec/files/grfcodec-6.0.6-gcc10.patch
new file mode 100644
index 000000000000..baf84a435f69
--- /dev/null
+++ b/games-util/grfcodec/files/grfcodec-6.0.6-gcc10.patch
@@ -0,0 +1,12 @@
+diff -Nrup a/src/command.cpp b/src/command.cpp
+--- a/src/command.cpp 2015-05-09 04:59:46.000000000 -0600
++++ b/src/command.cpp 2019-09-24 11:37:06.667911307 -0600
+@@ -303,7 +303,7 @@ bool parse_comment(const string&line){
+ uint val=find_command(command_part,beaut),togglebit;
+ if(val!=(uint)-1&&val!=OFF)_commandState.beautifier=true;
+ switch(val){
+- case -1:
++ case -1u:
+ IssueMessage(0,COMMAND_INVALID_ARG,gen[BEAUTIFY].name);
+ return true;
+ case OFF:_commandState.beautifier=false;break;