diff options
Diffstat (limited to 'app-misc/bb/files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch')
-rw-r--r-- | app-misc/bb/files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-misc/bb/files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch b/app-misc/bb/files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch new file mode 100644 index 000000000000..6442a9c9fd29 --- /dev/null +++ b/app-misc/bb/files/bb-1.3.0_rc1-fix-lto-type-mismatch.patch @@ -0,0 +1,18 @@ +In tex.c these variables are initialized as unsigned longs, so they should +be declared as unsigned longs. I have scanned the code base for any usage +of them in the negatives - nothing. + +Bug: https://bugs.gentoo.org/854720 + +Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> + +--- a/tex.h ++++ b/tex.h +@@ -28,5 +28,6 @@ extern void disp3d(void); + extern void set_zbuff(void); + extern void unset_zbuff(void); + +-extern int alfa,beta,gama,centerx,centery,centerz; ++extern unsigned long alfa,beta,gama; ++extern int centerx,centery,centerz; + extern float zoom; |