You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libg15render/files/libg15render-1.2-pixel-c.patch

24 lines
686 B

* 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
* 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