diff options
author | drochner <drochner@pkgsrc.org> | 2007-03-01 18:05:44 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-03-01 18:05:44 +0000 |
commit | ed2cbe844b0bca63ca1e85f91b998fc29a584d2b (patch) | |
tree | 53ed790d726ed4b206f786bbe8b41feb7fbebcf1 /graphics | |
parent | 9fe673d5766a8703890ea7db572a2adbeecb5a06 (diff) | |
download | pkgsrc-ed2cbe844b0bca63ca1e85f91b998fc29a584d2b.tar.gz |
add some extern "C" to make it usable from c++ again
bump PKGREVISION
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libart2/Makefile | 3 | ||||
-rw-r--r-- | graphics/libart2/distinfo | 3 | ||||
-rw-r--r-- | graphics/libart2/patches/patch-aa | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/graphics/libart2/Makefile b/graphics/libart2/Makefile index c366748ebab..6a5be3bf170 100644 --- a/graphics/libart2/Makefile +++ b/graphics/libart2/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2007/03/01 14:27:44 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2007/03/01 18:05:44 drochner Exp $ DISTNAME= libart_lgpl-2.3.19 PKGNAME= ${DISTNAME:S/_lgpl/2/} +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libart_lgpl/2.3/} EXTRACT_SUFX= .tar.bz2 diff --git a/graphics/libart2/distinfo b/graphics/libart2/distinfo index 710574242ce..f7062ebc4e6 100644 --- a/graphics/libart2/distinfo +++ b/graphics/libart2/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.10 2007/03/01 14:27:44 wiz Exp $ +$NetBSD: distinfo,v 1.11 2007/03/01 18:05:44 drochner Exp $ SHA1 (libart_lgpl-2.3.19.tar.bz2) = 7f1ff36c91cdc8f14b62acb50836f52a0c735b9e RMD160 (libart_lgpl-2.3.19.tar.bz2) = 36dca48e3ddcd7e9d11f79e54dd7007cf97ac079 Size (libart_lgpl-2.3.19.tar.bz2) = 302540 bytes +SHA1 (patch-aa) = 2576a37874eaafe933825ebd1ac7fc8d05cb9ee4 diff --git a/graphics/libart2/patches/patch-aa b/graphics/libart2/patches/patch-aa new file mode 100644 index 00000000000..907fb31c1bb --- /dev/null +++ b/graphics/libart2/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1 2007/03/01 18:05:44 drochner Exp $ + +--- art_misc.h.orig 2007-03-01 18:50:10.000000000 +0100 ++++ art_misc.h +@@ -34,10 +34,18 @@ + #include <libart_lgpl/art_config.h> + #endif + ++#ifdef __cplusplus ++extern "C" { ++#endif /* __cplusplus */ ++ + void *art_alloc(size_t size); + void art_free(void *ptr); + void *art_realloc(void *ptr, size_t size); + ++#ifdef __cplusplus ++} ++#endif /* __cplusplus */ ++ + /* These aren't, strictly speaking, configuration macros, but they're + damn handy to have around, and may be worth playing with for + debugging. */ |