summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-06 00:05:43 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-02-06 00:05:43 +0000
commitee160c5dbb13a5ff60254644afe5268b73dbd6ba (patch)
tree829dfe928ff6374ffd973283bede24153384d343 /net-libs
parent0.9.8 version bump. (diff)
downloadhistorical-ee160c5dbb13a5ff60254644afe5268b73dbd6ba.tar.gz
historical-ee160c5dbb13a5ff60254644afe5268b73dbd6ba.tar.bz2
historical-ee160c5dbb13a5ff60254644afe5268b73dbd6ba.zip
Add patch to build with GCC 4.1.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libksnmp/ChangeLog8
-rw-r--r--net-libs/libksnmp/Manifest21
-rw-r--r--net-libs/libksnmp/files/libksnmp-0.3-gcc41.patch42
-rw-r--r--net-libs/libksnmp/libksnmp-0.3.ebuild20
4 files changed, 67 insertions, 24 deletions
diff --git a/net-libs/libksnmp/ChangeLog b/net-libs/libksnmp/ChangeLog
index 9af7608fe3d1..3db42cd5b229 100644
--- a/net-libs/libksnmp/ChangeLog
+++ b/net-libs/libksnmp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/libksnmp
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libksnmp/ChangeLog,v 1.3 2005/12/10 13:27:47 flameeyes Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libksnmp/ChangeLog,v 1.4 2006/02/06 00:05:43 flameeyes Exp $
+
+ 06 Feb 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/libksnmp-0.3-gcc41.patch, libksnmp-0.3.ebuild:
+ Add patch to build with GCC 4.1.
10 Dec 2005; Diego Pettenò <flameeyes@gentoo.org> libksnmp-0.3.ebuild:
Update $HOMEPAGE value, as the .xhtml version does not exists anymore.
diff --git a/net-libs/libksnmp/Manifest b/net-libs/libksnmp/Manifest
index 530a34e4f934..4d31104cd7d3 100644
--- a/net-libs/libksnmp/Manifest
+++ b/net-libs/libksnmp/Manifest
@@ -1,14 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 d1e605f79b8037dd9ed3d0d457b6c02a ChangeLog 764
+MD5 1d5590ac2fa45e51648dfd1ddc212744 ChangeLog 909
+RMD160 adcf8bd1a154c88b70ba7a29652f07302c0ee73b ChangeLog 909
+SHA256 463d8a0b2c50aa5b36b557ca82d51864d2040a06fc5eb4cdeb6923cf443bedf0 ChangeLog 909
MD5 d47188a90249e0d000d5495a123582e1 files/digest-libksnmp-0.3 66
-MD5 8fd5a102175056956d4d0ada78e480b3 libksnmp-0.3.ebuild 693
+RMD160 8bcab598444275603e0ec11889bb13b168e67a18 files/digest-libksnmp-0.3 66
+SHA256 dd8ed976d3e7043733a48090d11f53aec0ce823a1aa66f870bd82c59c6b3fcd3 files/digest-libksnmp-0.3 66
+MD5 a782959a83f7310b913ce9e709dccc2c files/libksnmp-0.3-gcc41.patch 1377
+RMD160 51b87f890f5138ec6d680a96b83ce6a3bab6d3de files/libksnmp-0.3-gcc41.patch 1377
+SHA256 69d44961a8a758961e89660017c4802643b50ab2d9da60a259263c39c4bb1931 files/libksnmp-0.3-gcc41.patch 1377
+MD5 47beeeb9264dd5cbe9f1ae9ea9a1e64d libksnmp-0.3.ebuild 559
+RMD160 5ed8918799fb418b45c44f3aa181b43a0afd54a3 libksnmp-0.3.ebuild 559
+SHA256 b6d83a7031a651859217d28782c5755f5c294e18dcfd42477a2bd1a1df806311 libksnmp-0.3.ebuild 559
MD5 b0ffbf580d1e24034c2f2cfbd21a0692 metadata.xml 350
+RMD160 3d85652363885777764a4a454a541629af5683f7 metadata.xml 350
+SHA256 65287ac48f4d64af736d3ca51ae6e1e583052855cc71a20281e13f648f15875e metadata.xml 350
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDmtflAiZjviIA2XgRAkDRAJ4quwRFoWLthehQTYBui3OphZ116wCgqpFH
-V1C4y17lUdPLeiFYwncRORs=
-=64DI
+iD8DBQFD5pLkAiZjviIA2XgRAvuEAJ9geseEdQwjTtvH44ySGJLCM2w/6ACg9KE1
+rwm9oRSz23tOJbFZ7GPOCWo=
+=DSOV
-----END PGP SIGNATURE-----
diff --git a/net-libs/libksnmp/files/libksnmp-0.3-gcc41.patch b/net-libs/libksnmp/files/libksnmp-0.3-gcc41.patch
new file mode 100644
index 000000000000..da4f6007ebb3
--- /dev/null
+++ b/net-libs/libksnmp/files/libksnmp-0.3-gcc41.patch
@@ -0,0 +1,42 @@
+Index: tests/loopget.cpp
+===================================================================
+RCS file: /cvsroot/atmosphere/libksnmp/tests/loopget.cpp,v
+retrieving revision 1.3
+diff -u -B -r1.3 loopget.cpp
+--- tests/loopget.cpp 18 Feb 2005 12:49:16 -0000 1.3
++++ tests/loopget.cpp 6 Feb 2006 00:02:18 -0000
+@@ -96,8 +96,8 @@
+ goto endofmain;
+ }
+
+- const int loop = atoi( args->arg(2) );
+- const int delay = atoi( args->arg(3) ) * 1000;
++ static const int loop = atoi( args->arg(2) );
++ static const int delay = atoi( args->arg(3) ) * 1000;
+
+ for(int i = 0; i < loop; i++)
+ {
+Index: tests/name2index.cpp
+===================================================================
+RCS file: /cvsroot/atmosphere/libksnmp/tests/name2index.cpp,v
+retrieving revision 1.1
+diff -u -B -r1.1 name2index.cpp
+--- tests/name2index.cpp 18 Feb 2005 12:28:45 -0000 1.1
++++ tests/name2index.cpp 6 Feb 2006 00:02:18 -0000
+@@ -67,6 +67,7 @@
+ int ret = 0;
+
+ KSNMP::Session *session = NULL;
++ KSNMP::Device1213 *dev = NULL;
+ if ( args->getOption("V") == "1" )
+ session = new KSNMP::Session1("", args->getOption("c"));
+ else if ( args->getOption("V") == "2c" )
+@@ -93,7 +94,7 @@
+ goto endofmain;
+ }
+
+- KSNMP::Device1213 *dev = new KSNMP::Device1213(session);
++ dev = new KSNMP::Device1213(session);
+
+ std::cout << "ifIndex: " << dev->getIfIndex(args->arg(1), false) << std::endl;
+
diff --git a/net-libs/libksnmp/libksnmp-0.3.ebuild b/net-libs/libksnmp/libksnmp-0.3.ebuild
index faafa9c9fa7c..4e0ad9e3be7e 100644
--- a/net-libs/libksnmp/libksnmp-0.3.ebuild
+++ b/net-libs/libksnmp/libksnmp-0.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libksnmp/libksnmp-0.3.ebuild,v 1.3 2005/12/10 13:27:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libksnmp/libksnmp-0.3.ebuild,v 1.4 2006/02/06 00:05:43 flameeyes Exp $
inherit kde
@@ -17,19 +17,5 @@ DEPEND="net-analyzer/net-snmp"
need-kde 3.1
-src_compile() {
- kde_src_compile
+PATCHES="${FILESDIR}/${P}-gcc41.patch"
-# if use doc; then
-# cd ${S}/doc
-# doxygen
-# fi
-}
-
-src_install() {
- kde_src_install
-
-# if use doc; then
-# dohtml -r ${S}/doc/html
-# fi
-}