summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-03 12:51:28 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-03 12:51:28 +0100
commiteabce5e2348252945ad91b87b1ff91c3731b0ce5 (patch)
tree1f0de6b93793e2561025f5ce733c87fb06eea019
parentapp-text/fbpdf: Block !media-gfx/fbida[fbcon] (bug #622324). (diff)
downloadgentoo-eabce5e2348252945ad91b87b1ff91c3731b0ce5.tar.gz
gentoo-eabce5e2348252945ad91b87b1ff91c3731b0ce5.tar.bz2
gentoo-eabce5e2348252945ad91b87b1ff91c3731b0ce5.zip
media-gfx/uniconvertor: Add missing include.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
-rw-r--r--media-gfx/uniconvertor/files/uniconvertor-2.0_pre379-abs.patch10
-rw-r--r--media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild1
2 files changed, 11 insertions, 0 deletions
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
index 00000000000..c344f8b1c54
--- /dev/null
+++ b/media-gfx/uniconvertor/files/uniconvertor-2.0_pre379-abs.patch
@@ -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"
+
diff --git a/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild b/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild
index 81e96a4ade8..a6195fb9358 100644
--- a/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild
+++ b/media-gfx/uniconvertor/uniconvertor-2.0_pre379-r2.ebuild
@@ -29,6 +29,7 @@ PATCHES=(
"${FILESDIR}"/${P}-import.patch
"${FILESDIR}"/${P}-libimg.patch
"${FILESDIR}"/${P}-test.patch
+ "${FILESDIR}"/${P}-abs.patch
)
python_prepare_all() {