summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2010-12-28 03:20:41 +0000
committerSteve Arnold <nerdboy@gentoo.org>2010-12-28 03:20:41 +0000
commit3d14e6f5b3e75f269b77abba210c2a04066e8639 (patch)
tree51207e47570668e3243ad3bb6846d4376272c89b /sci-libs/libbufr
parentMarking buildbot-slave-0.8.2 ppc64 for bug 349143 (diff)
downloadgentoo-2-3d14e6f5b3e75f269b77abba210c2a04066e8639.tar.gz
gentoo-2-3d14e6f5b3e75f269b77abba210c2a04066e8639.tar.bz2
gentoo-2-3d14e6f5b3e75f269b77abba210c2a04066e8639.zip
Updated with some minor QA fixes for bug 349458.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/libbufr')
-rw-r--r--sci-libs/libbufr/ChangeLog7
-rw-r--r--sci-libs/libbufr/files/libbufr-000360-gcc-includes.patch15
-rw-r--r--sci-libs/libbufr/libbufr-000360.ebuild13
3 files changed, 29 insertions, 6 deletions
diff --git a/sci-libs/libbufr/ChangeLog b/sci-libs/libbufr/ChangeLog
index e8a32c4afef4..e1ff32ba97e6 100644
--- a/sci-libs/libbufr/ChangeLog
+++ b/sci-libs/libbufr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/libbufr
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/ChangeLog,v 1.2 2010/12/01 16:59:04 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/ChangeLog,v 1.3 2010/12/28 03:20:41 nerdboy Exp $
+
+ 28 Dec 2010; Steve Arnold <nerdboy@gentoo.org> libbufr-000360.ebuild,
+ +files/libbufr-000360-gcc-includes.patch:
+ Updated with some QA fixes (bug #349458) including a minor gcc patch.
+ Everything looks clean and green now...
01 Dec 2010; Sébastien Fabbro <bicatali@gentoo.org> libbufr-000360.ebuild:
Remove use of fortran eclass
diff --git a/sci-libs/libbufr/files/libbufr-000360-gcc-includes.patch b/sci-libs/libbufr/files/libbufr-000360-gcc-includes.patch
new file mode 100644
index 000000000000..8b0ac1ce9a65
--- /dev/null
+++ b/sci-libs/libbufr/files/libbufr-000360-gcc-includes.patch
@@ -0,0 +1,15 @@
+--- examples/bufr_decode.c.orig 2008-09-17 03:02:39.000000000 -0700
++++ examples/bufr_decode.c 2010-12-27 19:03:57.000000000 -0800
+@@ -7,9 +7,9 @@
+ * See LICENSE and gpl-3.0.txt for details.
+ */
+
+-#include "stdio.h"
+-#include "stdlib.h"
+-
++#include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+
+
+ int main(int argc, char *argv[])
diff --git a/sci-libs/libbufr/libbufr-000360.ebuild b/sci-libs/libbufr/libbufr-000360.ebuild
index c45ebd66e0de..dab1151142dc 100644
--- a/sci-libs/libbufr/libbufr-000360.ebuild
+++ b/sci-libs/libbufr/libbufr-000360.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/libbufr-000360.ebuild,v 1.3 2010/12/01 16:59:04 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libbufr/libbufr-000360.ebuild,v 1.4 2010/12/28 03:20:41 nerdboy Exp $
+
+EAPI="2"
inherit eutils flag-o-matic toolchain-funcs
@@ -15,7 +17,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
# needs someone to test on these: ~alpha ~hppa ~ia64 ~ppc ~ppc64 ~sparc etc ...
-IUSE="doc examples"
+IUSE="debug doc examples"
RDEPEND=""
@@ -61,9 +63,7 @@ pkg_setup() {
esac
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
find . -type f | xargs chmod -x
chmod +x bufrtables/links.sh
if use debug ; then
@@ -73,6 +73,9 @@ src_unpack() {
sed -i -e "s:-O2:${CFLAGS}:g" \
config/config.$target$CNAME$R64$A64
fi
+
+ # updated for newer gcc
+ epatch "${FILESDIR}"/${P}-gcc-includes.patch
}
src_compile() {