diff options
author | kristerw <kristerw> | 2004-01-17 17:34:05 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-01-17 17:34:05 +0000 |
commit | 7cd90e1311633c282a75b25aa9dba628718e0bbf (patch) | |
tree | a516eea652325ea1e8d2472ddfb63d11b4e2d365 /chat/gabber | |
parent | 918cd91c29504876a9f343d6e07f3caa4441d998 (diff) | |
download | pkgsrc-7cd90e1311633c282a75b25aa9dba628718e0bbf.tar.gz |
Make the package compile when using gcc 3.3.
This closes PR pkg/23601.
Diffstat (limited to 'chat/gabber')
-rw-r--r-- | chat/gabber/distinfo | 3 | ||||
-rw-r--r-- | chat/gabber/patches/patch-ad | 29 |
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; |