summaryrefslogtreecommitdiff
path: root/user/kio
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-04 13:51:37 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-04 13:51:37 -0600
commitb85a33c31d1621c8ae5dfa50e588c13b2f2485d7 (patch)
tree5eb15c89f788392a8e5f3ca60855d476ca3a0f2c /user/kio
parent4884257ef3686f069836eda5a0093f3388b7de7f (diff)
downloadpackages-b85a33c31d1621c8ae5dfa50e588c13b2f2485d7.tar.gz
packages-b85a33c31d1621c8ae5dfa50e588c13b2f2485d7.tar.bz2
packages-b85a33c31d1621c8ae5dfa50e588c13b2f2485d7.tar.xz
packages-b85a33c31d1621c8ae5dfa50e588c13b2f2485d7.zip
user/[KF5]: bump to 5.43.0
Diffstat (limited to 'user/kio')
-rw-r--r--user/kio/APKBUILD8
-rw-r--r--user/kio/D11011-msghdr-iovec-struct.patch23
2 files changed, 28 insertions, 3 deletions
diff --git a/user/kio/APKBUILD b/user/kio/APKBUILD
index da831e364..56bfab7fa 100644
--- a/user/kio/APKBUILD
+++ b/user/kio/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kio
-pkgver=5.41.0
+pkgver=5.43.0
pkgrel=0
pkgdesc="Framework for data and file management"
url="https://www.kde.org/"
@@ -16,7 +16,8 @@ makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev gettext-dev
python3 qt5-qttools-dev doxygen graphviz"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="http://download.kde.org/stable/frameworks/${pkgver%.*}/kio-$pkgver.tar.xz"
+source="http://download.kde.org/stable/frameworks/${pkgver%.*}/kio-$pkgver.tar.xz
+ D11011-msghdr-iovec-struct.patch"
builddir="$srcdir/kio-$pkgver"
build() {
@@ -46,4 +47,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="8f7072bf6268bf07c0c1266cdbee58aacdf43721d193aaa7574c683a4339de3d9701977c8bdd604f301d11393b8d2031e0b90e9ccc42a2c5e62050f41bc04216 kio-5.41.0.tar.xz"
+sha512sums="23885d851dade24bb08ba1de2eda65db3ab13c8f378a42281f8a50230c9e836b5255643c89fbfca3dedc1e41ee259e67aaed2933cdf739ee4fb1c7eb650b95f6 kio-5.43.0.tar.xz
+c08360de86780f63703d70f607d90410043c8a8711eab7315e2ac66e2e656fec9f9a6f5d04c031f739a0187c0d34aa35b5942f59f47efb60ad95584f95087979 D11011-msghdr-iovec-struct.patch"
diff --git a/user/kio/D11011-msghdr-iovec-struct.patch b/user/kio/D11011-msghdr-iovec-struct.patch
new file mode 100644
index 000000000..641bb8629
--- /dev/null
+++ b/user/kio/D11011-msghdr-iovec-struct.patch
@@ -0,0 +1,23 @@
+diff --git a/src/ioslaves/file/sharefd_p.h b/src/ioslaves/file/sharefd_p.h
+--- a/src/ioslaves/file/sharefd_p.h
++++ b/src/ioslaves/file/sharefd_p.h
+@@ -74,9 +74,16 @@
+ FDMessageHeader()
+ : io_buf{0}
+ , cmsg_buf{0}
+- , io{io_buf, sizeof io_buf}
+- , msg{nullptr, 0, &io, 1, &cmsg_buf, sizeof cmsg_buf, 0}
+ {
++ memset(&io, 0, sizeof io);
++ io.iov_base = io_buf;
++ io.iov_len = sizeof io_buf;
++
++ memset(&msg, 0, sizeof msg);
++ msg.msg_iov = &io;
++ msg.msg_iovlen = 1;
++ msg.msg_control = &cmsg_buf;
++ msg.msg_controllen = sizeof cmsg_buf;
+ }
+
+ msghdr *message()
+