summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-06-20 14:07:13 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-06-20 14:07:13 +0000
commitd16016b284d58c579e0ad878175a1a38eccc3fed (patch)
tree3cb1a2bd10a6a7c0f8cedc8eeaaea05a8325a619 /dev-util/httpup
parentFixed compilation with gcc-4.3. (diff)
downloadhistorical-d16016b284d58c579e0ad878175a1a38eccc3fed.tar.gz
historical-d16016b284d58c579e0ad878175a1a38eccc3fed.tar.bz2
historical-d16016b284d58c579e0ad878175a1a38eccc3fed.zip
GCC-4.3 build fix (missing headers). Bug 227879.
Package-Manager: portage-2.1.5.5
Diffstat (limited to 'dev-util/httpup')
-rw-r--r--dev-util/httpup/ChangeLog8
-rw-r--r--dev-util/httpup/Manifest5
-rw-r--r--dev-util/httpup/files/httpup-0.3.2-gcc43.patch50
-rw-r--r--dev-util/httpup/httpup-0.3.2.ebuild7
4 files changed, 64 insertions, 6 deletions
diff --git a/dev-util/httpup/ChangeLog b/dev-util/httpup/ChangeLog
index 50aef350e219..1bf075e4b4cb 100644
--- a/dev-util/httpup/ChangeLog
+++ b/dev-util/httpup/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/httpup
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/ChangeLog,v 1.4 2007/05/15 09:10:31 bangert Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/ChangeLog,v 1.5 2008/06/20 14:07:12 loki_val Exp $
+
+ 20 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/httpup-0.3.2-gcc43.patch, httpup-0.3.2.ebuild:
+ GCC-4.3 build fix (missing headers). Bug 227879.
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/dev-util/httpup/Manifest b/dev-util/httpup/Manifest
index 89a82745ab50..4564f77ff1fa 100644
--- a/dev-util/httpup/Manifest
+++ b/dev-util/httpup/Manifest
@@ -1,4 +1,5 @@
+AUX httpup-0.3.2-gcc43.patch 1636 RMD160 19a0777cf79ddd6b6b6cbb66a8f92c5f286516e0 SHA1 860907974ef6bd1441cbe4520608182a64fb2872 SHA256 1acdcaaa89c423852c1e977b30eeb181b9489637a1e72ec61c85b0b77a7ecb9c
DIST httpup-0.3.2.tar.gz 19491 RMD160 4ba6208e5a872b4666b896431d0b179fd8a5f1da SHA1 385323e2aaf9a956b5158bdc3c02329b07989f3f SHA256 c57766bd414a08f6528b78b2677bb4f3c978b4187db775af5a437d0a6af557dc
-EBUILD httpup-0.3.2.ebuild 719 RMD160 11baa7fda274bdd0147330c4f7a5cacfa55babfc SHA1 20f113d40bca14575ad0ea5edf44d8ad1bacfc89 SHA256 644486481e80b04c9f6269f17aaa192d9f7776ff1c2ab2a6b658a3408fa7c0c8
-MISC ChangeLog 596 RMD160 576066d7ce9875e7f3951475c972ea7b38d222d0 SHA1 23116ed1bfb52df7351db37d0072577fcb70d0bb SHA256 ecfd07be3e945a3123d29662f70e019951d9f336cf7096ef1593cc64c2a8247d
+EBUILD httpup-0.3.2.ebuild 777 RMD160 e51a983ff01f56e40d6999ca0f6ac97d5f4f7f74 SHA1 4b3119acda64e0ba8efbbaa5742ddd1791dc9f24 SHA256 8e3550bec90f385820f20729ce2cca077c635d47cf87846a851a34c210d01522
+MISC ChangeLog 758 RMD160 d20eb11f65b23bc3485f831f857c5bdfae729c8c SHA1 c469476a700bbe8dbeb4a3faa95af3aa2fec7919 SHA256 b71bc6d8588318ab680bca28abc8401e794ed1822e4e2fe88ed68474b72a030b
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
diff --git a/dev-util/httpup/files/httpup-0.3.2-gcc43.patch b/dev-util/httpup/files/httpup-0.3.2-gcc43.patch
new file mode 100644
index 000000000000..29053ef3b17e
--- /dev/null
+++ b/dev-util/httpup/files/httpup-0.3.2-gcc43.patch
@@ -0,0 +1,50 @@
+diff -NrU5 httpup-0.3.2.orig/configparser.cpp httpup-0.3.2/configparser.cpp
+--- httpup-0.3.2.orig/configparser.cpp 2008-06-20 15:59:35.000000000 +0200
++++ httpup-0.3.2/configparser.cpp 2008-06-20 16:00:07.000000000 +0200
+@@ -8,10 +8,11 @@
+ // the Free Software Foundation; either version 2 of the License, or
+ // (at your option) any later version.
+ ////////////////////////////////////////////////////////////////////////
+
+ #include <iostream>
++#include <cstring>
+ #include "configparser.h"
+
+ using namespace std;
+
+ int ConfigParser::parseConfig(const std::string& fileName,
+diff -NrU5 httpup-0.3.2.orig/httpup.cpp httpup-0.3.2/httpup.cpp
+--- httpup-0.3.2.orig/httpup.cpp 2008-06-20 15:59:35.000000000 +0200
++++ httpup-0.3.2/httpup.cpp 2008-06-20 15:59:43.000000000 +0200
+@@ -13,10 +13,12 @@
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <dirent.h>
++#include <cstring>
++#include <cstdlib>
+
+ #include "fileutils.h"
+ #include "httpup.h"
+ #include "configparser.h"
+
+diff -NrU5 httpup-0.3.2.orig/main.cpp httpup-0.3.2/main.cpp
+--- httpup-0.3.2.orig/main.cpp 2008-06-20 15:59:35.000000000 +0200
++++ httpup-0.3.2/main.cpp 2008-06-20 15:59:43.000000000 +0200
+@@ -8,11 +8,14 @@
+ // the Free Software Foundation; either version 2 of the License, or
+ // (at your option) any later version.
+ ////////////////////////////////////////////////////////////////////////
+
+ #include <iostream>
+-#include <string>
++#include <cstring>
++#include <cstdlib>
++#include <algorithm>
++
+ using namespace std;
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
diff --git a/dev-util/httpup/httpup-0.3.2.ebuild b/dev-util/httpup/httpup-0.3.2.ebuild
index a9af79ac34d3..6308e876052f 100644
--- a/dev-util/httpup/httpup-0.3.2.ebuild
+++ b/dev-util/httpup/httpup-0.3.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/httpup-0.3.2.ebuild,v 1.2 2005/05/07 14:48:18 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/httpup/httpup-0.3.2.ebuild,v 1.3 2008/06/20 14:07:12 loki_val Exp $
+
+inherit eutils
DESCRIPTION="synchronisation tool for http file repositories"
HOMEPAGE="http://clc.berlios.de/projects/httpup/"
@@ -19,6 +21,7 @@ src_unpack() {
sed -i \
-e 's:g++:$(CXX) $(CFLAGS) $(LDFLAGS):' \
Makefile
+ epatch "${FILESDIR}"/${P}-gcc43.patch
}
src_install() {