summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@evil.(none)>2009-06-07 20:52:34 +0300
committerroot <root@evil.(none)>2009-06-07 20:52:34 +0300
commite4e5d1b0b1150b075840cf8d807f8001e619aeca (patch)
tree9e810cfed77cbe0799d9e34701b296ad88e1dc63
parente69bdb6335ae07aadeab545c1c1c64b461a6cdb3 (diff)
new file: net-p2p/verlihub/files/cconfigitembase.cpp.patch
new file: net-p2p/verlihub/files/cconfmysql.cpp.patch new file: net-p2p/verlihub/files/cpenaltylist.cpp.patch new file: net-p2p/verlihub/files/creguserinfo.cpp.patch new file: net-p2p/verlihub/files/stringutils.cpp.patch modified: net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild (gcc-4.3 compilation patches)
-rw-r--r--net-p2p/verlihub/files/cconfigitembase.cpp.patch13
-rw-r--r--net-p2p/verlihub/files/cconfmysql.cpp.patch13
-rw-r--r--net-p2p/verlihub/files/cpenaltylist.cpp.patch13
-rw-r--r--net-p2p/verlihub/files/creguserinfo.cpp.patch13
-rw-r--r--net-p2p/verlihub/files/stringutils.cpp.patch15
-rw-r--r--net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild4
6 files changed, 71 insertions, 0 deletions
diff --git a/net-p2p/verlihub/files/cconfigitembase.cpp.patch b/net-p2p/verlihub/files/cconfigitembase.cpp.patch
new file mode 100644
index 0000000..47efa5a
--- /dev/null
+++ b/net-p2p/verlihub/files/cconfigitembase.cpp.patch
@@ -0,0 +1,13 @@
+*** /home/sss/123/cconfigitembase.cpp 2009-06-07 19:34:19.000000000 +0300
+--- cconfigitembase.cpp 2009-06-07 19:46:55.037909745 +0300
+***************
+*** 11,16 ****
+--- 11,18 ----
+ #include <stdlib.h>
+ #include <iostream>
+ #include <stdio.h>
++ #include <cstdlib>
++ #include <cstring>
+ #include "stringutils.h"
+
+ using namespace nStringUtils;
diff --git a/net-p2p/verlihub/files/cconfmysql.cpp.patch b/net-p2p/verlihub/files/cconfmysql.cpp.patch
new file mode 100644
index 0000000..7f5e6be
--- /dev/null
+++ b/net-p2p/verlihub/files/cconfmysql.cpp.patch
@@ -0,0 +1,13 @@
+*** /home/sss/123/cconfmysql.cpp 2004-10-27 15:24:00.000000000 +0300
+--- cconfmysql.cpp 2009-06-07 19:48:04.397913142 +0300
+***************
+*** 17,22 ****
+--- 17,24 ----
+
+ #include "cconfmysql.h"
+ #include <algorithm>
++ #include <cstdio>
++ #include <cstring>
+ using namespace std;
+
+ namespace nConfig
diff --git a/net-p2p/verlihub/files/cpenaltylist.cpp.patch b/net-p2p/verlihub/files/cpenaltylist.cpp.patch
new file mode 100644
index 0000000..0ff4a5c
--- /dev/null
+++ b/net-p2p/verlihub/files/cpenaltylist.cpp.patch
@@ -0,0 +1,13 @@
+*** /home/sss/123/cpenaltylist.cpp 2005-04-04 22:35:41.000000000 +0300
+--- cpenaltylist.cpp 2009-06-07 20:00:26.867921053 +0300
+***************
+*** 8,13 ****
+--- 8,15 ----
+ * (at your option) any later version. *
+ ***************************************************************************/
+ #include "cpenaltylist.h"
++ #include <cstdio>
++ #include <cstring>
+
+ namespace nDirectConnect {
+
diff --git a/net-p2p/verlihub/files/creguserinfo.cpp.patch b/net-p2p/verlihub/files/creguserinfo.cpp.patch
new file mode 100644
index 0000000..e1bf586
--- /dev/null
+++ b/net-p2p/verlihub/files/creguserinfo.cpp.patch
@@ -0,0 +1,13 @@
+*** /home/sss/123/creguserinfo.cpp 2007-08-10 22:10:38.000000000 +0300
+--- creguserinfo.cpp 2009-06-07 20:08:46.217928199 +0300
+***************
+*** 27,32 ****
+--- 27,34 ----
+ #endif
+ #include "creguserinfo.h"
+ #include "ctime.h"
++ #include <cstdio>
++ #include <cstring>
+
+ using namespace ::nUtils;
+
diff --git a/net-p2p/verlihub/files/stringutils.cpp.patch b/net-p2p/verlihub/files/stringutils.cpp.patch
new file mode 100644
index 0000000..1487fc5
--- /dev/null
+++ b/net-p2p/verlihub/files/stringutils.cpp.patch
@@ -0,0 +1,15 @@
+*** /home/sss/123/stringutils.cpp 2006-09-05 19:01:48.000000000 +0300
+--- stringutils.cpp 2009-06-07 20:25:14.557920115 +0300
+***************
+*** 7,12 ****
+--- 7,16 ----
+ #include <fstream>
+ #include <sstream>
+ #include <stdio.h>
++ #include <cstdio>
++ #include <cstring>
++ #include <string.h>
++ #include <stdlib.h>
+
+ namespace nStringUtils
+ {
diff --git a/net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild b/net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild
index 013c533..84e54df 100644
--- a/net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild
+++ b/net-p2p/verlihub/verlihub-0.9.8d_rc2.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit eutils
+
DESCRIPTION="Verlihub, a linux hub for the p2p program 'direct connect'"
HOMEPAGE="http://www.verlihub-project.org"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/verlihub/${PN}-0.9.8d-RC2.tar.gz"
@@ -31,6 +33,8 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack "${PN}-0.9.8d-RC2.tar.gz"
+ cd "${S}/src"
+ epatch ${FILESDIR}/*.patch
cd "${S}"
}
src_compile() {