pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/kcoreaddons kcoreaddons: SunOS (and probably oth...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fee3ab511357
branches:  trunk
changeset: 378072:fee3ab511357
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Apr 28 13:59:09 2022 +0000

description:
kcoreaddons: SunOS (and probably others) fixes.

diffstat:

 devel/kcoreaddons/Makefile                                     |   5 +-
 devel/kcoreaddons/distinfo                                     |   3 +-
 devel/kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp |  21 ++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

diffs (57 lines):

diff -r 2d485c36ab9f -r fee3ab511357 devel/kcoreaddons/Makefile
--- a/devel/kcoreaddons/Makefile        Thu Apr 28 13:19:35 2022 +0000
+++ b/devel/kcoreaddons/Makefile        Thu Apr 28 13:59:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2022/04/25 03:47:48 markd Exp $
+# $NetBSD: Makefile,v 1.56 2022/04/28 13:59:09 jperkin Exp $
 
 DISTNAME=      kcoreaddons-${KF5VER}
 CATEGORIES=    devel
@@ -9,6 +9,9 @@
 
 .include "../../meta-pkgs/kde/kf5.mk"
 
+CMAKE_ARGS.SunOS+=     -DENABLE_INOTIFY=OFF
+LDFLAGS.SunOS+=                -lsocket
+
 .if ${OPSYS} != "SunOS"
 .include "../../devel/libinotify/buildlink3.mk"
 .endif
diff -r 2d485c36ab9f -r fee3ab511357 devel/kcoreaddons/distinfo
--- a/devel/kcoreaddons/distinfo        Thu Apr 28 13:19:35 2022 +0000
+++ b/devel/kcoreaddons/distinfo        Thu Apr 28 13:59:09 2022 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.15 2022/04/25 03:47:48 markd Exp $
+$NetBSD: distinfo,v 1.16 2022/04/28 13:59:09 jperkin Exp $
 
 BLAKE2s (kcoreaddons-5.93.0.tar.xz) = b1a98030faf9a9979e35edddea3620ba15cba9e3973af6be2e13391f70f959a2
 SHA512 (kcoreaddons-5.93.0.tar.xz) = 37aafb84a53cf347d8ae18d98e59e3cfe8500782f3b3d24355f55d711db32c527b7d3be0e30f1c7a44f64235dd429833352b210e88819419834ecd1e2b3ad17f
 Size (kcoreaddons-5.93.0.tar.xz) = 455372 bytes
 SHA1 (patch-src_lib_caching_kshareddatacache_p.h) = a3dff380dd98bbef3f9bbfe32f1e852b985b6306
 SHA1 (patch-src_lib_io_kautosavefile.cpp) = b50bd37139febd7e82f3087241107171161dec2a
+SHA1 (patch-src_lib_io_kfilesystemtype.cpp) = b35871c35e9295c6399b2ea69d584ba89845a16f
diff -r 2d485c36ab9f -r fee3ab511357 devel/kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/kcoreaddons/patches/patch-src_lib_io_kfilesystemtype.cpp    Thu Apr 28 13:59:09 2022 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_lib_io_kfilesystemtype.cpp,v 1.1 2022/04/28 13:59:09 jperkin Exp $
+
+Fix #endif logic.
+
+--- src/lib/io/kfilesystemtype.cpp.orig        2022-04-02 10:17:11.000000000 +0000
++++ src/lib/io/kfilesystemtype.cpp
+@@ -160,13 +160,13 @@ KFileSystemType::Type determineFileSyste
+     return kde_typeFromName(buf.f_basetype);
+ #endif
+ }
+-#endif
+ #else
+ KFileSystemType::Type determineFileSystemTypeImpl(const QByteArray &path)
+ {
+     return KFileSystemType::Unknown;
+ }
+ #endif
++#endif
+ 
+ KFileSystemType::Type KFileSystemType::fileSystemType(const QString &path)
+ {



Home | Main Index | Thread Index | Old Index