Index: head/archivers/ark/Makefile =================================================================== --- head/archivers/ark/Makefile (revision 495196) +++ head/archivers/ark/Makefile (revision 495197) @@ -1,40 +1,40 @@ # $FreeBSD$ PORTNAME= ark DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Archiving tool for KDE LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++11-lang gettext libarchive kde:5 \ qt:5 shared-mime-info tar:xz USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons doctools ecm i18n iconthemes \ itemmodels itemviews jobwidgets khtml kio parts pty service \ solid sonnet textwidgets widgetsaddons xmlgui USE_QT= concurrent core dbus gui network widgets xml \ buildtools_build qmake_build USE_LDCONFIG= yes OPTIONS_DEFINE= 7ZIP RAR ZIP DOCS OPTIONS_DEFAULT= ${OPTIONS_DEFINE} OPTIONS_SUB= YES 7ZIP_DESC= Support for 7-Zip archives 7ZIP_RUN_DEPENDS= 7z:archivers/p7zip RAR_DESC= Support for RAR archives RAR_RUN_DEPENDS= unrar:archivers/unrar \ rar:archivers/rar ZIP_DESC= Support for ZIP archives ZIP_LIB_DEPENDS= libzip.so:archivers/libzip ZIP_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_LibZip .include Index: head/archivers/ark/files/patch-git_a3bcf9bec =================================================================== --- head/archivers/ark/files/patch-git_a3bcf9bec (nonexistent) +++ head/archivers/ark/files/patch-git_a3bcf9bec (revision 495197) @@ -0,0 +1,26 @@ +commit a3bcf9becddd5725725089add15fbae39c79757e +Author: Elvis Angelaccio +Date: Sat Mar 9 13:05:35 2019 +0100 + + Fix creation of tar archives + + Usage of QString::compare() breaks the creation of tar archives, because + `zst` is "bigger" than `tar` which means ark would use the `zstd` filter + even when creating a simple tar archive. + + BUG: 405136 + FIXED-IN: 19.03.80 + +diff --git a/plugins/libarchive/readwritelibarchiveplugin.cpp b/plugins/libarchive/readwritelibarchiveplugin.cpp +index 38f62881..e83d0087 100644 +--- plugins/libarchive/readwritelibarchiveplugin.cpp ++++ plugins/libarchive/readwritelibarchiveplugin.cpp +@@ -352,7 +352,7 @@ bool ReadWriteLibarchivePlugin::initializeNewFileWriterFilters(const Compression + qCDebug(ARK) << "Detected lz4 compression for new file"; + ret = archive_write_add_filter_lz4(m_archiveWriter.data()); + #ifdef HAVE_ZSTD_SUPPORT +- } else if (filename().rightRef(3).compare(QLatin1String("zst"), Qt::CaseInsensitive)) { ++ } else if (filename().right(3).toUpper() == QLatin1String("ZST")) { + qCDebug(ARK) << "Detected zstd compression for new file"; + ret = archive_write_add_filter_zstd(m_archiveWriter.data()); + #endif Property changes on: head/archivers/ark/files/patch-git_a3bcf9bec ___________________________________________________________________ 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