summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gryniewicz <dang@gentoo.org>2007-03-01 16:43:25 +0000
committerDaniel Gryniewicz <dang@gentoo.org>2007-03-01 16:43:25 +0000
commit126aad9c2a878b0081fe2f68ea90ea055186cb0f (patch)
tree75258be0f67a4b4c0996647e92cacf3d24ae1a00 /media-libs
parentDropped ppc-macos keyword, see you in prefix (diff)
downloadgentoo-2-126aad9c2a878b0081fe2f68ea90ea055186cb0f.tar.gz
gentoo-2-126aad9c2a878b0081fe2f68ea90ea055186cb0f.tar.bz2
gentoo-2-126aad9c2a878b0081fe2f68ea90ea055186cb0f.zip
Bump to 2.3.19-r1
- Include real fix for building C++. Bug #168794 and #168649 (Portage version: 2.1.2-r12)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libart_lgpl/ChangeLog10
-rw-r--r--media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19-r1 (renamed from media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19)0
-rw-r--r--media-libs/libart_lgpl/files/libart_lgpl-2.3.19-alloc.patch19
-rw-r--r--media-libs/libart_lgpl/libart_lgpl-2.3.19-r1.ebuild (renamed from media-libs/libart_lgpl/libart_lgpl-2.3.19.ebuild)10
4 files changed, 36 insertions, 3 deletions
diff --git a/media-libs/libart_lgpl/ChangeLog b/media-libs/libart_lgpl/ChangeLog
index bd848b32ed8a..76c89202afa3 100644
--- a/media-libs/libart_lgpl/ChangeLog
+++ b/media-libs/libart_lgpl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/libart_lgpl
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libart_lgpl/ChangeLog,v 1.42 2007/02/28 18:53:44 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libart_lgpl/ChangeLog,v 1.43 2007/03/01 16:43:25 dang Exp $
+
+*libart_lgpl-2.3.19-r1 (01 Mar 2007)
+
+ 01 Mar 2007; Daniel Gryniewicz <dang@gentoo.org>
+ +files/libart_lgpl-2.3.19-alloc.patch, -libart_lgpl-2.3.19.ebuild,
+ +libart_lgpl-2.3.19-r1.ebuild:
+ Bump to 2.3.19-r1
+ - Include real fix for building C++. Bug #168794 and #168649
*libart_lgpl-2.3.19 (28 Feb 2007)
diff --git a/media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19 b/media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19-r1
index 595d990bada6..595d990bada6 100644
--- a/media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19
+++ b/media-libs/libart_lgpl/files/digest-libart_lgpl-2.3.19-r1
diff --git a/media-libs/libart_lgpl/files/libart_lgpl-2.3.19-alloc.patch b/media-libs/libart_lgpl/files/libart_lgpl-2.3.19-alloc.patch
new file mode 100644
index 000000000000..329e9207b7c6
--- /dev/null
+++ b/media-libs/libart_lgpl/files/libart_lgpl-2.3.19-alloc.patch
@@ -0,0 +1,19 @@
+diff --exclude-from=/home/dang/bin/scripts/diffrc -up -ruN libart_lgpl-2.3.19.orig/art_misc.h libart_lgpl-2.3.19/art_misc.h
+--- libart_lgpl-2.3.19.orig/art_misc.h 2007-01-01 18:59:22.000000000 -0500
++++ libart_lgpl-2.3.19/art_misc.h 2007-03-01 11:35:47.000000000 -0500
+@@ -34,9 +34,15 @@
+ #include <libart_lgpl/art_config.h>
+ #endif
+
++#ifdef __cplusplus
++extern "C" {
++#endif
+ 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
diff --git a/media-libs/libart_lgpl/libart_lgpl-2.3.19.ebuild b/media-libs/libart_lgpl/libart_lgpl-2.3.19-r1.ebuild
index 62e4f3b49502..d7b3e8d24b55 100644
--- a/media-libs/libart_lgpl/libart_lgpl-2.3.19.ebuild
+++ b/media-libs/libart_lgpl/libart_lgpl-2.3.19-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libart_lgpl/libart_lgpl-2.3.19.ebuild,v 1.2 2007/02/28 22:13:52 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libart_lgpl/libart_lgpl-2.3.19-r1.ebuild,v 1.1 2007/03/01 16:43:25 dang Exp $
-inherit gnome2
+inherit gnome2 eutils
DESCRIPTION="a LGPL version of libart"
HOMEPAGE="http://www.levien.com/libart"
@@ -16,3 +16,9 @@ DEPEND="dev-util/pkgconfig"
RDEPEND=""
DOCS="AUTHORS ChangeLog INSTALL NEWS README"
+
+src_unpack() {
+ gnome2_src_unpack
+
+ epatch "${FILESDIR}"/${P}-alloc.patch
+}