From 2bf866422d84ca32b4ac7cc9fdaffb6939d9abd3 Mon Sep 17 00:00:00 2001 From: az Date: Wed, 4 Jul 2007 18:17:56 +0000 Subject: - Fix build with gcc 4.2 Pointed by: pav@ via pointyhat robot --- games/qnetchess/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/games/qnetchess/Makefile b/games/qnetchess/Makefile index d7fe34f23515..7e23c0a45eea 100644 --- a/games/qnetchess/Makefile +++ b/games/qnetchess/Makefile @@ -25,6 +25,10 @@ MAKE_ARGS+= LOCALE_FILE="${LOCALE_FILE}" QTDIR="${QT_PREFIX}" PLIST_FILES= bin/QNetChess %%DATADIR%%/${PORTNAME}_ru.qm PLIST_DIRS= %%DATADIR%% +post-patch: + ${REINPLACE_CMD} -e 's|static char|static const char|' \ + ${WRKSRC}/xpm/* + do-install: ${MKDIR} ${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/QNetChess ${PREFIX}/bin -- cgit