media-gfx/uniconvertor: Add missing include.
authorJeroen Roovers <jer@gentoo.org>
Sun, 3 Dec 2017 11:51:28 +0000 (12:51 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 3 Dec 2017 11:51:28 +0000 (12:51 +0100)
Package-Manager: Portage-2.3.16, Repoman-2.3.6

media-gfx/uniconvertor/files/uniconvertor-2.0_pre379-abs.patch [new file with mode: 0644]
media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild

diff --git a/media-gfx/uniconvertor/files/uniconvertor-2.0_pre379-abs.patch b/media-gfx/uniconvertor/files/uniconvertor-2.0_pre379-abs.patch
new file mode 100644 (file)
index 0000000..c344f8b
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/src/uc2/formats/sk1/sk1objs/curvelow.c
++++ b/src/uc2/formats/sk1/sk1objs/curvelow.c
+@@ -24,6 +24,7 @@
+ 
+ 
+ #include "math.h"
++#include <stdlib.h> /* abs() */
+ // #include "X11/Xlib.h"
+ #include "curvelow.h"
+ 
index 81e96a4ade86297e3a66d4c0101c56b33dadcb19..a6195fb9358a7180318d2537b578ca91d97574de 100644 (file)
@@ -29,6 +29,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-import.patch
        "${FILESDIR}"/${P}-libimg.patch
        "${FILESDIR}"/${P}-test.patch
+       "${FILESDIR}"/${P}-abs.patch
        )
 
 python_prepare_all() {