pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/gabber Make the package compile when using gcc 3.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b670ff9622e0
branches:  trunk
changeset: 466413:b670ff9622e0
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Jan 17 17:34:05 2004 +0000

description:
Make the package compile when using gcc 3.3.
This closes PR pkg/23601.

diffstat:

 chat/gabber/distinfo         |   3 ++-
 chat/gabber/patches/patch-ad |  29 +++++++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 52d991a89ef9 -r b670ff9622e0 chat/gabber/distinfo
--- a/chat/gabber/distinfo      Sat Jan 17 17:33:49 2004 +0000
+++ b/chat/gabber/distinfo      Sat Jan 17 17:34:05 2004 +0000
@@ -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 -r 52d991a89ef9 -r b670ff9622e0 chat/gabber/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/gabber/patches/patch-ad      Sat Jan 17 17:34:05 2004 +0000
@@ -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;     



Home | Main Index | Thread Index | Old Index