summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Stampflee <owen@gentoo.org>2002-09-15 20:09:45 +0000
committerOwen Stampflee <owen@gentoo.org>2002-09-15 20:09:45 +0000
commitd103b56146eeb68ee181e4f832a98b2a6a3bf2d7 (patch)
tree3e13850c0fa8f2477dc4713d5de9495c059b078d /app-sci/babel
parentnew version added (diff)
downloadhistorical-d103b56146eeb68ee181e4f832a98b2a6a3bf2d7.tar.gz
historical-d103b56146eeb68ee181e4f832a98b2a6a3bf2d7.tar.bz2
historical-d103b56146eeb68ee181e4f832a98b2a6a3bf2d7.zip
fixed a gcc 3.2 compliation problem on ppc
Diffstat (limited to 'app-sci/babel')
-rw-r--r--app-sci/babel/ChangeLog5
-rw-r--r--app-sci/babel/babel-1.6.ebuild1
-rw-r--r--app-sci/babel/files/babel-1.6-gcc32.diff28
3 files changed, 33 insertions, 1 deletions
diff --git a/app-sci/babel/ChangeLog b/app-sci/babel/ChangeLog
index 52768da20b16..a8cb79702dd1 100644
--- a/app-sci/babel/ChangeLog
+++ b/app-sci/babel/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for app-sci/babel
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-sci/babel/ChangeLog,v 1.2 2002/07/25 16:18:19 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/babel/ChangeLog,v 1.3 2002/09/15 20:09:45 owen Exp $
*babel-1.6 (1 Feb 2002)
+ 15 Sep 2002; Owen Stampflee <owen@gentoo.org> :
+ Fixed a problem where GCC 3.2 fails to compile Babel on PPC.
+
25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> babel-1.6.ebuild :
Added LICENSE, KEYWORDS, SLOT.
diff --git a/app-sci/babel/babel-1.6.ebuild b/app-sci/babel/babel-1.6.ebuild
index 1e855c3a68cb..7445cb40a156 100644
--- a/app-sci/babel/babel-1.6.ebuild
+++ b/app-sci/babel/babel-1.6.ebuild
@@ -25,6 +25,7 @@ src_unpack() {
cd ${S}
#Patch the Makefile for gentoo-isms
patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die
+ patch -p0 < ${FILESDIR}/${P}-gcc32.diff || die
}
diff --git a/app-sci/babel/files/babel-1.6-gcc32.diff b/app-sci/babel/files/babel-1.6-gcc32.diff
new file mode 100644
index 000000000000..ba0964af5352
--- /dev/null
+++ b/app-sci/babel/files/babel-1.6-gcc32.diff
@@ -0,0 +1,28 @@
+--- block.c.orig Sun Sep 15 04:51:13 2002
++++ block.c Sun Sep 15 04:58:04 2002
+@@ -99,7 +99,12 @@
+ void *array;
+
+ /* calc how much space we are gonna need */
++#ifdef __va_copy
++ __va_copy (ap, initap);
++#else
+ ap = initap;
++#endif
++
+ size = 0;
+ for(i=0; types[i] != '\0'; i++)
+ {
+@@ -116,7 +121,12 @@
+ /* set up the ptrs if we can alloc the memory */
+ if(*handle != NULL)
+ {
++#ifdef __va_copy
++ __va_copy (ap, initap);
++#else
+ ap = initap;
++#endif
++
+ ptr = 0;
+ for(i=0; types[i] != '\0'; i++)
+ {