pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/kio
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Jun 15 13:46:48 UTC 2018
Modified Files:
pkgsrc/devel/kio: Makefile distinfo
Added Files:
pkgsrc/devel/kio/patches: patch-src_ioslaves_file_file.cpp
patch-src_ioslaves_file_file__unix.cpp
Log Message:
kio: Various patches to fix build on SunOS.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/kio/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/kio/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file.cpp \
pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file__unix.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/kio/Makefile
diff -u pkgsrc/devel/kio/Makefile:1.23 pkgsrc/devel/kio/Makefile:1.24
--- pkgsrc/devel/kio/Makefile:1.23 Sat Apr 14 07:33:54 2018
+++ pkgsrc/devel/kio/Makefile Fri Jun 15 13:46:48 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2018/04/14 07:33:54 adam Exp $
+# $NetBSD: Makefile,v 1.24 2018/06/15 13:46:48 jperkin Exp $
DISTNAME= kio-${KF5VER}
PKGREVISION= 1
@@ -14,6 +14,8 @@ USE_TOOLS+= msgmerge
CMAKE_ARGS+= -DKAUTH_DBUS_DIR=${PREFIX}/share/examples/kio
+LDFLAGS.SunOS+= -lsocket
+
SUBST_CLASSES+= xdg
SUBST_STAGE.xdg= pre-configure
SUBST_MESSAGE.xdg= Install via examples dir.
Index: pkgsrc/devel/kio/distinfo
diff -u pkgsrc/devel/kio/distinfo:1.5 pkgsrc/devel/kio/distinfo:1.6
--- pkgsrc/devel/kio/distinfo:1.5 Wed Apr 11 11:50:35 2018
+++ pkgsrc/devel/kio/distinfo Fri Jun 15 13:46:48 2018
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.5 2018/04/11 11:50:35 markd Exp $
+$NetBSD: distinfo,v 1.6 2018/06/15 13:46:48 jperkin Exp $
SHA1 (kio-5.44.0.tar.xz) = 272c7fce9fbcc895204b8eeb3e75d6261d47d5fa
RMD160 (kio-5.44.0.tar.xz) = baf8671698b24b1688510dfe3e8ed9287c946b77
SHA512 (kio-5.44.0.tar.xz) = ec50fce1b60eda5ba637abd37a14e10d853bbf35be2d1ef48ee69681ed2f5356d919e06f0156558187f0e7bc5f642790e72af6f7554a1c72ffd445d22844429b
Size (kio-5.44.0.tar.xz) = 3145388 bytes
SHA1 (patch-src_core_config-kmountpoint.h.cmake) = 7da0ea584a8c10b7b5476dd91f56a284869f056c
+SHA1 (patch-src_ioslaves_file_file.cpp) = 2c6269f8a4b7a505612ff84cb247190b5f5096e6
+SHA1 (patch-src_ioslaves_file_file__unix.cpp) = 2f5350b513364099fde558745fdd608c629c07d1
SHA1 (patch-src_ioslaves_file_sharefd_p.h) = b54cc6f5fea7fe99467b92bbea1e6120116d2f9e
Added files:
Index: pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file.cpp
diff -u /dev/null pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file.cpp:1.1
--- /dev/null Fri Jun 15 13:46:48 2018
+++ pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file.cpp Fri Jun 15 13:46:48 2018
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_ioslaves_file_file.cpp,v 1.1 2018/06/15 13:46:48 jperkin Exp $
+
+Properly comment out debug code.
+
+--- src/ioslaves/file/file.cpp.orig 2018-03-04 11:01:29.000000000 +0000
++++ src/ioslaves/file/file.cpp
+@@ -1148,7 +1148,7 @@ void FileProtocol::unmount(const QString
+
+ if (volmgt_running()) {
+ // qDebug() << "VOLMGT: looking for "
+- << _point.toLocal8Bit();
++ // << _point.toLocal8Bit();
+
+ if ((mnttab = QT_FOPEN(MNTTAB, "r")) == NULL) {
+ err = QLatin1String("could not open mnttab");
+@@ -1176,8 +1176,8 @@ void FileProtocol::unmount(const QString
+ if (devname == NULL) {
+ err = QLatin1String("not in mnttab");
+ // qDebug() << "VOLMGT: "
+- << QFile::encodeName(_point).data()
+- << ": " << err;
++ // << QFile::encodeName(_point).data()
++ // << ": " << err;
+ error(KIO::ERR_CANNOT_UNMOUNT, err);
+ return;
+ }
Index: pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file__unix.cpp
diff -u /dev/null pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file__unix.cpp:1.1
--- /dev/null Fri Jun 15 13:46:48 2018
+++ pkgsrc/devel/kio/patches/patch-src_ioslaves_file_file__unix.cpp Fri Jun 15 13:46:48 2018
@@ -0,0 +1,25 @@
+$NetBSD: patch-src_ioslaves_file_file__unix.cpp,v 1.1 2018/06/15 13:46:48 jperkin Exp $
+
+Fix HAVE_DIRENT_D_TYPE define.
+
+--- src/ioslaves/file/file_unix.cpp.orig 2018-03-04 11:01:29.000000000 +0000
++++ src/ioslaves/file/file_unix.cpp
+@@ -463,9 +463,7 @@ void FileProtocol::listDir(const QUrl &u
+ //qDebug() << "========= LIST " << url << "details=" << details << " =========";
+ UDSEntry entry;
+
+-#ifndef HAVE_DIRENT_D_TYPE
+ QT_STATBUF st;
+-#endif
+ QT_DIRENT *ep;
+ while ((ep = QT_READDIR(dp)) != nullptr) {
+ entry.clear();
+@@ -484,7 +482,7 @@ void FileProtocol::listDir(const QUrl &u
+ */
+ if (details == 0) {
+ entry.insert(KIO::UDSEntry::UDS_NAME, filename);
+-#ifdef HAVE_DIRENT_D_TYPE
++#if HAVE_DIRENT_D_TYPE
+ entry.insert(KIO::UDSEntry::UDS_FILE_TYPE,
+ (ep->d_type == DT_DIR) ? S_IFDIR : S_IFREG);
+ const bool isSymLink = (ep->d_type == DT_LNK);
Home |
Main Index |
Thread Index |
Old Index