View | Details | Raw Unified | Return to bug 281442
Collapse All | Expand All

(-)b/games/chessx/Makefile (-1 / +4 lines)
Lines 1-5 Link Here
1
PORTNAME=	chessx
1
PORTNAME=	chessx
2
DISTVERSION=	1.6.0
2
DISTVERSION=	1.6.2
3
CATEGORIES=	games
3
CATEGORIES=	games
4
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
4
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
5
5
Lines 33-38 STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish Link Here
33
33
34
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
35
35
36
post-extract:
37
	@${MV} ${WRKDIR}/chessx-master ${WRKSRC}
38
36
post-patch:
39
post-patch:
37
.if ${COMPILER_TYPE} == clang
40
.if ${COMPILER_TYPE} == clang
38
	@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
41
	@${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \
(-)b/games/chessx/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1683708876
1
TIMESTAMP = 1726035877
2
SHA256 (chessx-1.6.0.tgz) = efa60e7b55a907ebdd12810a1931de69624ba42544e11a3262ed562f2dc3c618
2
SHA256 (chessx-1.6.2.tgz) = bb091d849cb02d6309978fe284c9f1a85c274f35122fe91c6b9c3089a6e20f80
3
SIZE (chessx-1.6.0.tgz) = 8252976
3
SIZE (chessx-1.6.2.tgz) = 11024855
(-)a/games/chessx/files/patch-src_gui_chessxsettings.cpp (-16 lines)
Removed Link Here
1
--- src/gui/chessxsettings.cpp.orig	2023-05-08 20:22:12 UTC
2
+++ src/gui/chessxsettings.cpp
3
@@ -19,11 +19,11 @@
4
 #include <QWidget>
5
 #include <QMainWindow>
6
 #include <QSplitter>
7
+#ifdef USE_SPEECH
8
 #include <QTextToSpeech>
9
+#endif
10
 #include <QLayout>
11
-
12
 using namespace chessx;
13
-
14
 #if defined(_MSC_VER) && defined(_DEBUG)
15
 #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
16
 #define new DEBUG_NEW
(-)a/games/chessx/files/patch-src_gui_chessxsettings.h (-20 lines)
Removed Link Here
1
--- src/gui/chessxsettings.h.orig	2023-05-08 20:22:12 UTC
2
+++ src/gui/chessxsettings.h
3
@@ -13,16 +13,11 @@ class ChessXSettings : public Settings
4
 public:
5
     ChessXSettings();
6
     ChessXSettings(const QString &fileName);
7
-
8
     virtual bool layout(QWidget* w);
9
     virtual void setLayout(const QWidget* w);
10
-
11
     static QLocale locale(); // Get the locale based upon current settings
12
-#ifdef USE_SPEECH
13
     static QStringList availableVoices(QString lang); // Get the list of voices based upon selected locale
14
     static void configureSpeech(QTextToSpeech* speech);
15
-#endif
16
-
17
 protected:
18
     virtual void initWidgetValues(QMap<QString, QVariant>& map) const;
19
 };
20
- 

Return to bug 281442