summaryrefslogtreecommitdiff
path: root/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch')
-rw-r--r--games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch
deleted file mode 100644
index ead10c90400b..000000000000
--- a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-Don't typecast otherwise C++ will fail to match on some arches.
-
-http://bugs.gentoo.org/84187
-
---- a/loadparts.cpp
-+++ b/loadparts.cpp
-@@ -247,3 +247,3 @@
- // concat next line(s)
-- int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1);
-+ int bufsize = clamp((size_t)0, sizeof(line)-l, sizeof(line)-1);
- fgets(&line[l-2], bufsize, fp);