summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/grace/ChangeLog6
-rw-r--r--sci-visualization/grace/files/grace-5.1.21-stdc99.patch11
-rw-r--r--sci-visualization/grace/grace-5.1.21-r1.ebuild6
3 files changed, 21 insertions, 2 deletions
diff --git a/sci-visualization/grace/ChangeLog b/sci-visualization/grace/ChangeLog
index c13bdfa0a5dd..34b4a08762dc 100644
--- a/sci-visualization/grace/ChangeLog
+++ b/sci-visualization/grace/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/grace
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.28 2008/04/15 16:34:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.29 2008/04/16 18:32:53 bicatali Exp $
+
+ 16 Apr 2008; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/grace-5.1.21-stdc99.patch, grace-5.1.21-r1.ebuild:
+ Fixed for glibc-2.7 (bug #217971)
*grace-5.1.21-r1 (15 Apr 2008)
diff --git a/sci-visualization/grace/files/grace-5.1.21-stdc99.patch b/sci-visualization/grace/files/grace-5.1.21-stdc99.patch
new file mode 100644
index 000000000000..af92c0f0be6d
--- /dev/null
+++ b/sci-visualization/grace/files/grace-5.1.21-stdc99.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.orig 2008-04-16 17:31:57.412948518 +0000
++++ src/Makefile 2008-04-16 17:32:17.530094929 +0000
+@@ -16,7 +16,7 @@
+
+ CEPHES_LIB=$(TOP)/cephes/libcephes.a
+
+-CFLAGS=$(CFLAGS0) -I$(TOP) -I. $(T1_INC) $(XBAE_INC) $(CPPFLAGS) $(GUI_FLAGS)
++CFLAGS=$(CFLAGS0) -I$(TOP) -I. $(T1_INC) $(XBAE_INC) $(CPPFLAGS) $(GUI_FLAGS) -std=c99
+
+ LIBS=$(GUI_LIBS) $(CEPHES_LIB) $(NETCDF_LIBS) $(FFTW_LIB) \
+ $(T1_LIB) $(PDF_LIB) $(JPEG_LIB) $(PNG_LIB) $(Z_LIB) \
diff --git a/sci-visualization/grace/grace-5.1.21-r1.ebuild b/sci-visualization/grace/grace-5.1.21-r1.ebuild
index 332650688528..3f8fe65901d4 100644
--- a/sci-visualization/grace/grace-5.1.21-r1.ebuild
+++ b/sci-visualization/grace/grace-5.1.21-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.21-r1.ebuild,v 1.1 2008/04/15 16:34:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.21-r1.ebuild,v 1.2 2008/04/16 18:32:53 bicatali Exp $
EAPI="1"
@@ -50,6 +50,9 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-m4-netcdf.patch
# fix for missing defines when fortran is disabled
epatch "${FILESDIR}"/${P}-fortran.patch
+ # fix for glibc-2.7 (bug #)
+ epatch "${FILESDIR}"/${P}-stdc99.patch
+
# don't strip if not asked for
sed -i \
-e 's:$(INSTALL_PROGRAM) -s:$(INSTALL_PROGRAM):g' \
@@ -82,6 +85,7 @@ src_compile() {
else
myconf="--without-f77"
fi
+
econf \
--disable-xmhtml \
--without-bundled-xbae \