Index: head/devel/libqtxdg/Makefile =================================================================== --- head/devel/libqtxdg/Makefile (revision 429824) +++ head/devel/libqtxdg/Makefile (revision 429825) @@ -1,18 +1,19 @@ # Created by: Olivier Duchateau # $FreeBSD$ PORTNAME= libqtxdg PORTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= olivierd@FreeBSD.org COMMENT= Qt implementation of freedesktop.org xdg specs LICENSE= LGPL21+ USES= cmake:outsource compiler:c++11-lib lxqt pkgconfig tar:xz USE_QT5= buildtools_build qmake_build core dbus gui svg widgets \ xml .include Index: head/devel/libqtxdg/files/patch-qtxdg_xdgdirs.cpp =================================================================== --- head/devel/libqtxdg/files/patch-qtxdg_xdgdirs.cpp (nonexistent) +++ head/devel/libqtxdg/files/patch-qtxdg_xdgdirs.cpp (revision 429825) @@ -0,0 +1,15 @@ +--- qtxdg/xdgdirs.cpp.orig 2016-09-17 12:06:08 UTC ++++ qtxdg/xdgdirs.cpp +@@ -178,9 +178,11 @@ bool XdgDirs::setUserDir(XdgDirs::UserDi + if (dir < XdgDirs::Desktop || dir > XdgDirs::Videos) + return false; + ++ const QString home = QFile::decodeName(qgetenv("HOME")); + if (!(value.startsWith(QLatin1String("$HOME")) + || value.startsWith(QLatin1String("~/")) +- || value.startsWith(QFile::decodeName(qgetenv("HOME"))))) ++ || value.startsWith(home) ++ || value.startsWith(QDir(home).canonicalPath()))) + return false; + + QString folderName = userDirectoryString[dir]; Property changes on: head/devel/libqtxdg/files/patch-qtxdg_xdgdirs.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property