summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-15 20:34:10 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-15 20:34:10 +0000
commitca4b54ab6b11d674bef043cf183627f3c6eaac97 (patch)
tree92ed9b32c35987dd947f6e6af6f450385ece28eb /app-text/yamcha
parentAdd patch to fix autoconf error. (diff)
downloadhistorical-ca4b54ab6b11d674bef043cf183627f3c6eaac97.tar.gz
historical-ca4b54ab6b11d674bef043cf183627f3c6eaac97.tar.bz2
historical-ca4b54ab6b11d674bef043cf183627f3c6eaac97.zip
Fix 227297, give repoman a nice cup of "Shut the f*ck up"
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'app-text/yamcha')
-rw-r--r--app-text/yamcha/ChangeLog8
-rw-r--r--app-text/yamcha/Manifest5
-rw-r--r--app-text/yamcha/files/yamcha-0.33-gcc43.patch30
-rw-r--r--app-text/yamcha/yamcha-0.33-r1.ebuild15
4 files changed, 47 insertions, 11 deletions
diff --git a/app-text/yamcha/ChangeLog b/app-text/yamcha/ChangeLog
index ef29caf55459..ec552f1037e3 100644
--- a/app-text/yamcha/ChangeLog
+++ b/app-text/yamcha/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/yamcha
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/yamcha/ChangeLog,v 1.5 2007/12/25 17:05:39 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/yamcha/ChangeLog,v 1.6 2008/06/15 20:34:09 loki_val Exp $
+
+ 15 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/yamcha-0.33-gcc43.patch, yamcha-0.33-r1.ebuild:
+ Fix 227297, give repoman a nice cup of "Shut the f*ck up"
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing usata from metadata.xml as per #22931.
diff --git a/app-text/yamcha/Manifest b/app-text/yamcha/Manifest
index c6635978f0d7..a71b46b6f2f8 100644
--- a/app-text/yamcha/Manifest
+++ b/app-text/yamcha/Manifest
@@ -1,5 +1,6 @@
+AUX yamcha-0.33-gcc43.patch 863 RMD160 1ad5dcb3ed4b1323137078b77eeb56f9316f48b2 SHA1 12fd780564588098c4120464b70ccc8834552942 SHA256 efd5d5c8fbb768ea832e5c29445034120eebe7f3baa908c6720019babf3c49f5
AUX yamcha-0.33-pm.patch 1228 RMD160 0fbd80e8c6d239dfff74bd4f9f675e7a8393f650 SHA1 ba7707b233e3f3db878af2885f1295e544766ba0 SHA256 9de7ea221fe7d1a6f229d9da71677ba1ed2f6e196ddcccee955b2436b774749c
DIST yamcha-0.33.tar.gz 488670 RMD160 ac21fa16a45efa40775d426cd6229f612a7aa21e SHA1 4ee6d8150557761f86fcb8af118636b7c23920c0 SHA256 413d4fc0a4c13895f5eb1468e15c9d2828151882f27aea4daf2399c876be27d5
-EBUILD yamcha-0.33-r1.ebuild 1181 RMD160 24d47eda955416921590cbfa10e60269fd2386a9 SHA1 26dd7916303f7abf40179741ec9b260a34fac528 SHA256 6977f1a26745c4f8970e052322ba689bdedb312716c39999e46acc7b59b75cc5
-MISC ChangeLog 1026 RMD160 06821025ad6032745c924f5ec220f46118908969 SHA1 868ef9d4965d1f968edee57b5836832b1e12b07f SHA256 5c1ee5f4b56497a162c56ff38dd3760871de47977e4281f6db39f3523924156c
+EBUILD yamcha-0.33-r1.ebuild 1233 RMD160 5fb9245539dbbe5c5e36bac8b31f5498c6879b6e SHA1 a2545a1b0b87fa157d12ca3fc3f0891e44a6b577 SHA256 ba6af4bd9486284dc98956b3d1efd11e48cb6fc7ff001e5658d0a4e26acbb14e
+MISC ChangeLog 1199 RMD160 bdc5a67d6da5f53c03e02a1d14bfc4682034e53f SHA1 8e4c9a62cd3990dbc73dec4e10b3696e52dbc29a SHA256 a739d762c9981dd6f91663a7c152ce9db8333db64b5e50aec8e830d14a4e5ae4
MISC metadata.xml 157 RMD160 1305e8c09c6d49c0db2a18bb50b045460c124ebe SHA1 874689ae30dfe223d487e0e6a5e0a0dbf06a69f4 SHA256 c3c089740b31ec0f4d7fbc3bf2d6bb8460ccfd0694f01bf91b22a2e1930d6d5d
diff --git a/app-text/yamcha/files/yamcha-0.33-gcc43.patch b/app-text/yamcha/files/yamcha-0.33-gcc43.patch
new file mode 100644
index 000000000000..c0b3f5273e91
--- /dev/null
+++ b/app-text/yamcha/files/yamcha-0.33-gcc43.patch
@@ -0,0 +1,30 @@
+diff -NrU5 yamcha-0.33.orig/libexec/mkdarts.cpp yamcha-0.33/libexec/mkdarts.cpp
+--- yamcha-0.33.orig/libexec/mkdarts.cpp 2008-06-15 22:22:53.000000000 +0200
++++ yamcha-0.33/libexec/mkdarts.cpp 2008-06-15 22:26:40.000000000 +0200
+@@ -25,10 +25,11 @@
+ #include <cstring>
+ #include <iostream>
+ #include <fstream>
+ #include <string>
+ #include <vector>
++#include <cstdlib>
+ #include "darts.h"
+
+ using namespace std;
+
+ int progress_bar (size_t current, size_t total)
+diff -NrU5 yamcha-0.33.orig/src/param.cpp yamcha-0.33/src/param.cpp
+--- yamcha-0.33.orig/src/param.cpp 2008-06-15 22:22:53.000000000 +0200
++++ yamcha-0.33/src/param.cpp 2008-06-15 22:24:04.000000000 +0200
+@@ -22,10 +22,11 @@
+ */
+
+ #include <fstream>
+ #include <strstream>
+ #include <cstdio>
++#include <cstring>
+ #include "param.h"
+ #include "common.h"
+
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
diff --git a/app-text/yamcha/yamcha-0.33-r1.ebuild b/app-text/yamcha/yamcha-0.33-r1.ebuild
index 659de49339ed..75ad84d86d85 100644
--- a/app-text/yamcha/yamcha-0.33-r1.ebuild
+++ b/app-text/yamcha/yamcha-0.33-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/yamcha/yamcha-0.33-r1.ebuild,v 1.2 2006/11/02 17:52:04 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/yamcha/yamcha-0.33-r1.ebuild,v 1.3 2008/06/15 20:34:09 loki_val Exp $
inherit perl-module eutils
# inherit distutils
@@ -22,8 +22,9 @@ DEPEND="sci-misc/tinysvm
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-pm.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pm.patch
+ epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_compile() {
@@ -31,7 +32,7 @@ src_compile() {
emake || die
if use perl ; then
- cd ${S}/perl
+ cd "${S}"/perl
perl-module_src_compile || die
fi
@@ -47,12 +48,12 @@ src_test() {
}
src_install() {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc AUTHORS README
if use perl ; then
- cd ${S}/perl
+ cd "${S}"/perl
perl-module_src_install || die
fi