summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimone Gotti <motaboy@gentoo.org>2005-01-16 13:36:10 +0000
committerSimone Gotti <motaboy@gentoo.org>2005-01-16 13:36:10 +0000
commit0c9ac51f26478f745349b33d0789ca5c6973b77e (patch)
tree3fad3fb40a032b0ea5f118ea28fcafe4e95940aa /kde-base
parenttouchup the gcc-config logic so that it is run properly with a cross-compiler (diff)
downloadgentoo-2-0c9ac51f26478f745349b33d0789ca5c6973b77e.tar.gz
gentoo-2-0c9ac51f26478f745349b33d0789ca5c6973b77e.tar.bz2
gentoo-2-0c9ac51f26478f745349b33d0789ca5c6973b77e.zip
Fix bug #78204.
(Portage version: 2.0.51-r12)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/ksim/ChangeLog6
-rw-r--r--kde-base/ksim/files/ksim-3.4.0_beta1-snmpfix.patch22
-rw-r--r--kde-base/ksim/ksim-3.4.0_beta1.ebuild13
3 files changed, 38 insertions, 3 deletions
diff --git a/kde-base/ksim/ChangeLog b/kde-base/ksim/ChangeLog
index bf6731c31219..8fc31ec6e2b7 100644
--- a/kde-base/ksim/ChangeLog
+++ b/kde-base/ksim/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/ksim
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/ksim/ChangeLog,v 1.1 2005/01/15 02:24:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/ksim/ChangeLog,v 1.2 2005/01/16 13:36:10 motaboy Exp $
+
+ 16 Jan 2005; Simone Gotti <motaboy@gentoo.org>
+ +files/ksim-3.4.0_beta1-snmpfix.patch, ksim-3.4.0_beta1.ebuild:
+ Fix bug #78204.
*ksim-3.4.0_beta1 (15 Jan 2005)
diff --git a/kde-base/ksim/files/ksim-3.4.0_beta1-snmpfix.patch b/kde-base/ksim/files/ksim-3.4.0_beta1-snmpfix.patch
new file mode 100644
index 000000000000..45bbfe9f066e
--- /dev/null
+++ b/kde-base/ksim/files/ksim-3.4.0_beta1-snmpfix.patch
@@ -0,0 +1,22 @@
+diff -Npaur kdeutils-3.3.91/ksim/monitors/snmp/snmplib.h kdeutils-3.3.91-fixed/ksim/monitors/snmp/snmplib.h
+--- kdeutils-3.3.91/ksim/monitors/snmp/snmplib.h 2003-08-29 11:56:50.000000000 +0200
++++ kdeutils-3.3.91-fixed/ksim/monitors/snmp/snmplib.h 2005-01-15 12:03:30.497268728 +0100
+@@ -21,6 +21,7 @@
+ #define SNMPLIB_H
+
+ // ### REMOVEME: move snmplib somewhere else
++#define HAVE_STRLCPY 1
+ #include <net-snmp/net-snmp-config.h>
+ #include <net-snmp/net-snmp-includes.h>
+
+diff -Npaur kdeutils-3.3.91/ksim/monitors/snmp/value_p.h kdeutils-3.3.91-fixed/ksim/monitors/snmp/value_p.h
+--- kdeutils-3.3.91/ksim/monitors/snmp/value_p.h 2003-08-27 15:51:50.000000000 +0200
++++ kdeutils-3.3.91-fixed/ksim/monitors/snmp/value_p.h 2005-01-15 12:03:44.323983848 +0100
+@@ -20,6 +20,7 @@
+ #ifndef VALUE_P_H
+ #define VALUE_P_H
+
++#define HAVE_STRLCPY 1
+ #include <net-snmp/net-snmp-config.h>
+ #include <net-snmp/net-snmp-includes.h>
+
diff --git a/kde-base/ksim/ksim-3.4.0_beta1.ebuild b/kde-base/ksim/ksim-3.4.0_beta1.ebuild
index 2efac7c0b34f..c753632c3c3c 100644
--- a/kde-base/ksim/ksim-3.4.0_beta1.ebuild
+++ b/kde-base/ksim/ksim-3.4.0_beta1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/ksim/ksim-3.4.0_beta1.ebuild,v 1.1 2005/01/15 02:24:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/ksim/ksim-3.4.0_beta1.ebuild,v 1.2 2005/01/16 13:36:10 motaboy Exp $
KMNAME=kdeutils
MAXKDEVER=$PV
@@ -9,4 +9,13 @@ inherit kde-meta eutils
DESCRIPTION="KDE System Monitor applets"
KEYWORDS="~x86"
-IUSE="" \ No newline at end of file
+IUSE="snmp"
+
+DEPEND="snmp? ( net-analyzer/net-snmp )"
+
+src_unpack() {
+ kde-meta_src_unpack
+
+ # applied upstream, will be in beta2
+ epatch ${FILESDIR}/${P}-snmpfix.patch
+}