diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-08 00:01:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-08 00:01:40 +0100 |
commit | 607c0755d4f6476e326fb33795df7216a7bcff18 (patch) | |
tree | ff1bb6ba6e68dc19d8a94e44b32fd404736d3094 /dev-games/irrlicht/files | |
parent | f87d83ebb0d6ae5915c4775f762a0b5bceb9b2a5 (diff) |
gentoo auto-resync : 08:10:2023 - 00:01:40
Diffstat (limited to 'dev-games/irrlicht/files')
-rw-r--r-- | dev-games/irrlicht/files/irrlicht-1.8.4-drop-register.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-games/irrlicht/files/irrlicht-1.8.4-drop-register.patch b/dev-games/irrlicht/files/irrlicht-1.8.4-drop-register.patch new file mode 100644 index 000000000000..532b14f2503e --- /dev/null +++ b/dev-games/irrlicht/files/irrlicht-1.8.4-drop-register.patch @@ -0,0 +1,33 @@ +Bug: https://bugs.gentoo.org/894764 + +--- a/source/Irrlicht/CColorConverter.cpp ++++ b/source/Irrlicht/CColorConverter.cpp +@@ -165,7 +165,7 @@ + out += lineWidth * height;
+
+ u32 x;
+- register u32 c;
++ u32 c;
+ for (u32 y=0; y < (u32) height; ++y)
+ {
+ if (flip)
+--- a/source/Irrlicht/CMY3DHelper.h ++++ b/source/Irrlicht/CMY3DHelper.h +@@ -269,7 +269,7 @@ + unsigned char *out_buf, int out_buf_size)
+ {
+ // we start out with 3 repeating bytes
+- register int len = 3;
++ int len = 3;
+
+ unsigned char ch;
+
+@@ -328,7 +328,7 @@ + //-----------------------------------------------------------
+ void flush_outbuf(unsigned char *out_buf, int out_buf_size)
+ {
+- register int pos=0;
++ int pos=0;
+
+ if(!outbuf_cnt)
+ return; // nothing to do */
|