summaryrefslogtreecommitdiff
path: root/packages/media-libs/imlib2
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2016-01-07 17:07:08 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2016-01-07 17:19:40 +0100
commit2d6cbc455c4af46d40ae65ef611f14ce07ec3827 (patch)
tree54124180c6f01cb2a4f6a28df166038fa3be153c /packages/media-libs/imlib2
parented95446d8d4114530ca4dc2a918c026bdd31a0a5 (diff)
downloadmedia-2d6cbc455c4af46d40ae65ef611f14ce07ec3827.tar.gz
media-2d6cbc455c4af46d40ae65ef611f14ce07ec3827.tar.xz
imlib2: add upstream patch fixing musl build
* disable static build Change-Id: I7d5dd4f4cef222807d65f70c8db8a3b8c4ab8235 Reviewed-on: https://galileo.mailstation.de/gerrit/4846 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
Diffstat (limited to 'packages/media-libs/imlib2')
-rw-r--r--packages/media-libs/imlib2/files/521573be219f27c7bfebb57d5b0b994fdb316721.patch21
-rw-r--r--packages/media-libs/imlib2/imlib2-1.4.7-r2.exheres-0 (renamed from packages/media-libs/imlib2/imlib2-1.4.7-r1.exheres-0)12
2 files changed, 30 insertions, 3 deletions
diff --git a/packages/media-libs/imlib2/files/521573be219f27c7bfebb57d5b0b994fdb316721.patch b/packages/media-libs/imlib2/files/521573be219f27c7bfebb57d5b0b994fdb316721.patch
new file mode 100644
index 00000000..6d0d383a
--- /dev/null
+++ b/packages/media-libs/imlib2/files/521573be219f27c7bfebb57d5b0b994fdb316721.patch
@@ -0,0 +1,21 @@
+From 521573be219f27c7bfebb57d5b0b994fdb316721 Mon Sep 17 00:00:00 2001
+From: Chloe Kudryavtsev <chloe.kudryavtsev@gmail.com>
+Date: Sat, 24 Oct 2015 23:38:53 -0400
+Subject: add time.h include to common.h for time_t
+
+
+diff --git a/src/lib/common.h b/src/lib/common.h
+index 798965f..9053826 100644
+--- a/src/lib/common.h
++++ b/src/lib/common.h
+@@ -9,6 +9,7 @@
+ #include <config.h>
+ #include <string.h>
+ #include <math.h>
++#include <time.h>
+ #ifdef WITH_DMALLOC
+ #include <dmalloc.h>
+ #endif
+--
+cgit v0.10.1
+
diff --git a/packages/media-libs/imlib2/imlib2-1.4.7-r1.exheres-0 b/packages/media-libs/imlib2/imlib2-1.4.7-r2.exheres-0
index c8e9ff87..6405789f 100644
--- a/packages/media-libs/imlib2/imlib2-1.4.7-r1.exheres-0
+++ b/packages/media-libs/imlib2/imlib2-1.4.7-r2.exheres-0
@@ -4,16 +4,19 @@
# Copyright 1999-2008 Gentoo Foundation
SUMMARY="Image Processing Library"
-HOMEPAGE="http://docs.enlightenment.org/api/imlib2/html/pages.html"
+HOMEPAGE="https://docs.enlightenment.org/api/${PN}/html/pages.html"
DOWNLOADS="mirror://sourceforge/enlightenment/${PNV}.tar.bz2"
LICENCES="${PN}"
SLOT="0"
PLATFORMS="~amd64 ~x86"
-MYOPTIONS="tiff X
+MYOPTIONS="
+ tiff
+ X
( platform: amd64 x86 )
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
- ( x86_cpu_features: mmx )"
+ ( x86_cpu_features: mmx )
+"
DEPENDENCIES="
build:
@@ -37,11 +40,14 @@ DEPENDENCIES="
)
"
+DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/521573be219f27c7bfebb57d5b0b994fdb316721.patch )
+
src_configure() {
local myconf=()
myconf+=(
--enable-visibility-hiding
+ --disable-static
--with-bzip2
--with-gif
--with-jpeg