diff options
author | hans <hans@pkgsrc.org> | 2011-09-14 16:53:38 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-09-14 16:53:38 +0000 |
commit | ad09963e4b0d0d2ba76d2d866b70a8050191b50c (patch) | |
tree | 364893fe64c3d42be1966921bc1a9e7f6d1e53cc /graphics/gegl | |
parent | f5bf7c20bbc8abda374df73e05c5452f98b31f47 (diff) | |
download | pkgsrc-ad09963e4b0d0d2ba76d2d866b70a8050191b50c.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'graphics/gegl')
-rw-r--r-- | graphics/gegl/Makefile | 5 | ||||
-rw-r--r-- | graphics/gegl/distinfo | 3 | ||||
-rw-r--r-- | graphics/gegl/patches/patch-ab | 15 |
3 files changed, 21 insertions, 2 deletions
diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile index 4d3bab4e884..41f6938ef9c 100644 --- a/graphics/gegl/Makefile +++ b/graphics/gegl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2011/04/22 13:42:31 obache Exp $ +# $NetBSD: Makefile,v 1.22 2011/09/14 16:54:31 hans Exp $ DISTNAME= gegl-0.1.6 PKGREVISION= 1 @@ -33,6 +33,9 @@ PLIST_VARS+= v4l PLIST.v4l= yes .endif +CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 +CXXFLAGS.SunOS+= --std=c99 + .include "options.mk" BUILDLINK_API_DEPENDS.babl+= babl>=0.1.4 diff --git a/graphics/gegl/distinfo b/graphics/gegl/distinfo index 34c33a70930..22d86058700 100644 --- a/graphics/gegl/distinfo +++ b/graphics/gegl/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.8 2011/02/15 17:11:46 adam Exp $ +$NetBSD: distinfo,v 1.9 2011/09/14 16:54:31 hans Exp $ SHA1 (gegl-0.1.6.tar.bz2) = 27bedcfd077da7a6913b82966dbec904b22c121d RMD160 (gegl-0.1.6.tar.bz2) = 8b7bf74fe769cee289b336b5d815b370aa3a125d Size (gegl-0.1.6.tar.bz2) = 4118465 bytes SHA1 (patch-aa) = 0f46061f7b0c213abfe422124839eec29780d039 +SHA1 (patch-ab) = e86bd51009ac7adf05e41aa1f39204db5cdf43ba diff --git a/graphics/gegl/patches/patch-ab b/graphics/gegl/patches/patch-ab new file mode 100644 index 00000000000..7394515699b --- /dev/null +++ b/graphics/gegl/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.5 2011/09/14 16:54:31 hans Exp $ + +--- gegl/gegl-xml.c.orig 2011-01-24 23:03:30.000000000 +0100 ++++ gegl/gegl-xml.c 2011-09-13 17:06:43.989058716 +0200 +@@ -18,7 +18,10 @@ + #include "config.h" + + /* For clang, remove when getting rid of using PATH_MAX */ ++#ifndef __sun + #define _XOPEN_SOURCE 500 ++#endif ++ + + #include <glib.h> + #include <glib-object.h> |