Fix build on SunOS.
This commit is contained in:
parent
ce3ce26838
commit
1ad6c602ab
3 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
Loading…
Reference in a new issue