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
commitbe1acc3c4d87899eb2fa0d532fea70ebe2ba9c1d (patch)
treec7eee20f30150bfce24b07a80280b8ec0c46a5f7 /sci-libs/libbufr
parentMarking buildbot-slave-0.8.2 ppc64 for bug 349143 (diff)
downloadhistorical-be1acc3c4d87899eb2fa0d532fea70ebe2ba9c1d.tar.gz
historical-be1acc3c4d87899eb2fa0d532fea70ebe2ba9c1d.tar.bz2
historical-be1acc3c4d87899eb2fa0d532fea70ebe2ba9c1d.zip
Updated with some minor QA fixes for bug 349458.
Package-Manager: portage-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/Manifest15
-rw-r--r--sci-libs/libbufr/files/libbufr-000360-gcc-includes.patch15
-rw-r--r--sci-libs/libbufr/libbufr-000360.ebuild13
4 files changed, 32 insertions, 18 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/Manifest b/sci-libs/libbufr/Manifest
index 09ed8eb3c543..455edb9e814c 100644
--- a/sci-libs/libbufr/Manifest
+++ b/sci-libs/libbufr/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+AUX libbufr-000360-gcc-includes.patch 340 RMD160 daec028f6f851b43c7135070f3339b0cb0588e6f SHA1 a5127d09a7e4c70912928fed2ea51930a5d17e5e SHA256 cd801ea33c0586fadd8612a5430944de4abd57633bccbabeedb6ce7d29c9ebc5
DIST bufr_000360.tar.gz 1537951 RMD160 c53769c79f0918a35304aa549a82f1b19cd33972 SHA1 4801e75b17e8c9fca1ea002306d0a464551fb803 SHA256 17290638f9886888fe91602b2b087080e36dd223aecc14a5c07472fabfe451e0
-EBUILD libbufr-000360.ebuild 3498 RMD160 065985771f3e7f93d7364c419a536c81750b6f01 SHA1 fb6b64e838cd06c0c1c575b35cd81a88765f14a4 SHA256 518d5d67d34352839426f1774b3b1e746efc5d3cc480b18aa43d663c1b041cc4
-MISC ChangeLog 684 RMD160 950704b9319b2e1d64d3269fea42c409aa10d5a9 SHA1 e997e4afe89041bc6a5c68b80355c739b6d87d6e SHA256 e77bcfc715991b08a63c9b5dabeff861d60b50f362b073c5c4da60f67b49beb8
+EBUILD libbufr-000360.ebuild 3562 RMD160 66451a2c5c4c8772a3988d5d5c017ee1b5f6dea0 SHA1 22af6c329dfc188ad51527b772a313f2b46f009a SHA256 1fa3ab51e2ea66714760c3aaaa76550b880534b17b2aec1ba4be41fed7caca4b
+MISC ChangeLog 915 RMD160 11372ea5faec75c9e2e52e160084e4a9fedd5a8d SHA1 a0ff108c663191c212048104908b9a5bb822718f SHA256 ec7811c3ccb7eefc2cc080b9790b104a628fe6a156877efbdae03964ba15a01f
MISC metadata.xml 481 RMD160 29cdd0d79faf556b9ed448baa4464e13e2c04709 SHA1 45918a7586cda54547e7dd2c4258518233d66a57 SHA256 956b1d320591634866867b8b0f57104ea56f53810ab66280b39733d710535f1b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkz2fuEACgkQ1ycZbhPLE2CaDACfUbU5pvrvNfgCfn2cfyYSFf8u
-EAIAn3tkGGEDy89IyTO+L1XR1nOPlrkb
-=4XhI
------END PGP SIGNATURE-----
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() {