summaryrefslogtreecommitdiff
path: root/time/ptimetracker
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-22 20:03:56 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-22 20:03:56 +0000
commitb0be7978730f462ed261de8700ae661bea6cfa9f (patch)
tree498e2c46b9046817cadeadf5c116bd20fe83f5e2 /time/ptimetracker
parent4f0bce5b76ef00248440ea668369f08c21f0f62c (diff)
downloadpkgsrc-b0be7978730f462ed261de8700ae661bea6cfa9f.tar.gz
Fix build with newer GCC
Diffstat (limited to 'time/ptimetracker')
-rw-r--r--time/ptimetracker/distinfo7
-rw-r--r--time/ptimetracker/patches/patch-src-sucker.cc22
-rw-r--r--time/ptimetracker/patches/patch-src-sucker.hh15
-rw-r--r--time/ptimetracker/patches/patch-src-weeport.cc18
-rw-r--r--time/ptimetracker/patches/patch-src-weeport.hh15
-rw-r--r--time/ptimetracker/patches/patch-src-widgets.hh18
6 files changed, 94 insertions, 1 deletions
diff --git a/time/ptimetracker/distinfo b/time/ptimetracker/distinfo
index b9db96732d2..2a9c41c837b 100644
--- a/time/ptimetracker/distinfo
+++ b/time/ptimetracker/distinfo
@@ -1,5 +1,10 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 19:14:55 wiz Exp $
+$NetBSD: distinfo,v 1.3 2011/11/22 20:03:56 joerg Exp $
SHA1 (ptimetracker-1.7.3.tar.gz) = f5a3fddab046b36d3c96a4f8572ec3f0509883f1
RMD160 (ptimetracker-1.7.3.tar.gz) = ab1d0cfe90ee715d005b002ab8bc20e47b040862
Size (ptimetracker-1.7.3.tar.gz) = 36992 bytes
+SHA1 (patch-src-sucker.cc) = 7fa071ff585354e3c3c5174b4b3379e782b12e3f
+SHA1 (patch-src-sucker.hh) = de174699ebae69842bb1e9e61bf7031b18f5626c
+SHA1 (patch-src-weeport.cc) = 48506b9339df00e986c30f9d935ee00971428b60
+SHA1 (patch-src-weeport.hh) = 2376e84a07837f56f3fbcd3c03ef629a03b63264
+SHA1 (patch-src-widgets.hh) = a3a2ceab676bddb4ab3c113b337b86d4444dcb98
diff --git a/time/ptimetracker/patches/patch-src-sucker.cc b/time/ptimetracker/patches/patch-src-sucker.cc
new file mode 100644
index 00000000000..1c433aecad9
--- /dev/null
+++ b/time/ptimetracker/patches/patch-src-sucker.cc
@@ -0,0 +1,22 @@
+$NetBSD: patch-src-sucker.cc,v 1.1 2011/11/22 20:03:56 joerg Exp $
+
+--- src/sucker.cc.orig 2011-11-22 19:09:34.000000000 +0000
++++ src/sucker.cc
+@@ -24,7 +24,7 @@
+ #include "sucker.hh"
+
+ #include <math.h>
+-#include <iostream.h>
++#include <iostream>
+ #include <qtable.h>
+ #include <qfile.h>
+ #include <qtextstream.h>
+@@ -33,6 +33,8 @@
+ #include <qmessagebox.h>
+ #include <assert.h>
+
++using namespace std;
++
+ /********************************************************************
+ class for handling projects
+ */
diff --git a/time/ptimetracker/patches/patch-src-sucker.hh b/time/ptimetracker/patches/patch-src-sucker.hh
new file mode 100644
index 00000000000..b8bd9c5485f
--- /dev/null
+++ b/time/ptimetracker/patches/patch-src-sucker.hh
@@ -0,0 +1,15 @@
+$NetBSD: patch-src-sucker.hh,v 1.1 2011/11/22 20:03:56 joerg Exp $
+
+--- src/sucker.hh.orig 2011-11-22 19:09:36.000000000 +0000
++++ src/sucker.hh
+@@ -29,8 +29,9 @@
+ #include <qstring.h>
+ #include <qtable.h>
+ #include <qdatetime.h>
+-#include <vector.h>
++#include <vector>
+
++using namespace std;
+
+ /********************************************************************
+ class for handling projects
diff --git a/time/ptimetracker/patches/patch-src-weeport.cc b/time/ptimetracker/patches/patch-src-weeport.cc
new file mode 100644
index 00000000000..38dd5f40748
--- /dev/null
+++ b/time/ptimetracker/patches/patch-src-weeport.cc
@@ -0,0 +1,18 @@
+$NetBSD: patch-src-weeport.cc,v 1.1 2011/11/22 20:03:56 joerg Exp $
+
+--- src/weeport.cc.orig 2011-11-22 19:09:39.000000000 +0000
++++ src/weeport.cc
+@@ -24,5 +24,5 @@
+ ****************************************************************************/
+
+-#include <iostream.h>
++#include <iostream>
+
+ #include <stdlib.h>
+@@ -49,4 +49,6 @@
+ #include "weeport.hh"
+
++using namespace std;
++
+ /*--------------------------------------------------------------------
+ Class : Weeport
diff --git a/time/ptimetracker/patches/patch-src-weeport.hh b/time/ptimetracker/patches/patch-src-weeport.hh
new file mode 100644
index 00000000000..13a1761ba2d
--- /dev/null
+++ b/time/ptimetracker/patches/patch-src-weeport.hh
@@ -0,0 +1,15 @@
+$NetBSD: patch-src-weeport.hh,v 1.1 2011/11/22 20:03:56 joerg Exp $
+
+--- src/weeport.hh.orig 2011-11-22 19:09:45.000000000 +0000
++++ src/weeport.hh
+@@ -31,7 +31,9 @@
+ #include <qfont.h>
+ #include <qtextview.h>
+
+-#include <vector.h>
++#include <vector>
++
++using namespace std;
+
+ class QListBox;
+ class QPopupMenu;
diff --git a/time/ptimetracker/patches/patch-src-widgets.hh b/time/ptimetracker/patches/patch-src-widgets.hh
new file mode 100644
index 00000000000..9eb10b7b482
--- /dev/null
+++ b/time/ptimetracker/patches/patch-src-widgets.hh
@@ -0,0 +1,18 @@
+$NetBSD: patch-src-widgets.hh,v 1.1 2011/11/22 20:03:56 joerg Exp $
+
+--- src/widgets.hh.orig 2011-11-22 19:09:42.000000000 +0000
++++ src/widgets.hh
+@@ -31,10 +31,12 @@
+ #include <qcombobox.h>
+ #include <qspinbox.h>
+ #include <qpopupmenu.h>
+-#include <vector.h>
++#include <vector>
+ #include <qcheckbox.h>
+ #include <qlistbox.h>
+
++using namespace std;
++
+ class QToolBar;
+ class QToolButton;
+ class Sucker;