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

(-)Makefile (-3 / +1 lines)
Lines 17-24 Link Here
17
USE_QT4=	gui network moc_build rcc_build \
17
USE_QT4=	gui network moc_build rcc_build \
18
		imageformats_run
18
		imageformats_run
19
19
20
STRIP_FILES=	bin/qtfm
21
22
post-patch:
20
post-patch:
23
	@cd ${WRKSRC} && \
21
	@cd ${WRKSRC} && \
24
		${REINPLACE_CMD} -e s@/usr/@${PREFIX}/@g \
22
		${REINPLACE_CMD} -e s@/usr/@${PREFIX}/@g \
Lines 29-34 Link Here
29
		icondlg.cpp mainwindow.cpp mymodel.cpp
27
		icondlg.cpp mainwindow.cpp mymodel.cpp
30
28
31
post-install:
29
post-install:
32
	${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
30
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtfm
33
31
34
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)files/patch-src_bookmarks.cpp (-4 / +6 lines)
Lines 1-6 Link Here
1
--- src/bookmarks.cpp.orig	2012-07-11 18:10:56.065528820 -0500
1
--- src/bookmarks.cpp.orig	2014-02-12 05:22:32.988231816 +0400
2
+++ src/bookmarks.cpp	2012-07-11 18:19:42.041677562 -0500
2
+++ src/bookmarks.cpp	2014-02-12 05:22:53.244712591 +0400
3
@@ -22,6 +22,11 @@
3
@@ -22,6 +22,13 @@
4
 #ifndef BOOKMARKS_CPP
4
 #ifndef BOOKMARKS_CPP
5
 #define BOOKMARKS_CPP
5
 #define BOOKMARKS_CPP
6
 
6
 
Lines 9-18 Link Here
9
+#include <sys/mount.h>
9
+#include <sys/mount.h>
10
+#endif
10
+#endif
11
+
11
+
12
+#include <unistd.h>
13
+
12
 #include <QtGui>
14
 #include <QtGui>
13
 #include "bookmarkmodel.h"
15
 #include "bookmarkmodel.h"
14
 #include "icondlg.h"
16
 #include "icondlg.h"
15
@@ -80,44 +85,74 @@ void MainWindow::mountWatcherTriggered()
17
@@ -80,44 +87,74 @@
16
 }
18
 }
17
 
19
 
18
 //---------------------------------------------------------------------------
20
 //---------------------------------------------------------------------------

Return to bug 186672