summaryrefslogtreecommitdiff
path: root/user/kio
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 01:17:49 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-25 01:17:49 -0500
commitb8ea891819ffacf98d205e927129ef86f1cd5796 (patch)
tree4da15157a97f0b209c731b5488885de45aaab241 /user/kio
parent777afed86d510d6b4dd425db3c62ca4dae07f122 (diff)
downloadpackages-b8ea891819ffacf98d205e927129ef86f1cd5796.tar.gz
packages-b8ea891819ffacf98d205e927129ef86f1cd5796.tar.bz2
packages-b8ea891819ffacf98d205e927129ef86f1cd5796.tar.xz
packages-b8ea891819ffacf98d205e927129ef86f1cd5796.zip
user/kio: fix build on PowerPC
Diffstat (limited to 'user/kio')
-rw-r--r--user/kio/APKBUILD6
-rw-r--r--user/kio/strcpy-ppc.patch10
2 files changed, 14 insertions, 2 deletions
diff --git a/user/kio/APKBUILD b/user/kio/APKBUILD
index 56bfab7fa..7dc6c4293 100644
--- a/user/kio/APKBUILD
+++ b/user/kio/APKBUILD
@@ -17,7 +17,8 @@ makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev gettext-dev
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://download.kde.org/stable/frameworks/${pkgver%.*}/kio-$pkgver.tar.xz
- D11011-msghdr-iovec-struct.patch"
+ D11011-msghdr-iovec-struct.patch
+ strcpy-ppc.patch"
builddir="$srcdir/kio-$pkgver"
build() {
@@ -48,4 +49,5 @@ package() {
}
sha512sums="23885d851dade24bb08ba1de2eda65db3ab13c8f378a42281f8a50230c9e836b5255643c89fbfca3dedc1e41ee259e67aaed2933cdf739ee4fb1c7eb650b95f6 kio-5.43.0.tar.xz
-c08360de86780f63703d70f607d90410043c8a8711eab7315e2ac66e2e656fec9f9a6f5d04c031f739a0187c0d34aa35b5942f59f47efb60ad95584f95087979 D11011-msghdr-iovec-struct.patch"
+c08360de86780f63703d70f607d90410043c8a8711eab7315e2ac66e2e656fec9f9a6f5d04c031f739a0187c0d34aa35b5942f59f47efb60ad95584f95087979 D11011-msghdr-iovec-struct.patch
+280b2a610613786e688c06f4d4b51d3b9d583472bf1941b7b5873fece31b5df0b2f8f08f8de677ebb39fc906c57a2fa50d7890105c0aeb930b82986e0b504623 strcpy-ppc.patch"
diff --git a/user/kio/strcpy-ppc.patch b/user/kio/strcpy-ppc.patch
new file mode 100644
index 000000000..95f2deb9c
--- /dev/null
+++ b/user/kio/strcpy-ppc.patch
@@ -0,0 +1,10 @@
+--- kio-5.43.0/src/ioslaves/file/sharefd_p.h.old 2018-03-09 01:13:49.473808589 -0600
++++ kio-5.43.0/src/ioslaves/file/sharefd_p.h 2018-03-09 01:35:33.903523248 -0600
+@@ -21,6 +21,7 @@
+ #include <sys/un.h>
+ #include <iostream>
+ #include <unistd.h>
++#include <cstring>
+ #include <sys/socket.h>
+
+ // fix SOCK_NONBLOCK for e.g. macOS