summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/qgo/files')
-rw-r--r--games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch11
-rw-r--r--games-board/qgo/files/qgo-1.5.4_p20100322-gcc45.patch77
-rw-r--r--games-board/qgo/files/qgo-1.5.4_p20100322-gcc6.patch12
-rw-r--r--games-board/qgo/files/qgo-1.5.4_p20100322-qt47.patch74
4 files changed, 0 insertions, 174 deletions
diff --git a/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch b/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch
deleted file mode 100644
index bdf94eba6d80..000000000000
--- a/games-board/qgo/files/qgo-1.5.4_p20100322-buffer.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/network/tygemconnection.cpp 2014-10-29 23:49:21.436929924 -0400
-+++ b/src/network/tygemconnection.cpp 2014-10-29 23:50:43.481183852 -0400
-@@ -4768,7 +4768,7 @@
- unsigned int i;
-
- QString encoded_name;
-- name[15] = 0x00;
-+ name[14] = 0x00;
- int records = (msg[0] << 8) + msg[1];
- if((records * 16) + 4 != (int)size)
- {
diff --git a/games-board/qgo/files/qgo-1.5.4_p20100322-gcc45.patch b/games-board/qgo/files/qgo-1.5.4_p20100322-gcc45.patch
deleted file mode 100644
index a02fae6df648..000000000000
--- a/games-board/qgo/files/qgo-1.5.4_p20100322-gcc45.patch
+++ /dev/null
@@ -1,77 +0,0 @@
---- a/src/board/board.cpp 2010-06-01 08:20:32.000000000 +0200
-+++ b/src/board/board.cpp 2010-06-01 08:20:54.000000000 +0200
-@@ -347,7 +347,7 @@
- }
-
- //redraws the image on a brush to set the background
-- canvas->setBackgroundBrush ( QBrush::QBrush(image));
-+ canvas->setBackgroundBrush ( QBrush(image));
-
- }
-
---- a/src/board/clockdisplay.cpp 2010-06-01 08:31:10.000000000 +0200
-+++ b/src/board/clockdisplay.cpp 2010-06-01 08:31:38.000000000 +0200
-@@ -274,13 +274,13 @@
-
- if(b_time > 3600 || w_time > 3600)
- {
-- bt = QTime::QTime(0,0).addSecs(abs(b_time)).toString("h:mm:ss") ;
-- wt = QTime::QTime(0,0).addSecs(abs(w_time)).toString("h:mm:ss") ;
-+ bt = QTime(0,0).addSecs(abs(b_time)).toString("h:mm:ss") ;
-+ wt = QTime(0,0).addSecs(abs(w_time)).toString("h:mm:ss") ;
- }
- else
- {
-- bt = QTime::QTime(0,0).addSecs(abs(b_time)).toString("m:ss") ;
-- wt = QTime::QTime(0,0).addSecs(abs(w_time)).toString("m:ss") ;
-+ bt = QTime(0,0).addSecs(abs(b_time)).toString("m:ss") ;
-+ wt = QTime(0,0).addSecs(abs(w_time)).toString("m:ss") ;
- }
-
- switch(timeSystem)
---- a/src/gtp/qgtp.cpp 2010-06-01 08:34:09.000000000 +0200
-+++ b/src/gtp/qgtp.cpp 2010-06-01 08:34:28.000000000 +0200
-@@ -341,7 +341,7 @@
- _cpt++;
-
- qDebug("flush -> %s",s);
-- uint i= programProcess->write(QByteArray::QByteArray(s));
-+ uint i= programProcess->write(QByteArray(s));
-
- // int j= programProcess->waitForBytesWritten ( 100 );
-
---- a/src/board/imagehandler.cpp 2010-06-01 08:34:55.000000000 +0200
-+++ b/src/board/imagehandler.cpp 2010-06-01 08:35:17.000000000 +0200
-@@ -93,8 +93,8 @@
- {
- altGhostPixmaps = new QList<QPixmap>();//::QList();
-
-- QPixmap alt1 = QPixmap::QPixmap(":/new/prefix1/ressources/pics/alt_ghost_black.png");
-- QPixmap alt2 = QPixmap:: QPixmap(":/new/prefix1/ressources/pics/alt_ghost_white.png");
-+ QPixmap alt1 = QPixmap(":/new/prefix1/ressources/pics/alt_ghost_black.png");
-+ QPixmap alt2 = QPixmap(":/new/prefix1/ressources/pics/alt_ghost_white.png");
-
- if (alt1.isNull() || alt2.isNull())
- qFatal("Could not load alt_ghost pixmaps.");
---- a/src/board/mark.cpp 2010-06-01 08:36:39.000000000 +0200
-+++ b/src/board/mark.cpp 2010-06-01 08:36:51.000000000 +0200
-@@ -109,7 +109,7 @@
- setPen(QPen(col, 2));
- // else
-
-- pa = QPolygon::QPolygon(3);
-+ pa = QPolygon(3);
-
- // setPen(QPen(col, 1));
- setSize(s, s);
---- a/src/network/gamedialog.cpp 2010-06-01 08:45:26.000000000 +0200
-+++ b/src/network/gamedialog.cpp 2010-06-01 08:45:40.000000000 +0200
-@@ -1123,7 +1123,7 @@
- * probably FIXME, I just wonder why its like that in the first place */
-
- QPalette p(QApplication::palette());
-- p.setColor( QPalette::Base , QColor::QColor("cyan"));
-+ p.setColor( QPalette::Base , QColor("cyan"));
-
- qDebug("GameDialog::recvRequest");
- /* If there's no existing request, then nothing should have changed
diff --git a/games-board/qgo/files/qgo-1.5.4_p20100322-gcc6.patch b/games-board/qgo/files/qgo-1.5.4_p20100322-gcc6.patch
deleted file mode 100644
index 52b4ec2faaf4..000000000000
--- a/games-board/qgo/files/qgo-1.5.4_p20100322-gcc6.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ruN qgo-1.5.4_p20100322.orig/src/network/cyberoroconnection.cpp qgo-1.5.4_p20100322/src/network/cyberoroconnection.cpp
---- qgo-1.5.4_p20100322.orig/src/network/cyberoroconnection.cpp 2010-02-26 19:43:41.000000000 +0100
-+++ qgo-1.5.4_p20100322/src/network/cyberoroconnection.cpp 2017-10-02 20:33:32.661506058 +0200
-@@ -534,7 +534,7 @@
- }
-
- // this is the initial packet
-- char packet[8] = { 0x0a, 0xfa, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 };
-+ unsigned char packet[8] = { 0x0a, 0xfa, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 };
- if(write((const char *)packet, 8) < 0)
- qWarning("*** failed sending init packet to reconnected host");
- return 0;
diff --git a/games-board/qgo/files/qgo-1.5.4_p20100322-qt47.patch b/games-board/qgo/files/qgo-1.5.4_p20100322-qt47.patch
deleted file mode 100644
index 203bf4857258..000000000000
--- a/games-board/qgo/files/qgo-1.5.4_p20100322-qt47.patch
+++ /dev/null
@@ -1,74 +0,0 @@
---- a/src/network/playergamelistings.h 2010-11-08 13:49:25.000000000 +0100
-+++ b/src/network/playergamelistings.h 2010-11-08 13:52:24.000000000 +0100
-@@ -66,21 +66,21 @@
- bool hidden;
- PlayerListing() : id(0),
- online(0),
-- name(0),
-- notnickname(0),
-- info(0),
-- idletime(0),
-+ name(QString::null),
-+ notnickname(QString::null),
-+ info(QString::null),
-+ idletime(QString::null),
- seconds_idle(0),
-- rank(0),
-+ rank(QString::null),
- rank_score(0),
-- country(0),
-+ country(QString::null),
- wins(0),
- losses(0),
- rated_games(0),
- observing(0),
- playing(0),
-- extInfo(0),
-- email_address(0),
-+ extInfo(QString::null),
-+ email_address(QString::null),
- nmatch(0),
- nmatch_handicapMin(0),
- specialbyte(0),
-@@ -189,7 +189,7 @@
- _white_rank_score(0),
- _black_rank_score(0),
- observers(0),
-- result(0),
-+ result(QString::null),
- flags(IN_PROGRESS),
- rated(0),
- owner_id(0),
---- a/src/board/board.h 2010-11-08 13:57:26.000000000 +0100
-+++ b/src/board/board.h 2010-11-08 13:58:17.000000000 +0100
-@@ -50,7 +50,7 @@
-
- void removeGhosts();
- void setVarGhost(StoneColor c, int x, int y);
-- void setMark(int x, int y, MarkType t, bool update=true, QString txt=0, bool overlay=true);
-+ void setMark(int x, int y, MarkType t, bool update=true, QString txt=QString::null, bool overlay=true);
- Mark* hasMark(int x, int y);
- void removeMark(int x, int y, bool update = false);
- void removeDeadMarks();
---- a/src/board/boardwindow.h 2010-11-08 14:21:19.000000000 +0100
-+++ b/src/board/boardwindow.h 2010-11-08 14:21:39.000000000 +0100
-@@ -45,7 +45,7 @@
- ~BoardWindow();
-
- void init();
-- bool loadSGF(const QString fileName, const QString SGFLoaded=0);
-+ bool loadSGF(const QString fileName, const QString SGFLoaded=QString::null);
- bool doSave(QString fileName, bool force);
- QString getCandidateFileName();
-
---- a/src/sgf/sgfparser.h 2010-11-08 14:29:05.000000000 +0100
-+++ b/src/sgf/sgfparser.h 2010-11-08 14:29:27.000000000 +0100
-@@ -51,7 +51,7 @@
- */
- protected:
- int minPos(int n1, int n2, int n3);
-- bool corruptSgf(int where=0, QString reason=NULL);
-+ bool corruptSgf(int where=0, QString reason=QString::null);
-
- bool parseProperty(const QString &toParse, const QString &prop, QString &result);
-