summaryrefslogtreecommitdiff
path: root/graphics/evas
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-12 15:34:24 +0000
committerhans <hans@pkgsrc.org>2012-01-12 15:34:24 +0000
commit1ad6c602ab94f636f514d418a00ac0d17fa80a47 (patch)
tree28e9a6c1a417a7d64f44240c9422157fb433848e /graphics/evas
parentce3ce268381bf298016b08666a3f2088ba65f0e8 (diff)
downloadpkgsrc-1ad6c602ab94f636f514d418a00ac0d17fa80a47.tar.gz
Fix build on SunOS.
Diffstat (limited to 'graphics/evas')
-rw-r--r--graphics/evas/Makefile4
-rw-r--r--graphics/evas/distinfo3
-rw-r--r--graphics/evas/patches/patch-src_modules_loaders_psd_evas__image__load__psd.c9
3 files changed, 14 insertions, 2 deletions
diff --git a/graphics/evas/Makefile b/graphics/evas/Makefile
index 0b3d0b03673..c85218cfb61 100644
--- a/graphics/evas/Makefile
+++ b/graphics/evas/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2011/12/05 17:33:32 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2012/01/12 15:34:24 hans Exp $
#
PKGNAME= evas-${EVAS_VERSION}
@@ -21,6 +21,8 @@ PLIST_SRC+= PLIST
PLIST_SRC+= PLIST.cserve
.endif
+CPPFLAGS.SunOS+= -std=gnu99 -D_XOPEN_SOURCE=600
+
post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING \
${DESTDIR}${PREFIX}/share/doc/evas
diff --git a/graphics/evas/distinfo b/graphics/evas/distinfo
index 051bbc010e1..172d078ccea 100644
--- a/graphics/evas/distinfo
+++ b/graphics/evas/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2011/12/26 02:56:51 sbd Exp $
+$NetBSD: distinfo,v 1.11 2012/01/12 15:34:24 hans Exp $
SHA1 (evas-1.1.0.tar.bz2) = e09daebd5aa14ecdff94bca0ff30a4cf70b3b84b
RMD160 (evas-1.1.0.tar.bz2) = ebad0e5b4f3987ee9a29b39f329afb650eafeb20
Size (evas-1.1.0.tar.bz2) = 9235732 bytes
SHA1 (patch-configure) = e8c7965ff313119dafed9e741439056a0b68bf13
SHA1 (patch-configure.ac) = 7ab470d4c80e60859c3990eccc54633e84d54bda
+SHA1 (patch-src_modules_loaders_psd_evas__image__load__psd.c) = 3c7ec26362e48e8458cb862000999c192965c095
diff --git a/graphics/evas/patches/patch-src_modules_loaders_psd_evas__image__load__psd.c b/graphics/evas/patches/patch-src_modules_loaders_psd_evas__image__load__psd.c
new file mode 100644
index 00000000000..4b76538af5d
--- /dev/null
+++ b/graphics/evas/patches/patch-src_modules_loaders_psd_evas__image__load__psd.c
@@ -0,0 +1,9 @@
+--- src/modules/loaders/psd/evas_image_load_psd.c.orig 2011-08-11 07:46:01.000000000 +0200
++++ src/modules/loaders/psd/evas_image_load_psd.c 2011-12-27 15:15:11.097276116 +0100
+@@ -1,4 +1,6 @@
++#ifndef _XOPEN_SOURCE
+ #define _XOPEN_SOURCE
++#endif
+
+ #ifdef HAVE_CONFIG_H
+ # include <config.h>