1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

- Change REINPLACE_CMD

- Add patches, fix build on FreeBSD 10

Approved by:	pawel / wg (mentors, implicit)
This commit is contained in:
Rusmir Dusko 2013-10-29 15:27:17 +00:00
parent d1df380e69
commit f692f32ad8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331960
3 changed files with 22 additions and 2 deletions

View File

@ -26,8 +26,6 @@ USE_QT4= qmake_build rcc_build moc_build uic_build \
linguist_build corelib gui sql network
ONLY_FOR_ARCHS= i386 amd64
#SUB_FILES= pkg-message
PORTDOCS= AUTHORS ChangeLog README TODO
OPTIONS_DEFINE= DOCS NLS DBUS
@ -51,6 +49,8 @@ USE_QT4+= dbus
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/share/man|/man|' \
${WRKSRC}/src/CMakeLists.txt
@${REINPLACE_CMD} -e 's|^Categories=.*|Categories=Qt;System;Emulator;Utility;Game;|' \
${WRKSRC}/${PORTNAME}.desktop

View File

@ -0,0 +1,10 @@
--- ./src/q4wine-gui/process.h.orig 2013-05-02 22:38:39.000000000 +0200
+++ ./src/q4wine-gui/process.h 2013-10-29 00:24:57.000000000 +0100
@@ -32,6 +32,7 @@
#include <QLibrary>
#include <QTextCodec>
#include <QTextStream>
+#include <locale.h>
#ifdef DEBUG
#include <QDebug>

View File

@ -0,0 +1,10 @@
--- ./src/q4wine-lib/q4wine-lib.h.orig 2013-05-02 22:38:39.000000000 +0200
+++ ./src/q4wine-lib/q4wine-lib.h 2013-10-29 00:21:12.000000000 +0100
@@ -47,6 +47,7 @@
#include <QDesktopServices>
#include <QUrl>
#include <QTranslator>
+#include <locale.h>
#include "process.h"