mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Fix build on 10.x
- Fix stripping with regard to staging PR: 186672 Submitted by: amdmi3 Approved by: anoine (portmgr)
This commit is contained in:
parent
77e492f7c6
commit
b6f8074097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344202
@ -17,8 +17,6 @@ DOS2UNIX_REGEX= .*\.(h|cpp)
|
||||
USE_QT4= gui network moc_build rcc_build \
|
||||
imageformats_run
|
||||
|
||||
STRIP_FILES= bin/qtfm
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} && \
|
||||
${REINPLACE_CMD} -e s@/usr/@${PREFIX}/@g \
|
||||
@ -29,6 +27,6 @@ post-patch:
|
||||
icondlg.cpp mainwindow.cpp mymodel.cpp
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtfm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- src/bookmarks.cpp.orig 2012-07-11 18:10:56.065528820 -0500
|
||||
+++ src/bookmarks.cpp 2012-07-11 18:19:42.041677562 -0500
|
||||
@@ -22,6 +22,11 @@
|
||||
--- src/bookmarks.cpp.orig 2014-02-12 05:22:32.988231816 +0400
|
||||
+++ src/bookmarks.cpp 2014-02-12 05:22:53.244712591 +0400
|
||||
@@ -22,6 +22,13 @@
|
||||
#ifndef BOOKMARKS_CPP
|
||||
#define BOOKMARKS_CPP
|
||||
|
||||
@ -8,11 +8,13 @@
|
||||
+#include <sys/event.h>
|
||||
+#include <sys/mount.h>
|
||||
+#endif
|
||||
+
|
||||
+#include <unistd.h>
|
||||
+
|
||||
#include <QtGui>
|
||||
#include "bookmarkmodel.h"
|
||||
#include "icondlg.h"
|
||||
@@ -80,44 +85,74 @@ void MainWindow::mountWatcherTriggered()
|
||||
@@ -80,44 +87,74 @@
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user