Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 13:51:13 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340298 - in head/sysutils/kdirstat: . files
Message-ID:  <201401191351.s0JDpDf8031826@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jan 19 13:51:13 2014
New Revision: 340298
URL: http://svnweb.freebsd.org/changeset/ports/340298
QAT: https://qat.redports.org/buildarchive/r340298/

Log:
  - Stage support
  - Fix build with clang
  
  PR:		185333
  Submitted by:	ports fury

Added:
  head/sysutils/kdirstat/files/
  head/sysutils/kdirstat/files/patch-src__k4dirstat.cpp   (contents, props changed)
Modified:
  head/sysutils/kdirstat/Makefile

Modified: head/sysutils/kdirstat/Makefile
==============================================================================
--- head/sysutils/kdirstat/Makefile	Sun Jan 19 13:50:05 2014	(r340297)
+++ head/sysutils/kdirstat/Makefile	Sun Jan 19 13:51:13 2014	(r340298)
@@ -20,7 +20,6 @@ USE_KDE4=	automoc4 kdelibs kdeprefix lib
 USE_QT4=	moc_build qmake_build rcc_build uic_build
 INSTALLS_ICONS=	yes
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^Categories/s|=.*|=Qt;KDE;Utility;|' \
@@ -30,6 +29,6 @@ post-patch:
 		${WRKSRC}/src/kdirreadjob.cpp
 
 post-install:
-	@${LN} -sf k4dirstat ${PREFIX}/bin/kdirstat
+	@${LN} -sf k4dirstat ${STAGEDIR}${PREFIX}/bin/kdirstat
 
 .include <bsd.port.mk>

Added: head/sysutils/kdirstat/files/patch-src__k4dirstat.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/kdirstat/files/patch-src__k4dirstat.cpp	Sun Jan 19 13:51:13 2014	(r340298)
@@ -0,0 +1,10 @@
+--- src/k4dirstat.cpp.orig
++++ src/k4dirstat.cpp
+@@ -14,6 +14,7 @@
+ //#include "k4dirstatview.h"
+ #include "settings.h"
+ 
++#include <unistd.h>
+ #include <QtGui/QDropEvent>
+ #include <QtGui/QPainter>
+ #include <QtGui/QPrinter>\



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