diff options
Diffstat (limited to 'dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch')
-rw-r--r-- | dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch index 3f7ecc2ff7b2..9b1ab60860b8 100644 --- a/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch +++ b/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch @@ -1,19 +1,23 @@ -dev-libs/libg15render-1.2: - * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * pixel.c:356: warning: incompatible implicit declaration of built-in function 'ceil' - - -Should be fixed by including math.h: - ---- libg15render-1.2_old/pixel.c 2007-03-14 23:37:42.000000000 +0100 -+++ libg15render-1.2/pixel.c 2007-03-14 23:36:29.000000000 +0100 -@@ -17,6 +17,7 @@ + +Should be fixed by including math.h + + * QA Notice: Package triggers severe warnings which indicate that it + * may exhibit random runtime failures. + * pixel.c:504:16: warning: incompatible implicit declaration of built-in function ‘malloc’ + +Should be fixed by including stdlib.h + +--- libg15render-1.2/pixel.c ++++ libg15render-1.2/pixel.c +@@ -17,6 +17,8 @@ */ #include <fcntl.h> ++#include <stdlib.h> +#include <math.h> #include "libg15render.h" - void
\ No newline at end of file + void |