summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2004-01-17 17:34:05 +0000
committerkristerw <kristerw@pkgsrc.org>2004-01-17 17:34:05 +0000
commitaa063b06216417439bb6452dfd5171cf2f3ee19d (patch)
treea516eea652325ea1e8d2472ddfb63d11b4e2d365 /chat
parent5628114122de95698975a4c35dbe02e5f4fd9855 (diff)
downloadpkgsrc-aa063b06216417439bb6452dfd5171cf2f3ee19d.tar.gz
Make the package compile when using gcc 3.3.
This closes PR pkg/23601.
Diffstat (limited to 'chat')
-rw-r--r--chat/gabber/distinfo3
-rw-r--r--chat/gabber/patches/patch-ad29
2 files changed, 31 insertions, 1 deletions
diff --git a/chat/gabber/distinfo b/chat/gabber/distinfo
index e59e6dc7fa6..b356268c1ca 100644
--- a/chat/gabber/distinfo
+++ b/chat/gabber/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2003/07/10 19:50:11 jmmv Exp $
+$NetBSD: distinfo,v 1.4 2004/01/17 17:34:05 kristerw Exp $
SHA1 (gabber-0.8.8.tar.gz) = d2443b056404640bb5b360966b9c6223802617db
Size (gabber-0.8.8.tar.gz) = 2206079 bytes
SHA1 (patch-aa) = 89bdd406d61d45016ca0a84364eff25e70a707b6
SHA1 (patch-ab) = 7e45af755011b298295375a8466358cdf2d90dd6
SHA1 (patch-ac) = bdc8c9539ccc4f44ecd0d5f303c761c9923cb998
+SHA1 (patch-ad) = 1368aff993df6f2d9623a35d1a35b6829650a26c
diff --git a/chat/gabber/patches/patch-ad b/chat/gabber/patches/patch-ad
new file mode 100644
index 00000000000..aa61bb52dba
--- /dev/null
+++ b/chat/gabber/patches/patch-ad
@@ -0,0 +1,29 @@
+$NetBSD: patch-ad,v 1.3 2004/01/17 17:34:05 kristerw Exp $
+
+--- src/GladeHelper.hh.orig Sat Jan 17 17:06:59 2004
++++ src/GladeHelper.hh Sat Jan 17 17:07:01 2004
+@@ -24,13 +24,14 @@
+ #include <glade/glade-xml.h>
+ #include <gtk/gtkobject.h>
+ #include <gtk--/base.h>
++#include <iostream>
+
+ template<class T> T* getWidgetPtr(GladeXML* g, const char* name)
+ {
+ T* result = static_cast<T*>(Gtk::wrap_auto((GtkObject*)glade_xml_get_widget(g, name)));
+ if (result == NULL)
+ {
+- cerr << "** ERROR **: unable to load widget: " << name << endl;
++ std::cerr << "** ERROR **: unable to load widget: " << name << std::endl;
+ g_assert(result != NULL);
+ }
+ return result;
+@@ -41,7 +42,7 @@
+ T* result = (T*)glade_xml_get_widget(g, name);
+ if (result == NULL)
+ {
+- cerr << "** ERROR **: unable to load widget: " << name << endl;
++ std::cerr << "** ERROR **: unable to load widget: " << name << std::endl;
+ g_assert(result != NULL);
+ }
+ return result;