pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: markd
Date: Sun May 26 11:26:13 UTC 2024
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/kf6-kcoreaddons: DESCR Makefile PLIST buildlink3.mk
distinfo hacks.mk
pkgsrc/devel/kf6-kcoreaddons/patches:
patch-src_lib_caching_ksdclock.cpp
patch-src_lib_io_kautosavefile.cpp
patch-src_lib_io_kfilesystemtype.cpp
Log Message:
kf6-kcoreaddons: add version 6.2.0
KDE Frameworks 6 kcoreaddons.
KCoreAddons provides classes built on top of QtCore to perform various tasks
such as manipulating mime types, autosaving files, creating backup files,
generating random sequences, performing text manipulations such as macro
replacement, accessing user information and many more.
To generate a diff of this commit:
cvs rdiff -u -r1.4283 -r1.4284 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/kf6-kcoreaddons/DESCR \
pkgsrc/devel/kf6-kcoreaddons/Makefile pkgsrc/devel/kf6-kcoreaddons/PLIST \
pkgsrc/devel/kf6-kcoreaddons/buildlink3.mk \
pkgsrc/devel/kf6-kcoreaddons/distinfo \
pkgsrc/devel/kf6-kcoreaddons/hacks.mk
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_caching_ksdclock.cpp \
pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp \
pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4283 pkgsrc/devel/Makefile:1.4284
--- pkgsrc/devel/Makefile:1.4283 Sun May 26 11:22:13 2024
+++ pkgsrc/devel/Makefile Sun May 26 11:26:12 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4283 2024/05/26 11:22:13 markd Exp $
+# $NetBSD: Makefile,v 1.4284 2024/05/26 11:26:12 markd Exp $
#
COMMENT= Development utilities
@@ -845,6 +845,7 @@ SUBDIR+= kf6-kbookmarks
SUBDIR+= kf6-kcmutils
SUBDIR+= kf6-kcolorscheme
SUBDIR+= kf6-kconfig
+SUBDIR+= kf6-kcoreaddons
SUBDIR+= ki18n
SUBDIR+= kidletime
SUBDIR+= kio
Added files:
Index: pkgsrc/devel/kf6-kcoreaddons/DESCR
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/DESCR:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/DESCR Sun May 26 11:26:12 2024
@@ -0,0 +1,4 @@
+KCoreAddons provides classes built on top of QtCore to perform various tasks
+such as manipulating mime types, autosaving files, creating backup files,
+generating random sequences, performing text manipulations such as macro
+replacement, accessing user information and many more.
Index: pkgsrc/devel/kf6-kcoreaddons/Makefile
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/Makefile:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/Makefile Sun May 26 11:26:12 2024
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2024/05/26 11:26:12 markd Exp $
+
+DISTNAME= kcoreaddons-${KF6VER}
+CATEGORIES= devel
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= Addons to QtCore
+LICENSE= gnu-lgpl-v2 AND gnu-lgpl-v2.1 AND modified-bsd
+
+.include "../../meta-pkgs/kde/kf6.mk"
+
+CMAKE_ARGS.SunOS+= -DENABLE_INOTIFY=OFF
+LDFLAGS.SunOS+= -lsocket
+
+.if ${OPSYS} != "SunOS"
+.include "../../devel/libinotify/buildlink3.mk"
+.endif
+
+.include "../../databases/shared-mime-info/buildlink3.mk"
+.include "../../mk/fam.buildlink3.mk"
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt6-qttools= build
+.include "../../devel/qt6-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/kf6-kcoreaddons/PLIST
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/PLIST:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/PLIST Sun May 26 11:26:12 2024
@@ -0,0 +1,206 @@
+@comment $NetBSD: PLIST,v 1.1 2024/05/26 11:26:12 markd Exp $
+include/KF6/KCoreAddons/KAboutComponent
+include/KF6/KCoreAddons/KAboutData
+include/KF6/KCoreAddons/KAboutLicense
+include/KF6/KCoreAddons/KAboutPerson
+include/KF6/KCoreAddons/KAutoSaveFile
+include/KF6/KCoreAddons/KBackup
+include/KF6/KCoreAddons/KCompositeJob
+include/KF6/KCoreAddons/KCoreAddons
+include/KF6/KCoreAddons/KDirWatch
+include/KF6/KCoreAddons/KFileSystemType
+include/KF6/KCoreAddons/KFileUtils
+include/KF6/KCoreAddons/KFormat
+include/KF6/KCoreAddons/KFuzzyMatcher
+include/KF6/KCoreAddons/KJob
+include/KF6/KCoreAddons/KJobTrackerInterface
+include/KF6/KCoreAddons/KJobUiDelegate
+include/KF6/KCoreAddons/KJsonUtils
+include/KF6/KCoreAddons/KLibexec
+include/KF6/KCoreAddons/KListOpenFilesJob
+include/KF6/KCoreAddons/KMacroExpander
+include/KF6/KCoreAddons/KMemoryInfo
+include/KF6/KCoreAddons/KNetworkMounts
+include/KF6/KCoreAddons/KOSRelease
+include/KF6/KCoreAddons/KPluginFactory
+include/KF6/KCoreAddons/KPluginMetaData
+include/KF6/KCoreAddons/KProcess
+include/KF6/KCoreAddons/KProcessList
+include/KF6/KCoreAddons/KRandom
+include/KF6/KCoreAddons/KRuntimePlatform
+include/KF6/KCoreAddons/KSandbox
+include/KF6/KCoreAddons/KSharedDataCache
+include/KF6/KCoreAddons/KShell
+include/KF6/KCoreAddons/KSignalHandler
+include/KF6/KCoreAddons/KStringHandler
+include/KF6/KCoreAddons/KTextToHTML
+include/KF6/KCoreAddons/KUrlMimeData
+include/KF6/KCoreAddons/KUser
+include/KF6/KCoreAddons/kaboutdata.h
+include/KF6/KCoreAddons/kautosavefile.h
+include/KF6/KCoreAddons/kbackup.h
+include/KF6/KCoreAddons/kcompositejob.h
+include/KF6/KCoreAddons/kcoreaddons.h
+include/KF6/KCoreAddons/kcoreaddons_export.h
+include/KF6/KCoreAddons/kcoreaddons_version.h
+include/KF6/KCoreAddons/kdirwatch.h
+include/KF6/KCoreAddons/kfilesystemtype.h
+include/KF6/KCoreAddons/kfileutils.h
+include/KF6/KCoreAddons/kformat.h
+include/KF6/KCoreAddons/kfuzzymatcher.h
+include/KF6/KCoreAddons/kjob.h
+include/KF6/KCoreAddons/kjobtrackerinterface.h
+include/KF6/KCoreAddons/kjobuidelegate.h
+include/KF6/KCoreAddons/kjsonutils.h
+include/KF6/KCoreAddons/klibexec.h
+include/KF6/KCoreAddons/klistopenfilesjob.h
+include/KF6/KCoreAddons/kmacroexpander.h
+include/KF6/KCoreAddons/kmemoryinfo.h
+include/KF6/KCoreAddons/knetworkmounts.h
+include/KF6/KCoreAddons/kosrelease.h
+include/KF6/KCoreAddons/kpluginfactory.h
+include/KF6/KCoreAddons/kpluginmetadata.h
+include/KF6/KCoreAddons/kprocess.h
+include/KF6/KCoreAddons/kprocesslist.h
+include/KF6/KCoreAddons/krandom.h
+include/KF6/KCoreAddons/kruntimeplatform.h
+include/KF6/KCoreAddons/ksandbox.h
+include/KF6/KCoreAddons/kshareddatacache.h
+include/KF6/KCoreAddons/kshell.h
+include/KF6/KCoreAddons/ksignalhandler.h
+include/KF6/KCoreAddons/kstringhandler.h
+include/KF6/KCoreAddons/ktexttohtml.h
+include/KF6/KCoreAddons/kurlmimedata.h
+include/KF6/KCoreAddons/kuser.h
+lib/cmake/KF6CoreAddons/KF6CoreAddonsConfig.cmake
+lib/cmake/KF6CoreAddons/KF6CoreAddonsConfigVersion.cmake
+lib/cmake/KF6CoreAddons/KF6CoreAddonsMacros.cmake
+lib/cmake/KF6CoreAddons/KF6CoreAddonsTargets-noconfig.cmake
+lib/cmake/KF6CoreAddons/KF6CoreAddonsTargets.cmake
+lib/libKF6CoreAddons.so
+lib/libKF6CoreAddons.so.6
+lib/libKF6CoreAddons.so.${PKGVERSION}
+qt6/qml/org/kde/coreaddons/kcoreaddonsplugin.qmltypes
+qt6/qml/org/kde/coreaddons/kde-qmlmodule.version
+qt6/qml/org/kde/coreaddons/libkcoreaddonsplugin.so
+qt6/qml/org/kde/coreaddons/qmldir
+share/kf6/jsonschema/kpluginmetadata.schema.json
+share/kf6/licenses/ARTISTIC
+share/kf6/licenses/BSD
+share/kf6/licenses/GPL_V2
+share/kf6/licenses/GPL_V3
+share/kf6/licenses/LGPL_V2
+share/kf6/licenses/LGPL_V21
+share/kf6/licenses/LGPL_V3
+share/kf6/licenses/MIT
+share/locale/af/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ar/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/as/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ast/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/az/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/be/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/be@latin/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/bg/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/bn/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/bn_IN/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/br/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/bs/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ca/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ca@valencia/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/crh/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/cs/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/csb/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/cy/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/da/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/de/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/el/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/en/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/en_GB/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/eo/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/es/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/et/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/eu/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/fa/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/fi/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/fr/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/fy/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ga/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/gd/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/gl/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/gu/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ha/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/he/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hi/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hne/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hr/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hsb/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hu/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/hy/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ia/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/id/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ie/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/is/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/it/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ja/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ka/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/kab/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/kk/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/km/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/kn/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ko/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ku/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/lb/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/lt/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/lv/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/mai/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/mk/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ml/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/mr/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ms/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/my/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/nb/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/nds/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ne/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/nl/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/nn/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/oc/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/or/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/pa/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/pl/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ps/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/pt/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/pt_BR/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ro/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ru/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sa/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/se/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/si/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sk/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sl/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sq/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sr/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sr@ijekavian/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sr@ijekavianlatin/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sr@latin/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sv/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/sw/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ta/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/te/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/tg/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/th/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/tok/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/tr/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/tt/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/ug/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/uk/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/uz/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/uz@cyrillic/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/vi/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/wa/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/xh/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/zh_CN/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/zh_HK/LC_MESSAGES/kcoreaddons6_qt.qm
+share/locale/zh_TW/LC_MESSAGES/kcoreaddons6_qt.qm
+share/mime/packages/kde6.xml
+share/qlogging-categories6/kcoreaddons.categories
+share/qlogging-categories6/kcoreaddons.renamecategories
Index: pkgsrc/devel/kf6-kcoreaddons/buildlink3.mk
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/buildlink3.mk:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/buildlink3.mk Sun May 26 11:26:12 2024
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/05/26 11:26:12 markd Exp $
+
+BUILDLINK_TREE+= kf6-kcoreaddons
+
+.if !defined(KF6_KCOREADDONS_BUILDLINK3_MK)
+KF6_KCOREADDONS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.kf6-kcoreaddons+= kf6-kcoreaddons>=6.2.0
+BUILDLINK_PKGSRCDIR.kf6-kcoreaddons?= ../../devel/kf6-kcoreaddons
+
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.endif # KF6_KCOREADDONS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -kf6-kcoreaddons
Index: pkgsrc/devel/kf6-kcoreaddons/distinfo
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/distinfo:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/distinfo Sun May 26 11:26:13 2024
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2024/05/26 11:26:13 markd Exp $
+
+BLAKE2s (kcoreaddons-6.2.0.tar.xz) = 0f99c257e75ff87e79a074b81ea81695d634ba2efdb3ee303482f76bf8c60e55
+SHA512 (kcoreaddons-6.2.0.tar.xz) = f4134611de25c2e30f22d6d807ea16e83211a856255265fc94b9e767053475fe500f027be720283b85b8d10218443e528f249d4d95cefabb45b30177223810cc
+Size (kcoreaddons-6.2.0.tar.xz) = 2565752 bytes
+SHA1 (patch-src_lib_caching_ksdclock.cpp) = 1d52b3881e415b2ad8a165ac21e9f295e353e69c
+SHA1 (patch-src_lib_io_kautosavefile.cpp) = b50bd37139febd7e82f3087241107171161dec2a
+SHA1 (patch-src_lib_io_kfilesystemtype.cpp) = 67da0515cbcdad0d59c34a0ee922bf0af883377c
Index: pkgsrc/devel/kf6-kcoreaddons/hacks.mk
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/hacks.mk:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/hacks.mk Sun May 26 11:26:13 2024
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2024/05/26 11:26:13 markd Exp $
+#
+.include "../../mk/bsd.fast.prefs.mk"
+
+# NetBSD >= 7 has posix_fallocate() but doesnt define _POSIX_ADVISORY_INFO
+
+.if ${OPSYS} == "NetBSD" && empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-*)
+CXXFLAGS+= -DKSDC_POSIX_FALLOCATE_SUPPORTED=1
+.endif
Index: pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_caching_ksdclock.cpp
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_caching_ksdclock.cpp:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_caching_ksdclock.cpp Sun May 26 11:26:13 2024
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_lib_caching_ksdclock.cpp,v 1.1 2024/05/26 11:26:13 markd Exp $
+
+semaphoreTimedLock use must be wrapped by KSDC_TIMEOUTS_SUPPORTED
+
+--- src/lib/caching/ksdclock.cpp.orig 2024-05-03 12:24:08.000000000 +0000
++++ src/lib/caching/ksdclock.cpp
+@@ -56,9 +56,12 @@ SharedLockId findBestSharedLock()
+ {
+ sem_t tempSemaphore;
+ std::unique_ptr<KSDCLock> tempLock;
++#ifdef KSDC_TIMEOUTS_SUPPORTED
+ if (timeoutsSupported) {
+ tempLock = std::make_unique<semaphoreTimedLock>(tempSemaphore);
+- } else {
++ } else
++#endif
++ {
+ tempLock = std::make_unique<semaphoreLock>(tempSemaphore);
+ }
+
Index: pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kautosavefile.cpp Sun May 26 11:26:13 2024
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_lib_io_kautosavefile.cpp,v 1.1 2024/05/26 11:26:13 markd Exp $
+
+NAME_MAX compat.
+
+--- src/lib/io/kautosavefile.cpp.orig 2020-05-02 22:16:16.000000000 +0000
++++ src/lib/io/kautosavefile.cpp
+@@ -15,6 +15,9 @@
+ #include <stdlib.h> // for _MAX_FNAME
+ static const int maxNameLength = _MAX_FNAME;
+ #else
++#ifndef NAME_MAX
++#define NAME_MAX PATH_MAX
++#endif
+ static const int maxNameLength = NAME_MAX;
+ #endif
+
Index: pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp
diff -u /dev/null pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp:1.1
--- /dev/null Sun May 26 11:26:13 2024
+++ pkgsrc/devel/kf6-kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp Sun May 26 11:26:13 2024
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_lib_io_kfilesystemtype.cpp,v 1.1 2024/05/26 11:26:13 markd Exp $
+
+Fix #endif logic.
+
+--- src/lib/io/kfilesystemtype.cpp.orig 2024-05-03 12:24:08.000000000 +0000
++++ src/lib/io/kfilesystemtype.cpp
+@@ -222,7 +222,6 @@ KFileSystemType::Type determineFileSyste
+ return kde_typeFromName(buf.f_basetype);
+ #endif
+ }
+-#endif
+ #else
+ KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray &path)
+ {
+@@ -230,6 +229,7 @@ KFileSystemType::Type determineFileSyste
+ return KFileSystemType::Unknown;
+ }
+ #endif
++#endif
+
+ KFileSystemType::Type KFileSystemType::fileSystemType(const QString &path)
+ {
Home |
Main Index |
Thread Index |
Old Index