Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 15:27:17 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331960 - in head/deskutils/q4wine: . files
Message-ID:  <201310291527.r9TFRHtB017822@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Oct 29 15:27:17 2013
New Revision: 331960
URL: http://svnweb.freebsd.org/changeset/ports/331960

Log:
  - Change REINPLACE_CMD
  - Add patches, fix build on FreeBSD 10
  
  Approved by:	pawel / wg (mentors, implicit)

Added:
  head/deskutils/q4wine/files/
  head/deskutils/q4wine/files/patch-src__q4wine-gui__process.h   (contents, props changed)
  head/deskutils/q4wine/files/patch-src__q4wine-lib__q4wine-lib.h   (contents, props changed)
Modified:
  head/deskutils/q4wine/Makefile

Modified: head/deskutils/q4wine/Makefile
==============================================================================
--- head/deskutils/q4wine/Makefile	Tue Oct 29 15:08:43 2013	(r331959)
+++ head/deskutils/q4wine/Makefile	Tue Oct 29 15:27:17 2013	(r331960)
@@ -26,8 +26,6 @@ USE_QT4=	qmake_build rcc_build moc_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
 

Added: head/deskutils/q4wine/files/patch-src__q4wine-gui__process.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/q4wine/files/patch-src__q4wine-gui__process.h	Tue Oct 29 15:27:17 2013	(r331960)
@@ -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>

Added: head/deskutils/q4wine/files/patch-src__q4wine-lib__q4wine-lib.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/q4wine/files/patch-src__q4wine-lib__q4wine-lib.h	Tue Oct 29 15:27:17 2013	(r331960)
@@ -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"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310291527.r9TFRHtB017822>