Bug#475811: Patch attached to fix this bug
Michael Rasmussen
mir at datanom.net
Mon Jun 16 21:31:09 UTC 2008
Hi,
Attached, as well as included, is a patch to fix this bug.
diff -ur gnome-cups-manager-0.31/libgnomecups/snmpinter.C
new-gnome-cups-manager-0.31/libgnomecups/snmpinter.C ---
gnome-cups-manager-0.31/libgnomecups/snmpinter.C 2004-08-19
16:47:56.000000000 +0200 +++
new-gnome-cups-manager-0.31/libgnomecups/snmpinter.C 2008-06-16
23:14:32.429560379 +0200 @@ -4,6 +4,7 @@ #include "snmpkit/snmpkit"
#include <stdio.h>
+#include <cstdlib>
#include <string.h>
#include <iostream>
diff -ur
gnome-cups-manager-0.31/libgnomecups/snmpkit/snmpkit_interface.C
new-gnome-cups-manager-0.31/libgnomecups/snmpkit/snmpkit_interface.C
---
gnome-cups-manager-0.31/libgnomecups/snmpkit/snmpkit_interface.C
2005-06-01 16:48:36.000000000 +0200 +++
new-gnome-cups-manager-0.31/libgnomecups/snmpkit/snmpkit_interface.C
2008-06-16 23:12:53.360304704 +0200 @@ -25,6 +25,8 @@ * */ +#include
<cstring> +#include <cstdlib>
#include "snmpkit.h"
#include "snmpkit"
diff -ur gnome-cups-manager-0.31/libgnomecups/snmpkit/structfill.C
new-gnome-cups-manager-0.31/libgnomecups/snmpkit/structfill.C ---
gnome-cups-manager-0.31/libgnomecups/snmpkit/structfill.C
2005-03-28 05:53:02.000000000 +0200 +++
new-gnome-cups-manager-0.31/libgnomecups/snmpkit/structfill.C
2008-06-16 23:10:16.031636802 +0200 @@ -28,12 +28,14 @@ #include
<string.h> #include <stdlib.h> #include <stdio.h>
-#include <iostream.h>
+#include <iostream>
#include <algorithm>
#include "snmpkit"
#include "oidseq.h"
+using namespace std;
+
void SNMP_structFiller::append(const std::string &oidstr,Tags tag,
void (*fp)())
throw(std::bad_alloc,BerOidBadSubOidException,BerNoOidsException){
--
Hilsen/Regards
Michael Rasmussen
Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Coach "Bear" Bryant: "Who in the hell is that?"
High School Coach: "That there is Forrest Gump, coach -
Just the local idiot"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-cups-manager-0.31_build.patch
Type: text/x-patch
Size: 1602 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080616/07583885/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20080616/07583885/attachment.pgp
More information about the pkg-gnome-maintainers
mailing list