Subject: [alpine-devel] [PATCH] testing/kdelibs: Added scrnsaverproto to dependencie and using <sys/stat.h> instead of <sys/types.h>

From: k0r10n <[email-masked]>
Date: Tue, 21 Oct 2014 07:45:12 +0400

---
 testing/kdelibs/APKBUILD                  | 11 ++++++-----
 testing/kdelibs/fix-headers-kdelibs.patch | 14 +++++---------
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/testing/kdelibs/APKBUILD b/testing/kdelibs/APKBUILD
index eb15dd8..515350a 100644
--- a/testing/kdelibs/APKBUILD
+++ b/testing/kdelibs/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer:
 pkgname=kdelibs
 pkgver=4.13.3
-pkgrel=3
+pkgrel=1
 pkgdesc="KDE base libraries"
 url="http://www.kde.org/"
 arch="all"
@@ -14,7 +14,8 @@ depends_dev="phonon-dev polkit-qt-dev acl-dev attica-dev
 	     giflib-dev jpeg-dev grantlee-dev qca-dev
 	     udev-dev xz-dev jasper-dev enchant-dev 
 	     libxslt-dev openssl-dev bison flex-dev 
-	     openexr-dev krb5-dev avahi-dev libxss-dev"
+	     openexr-dev krb5-dev avahi-dev libxss-dev
+	     scrnsaverproto"
 makedepends="$depends_dev cmake automoc4 paxctl"
 install=""
 options="suid"
@@ -77,10 +78,10 @@ dev() {
 
 md5sums="f58d9277127aad95b3032e2546f3006d  kdelibs-4.13.3.tar.xz
 36ba28baf498d17f2145680dbc6fcf49  fix-cmake-FindLibintl-4.13.3.patch
-44eaf8850f7d295f039c016cfde608ac  fix-headers-kdelibs.patch"
+5ca4cb4c347099c5cc1523981556fb7f  fix-headers-kdelibs.patch"
 sha256sums="d291b4bc159a3f686ad93ff3dfbe90a0a7e33600357e8390c84154ec050efc82  kdelibs-4.13.3.tar.xz
 e880d71f7fdb7cb4cba4f534d4290ab6c0f0dfd956a96eeda3813b73af52a2ad  fix-cmake-FindLibintl-4.13.3.patch
-70fb497b23894800676cee000545c6ae2840b87379cd5afda11beedfceeefff8  fix-headers-kdelibs.patch"
+1ae5f298acaf25231b4c1e21bf481f711fd654701b9d7bca37734f510a06ce12  fix-headers-kdelibs.patch"
 sha512sums="9bc6f154cbf1b6e8b46ee255ce099d9ba9e530dd478d4a1bf2d24f8f9a063221da3a938f9520ad9149c6b82c4135dc72ab652c410bd82ad4b7100e16fff7a661  kdelibs-4.13.3.tar.xz
 7491f758d02318ba4fec6465b4076944d65b7f84f23a5982a7dccce02dcc920e0e9354e80b605bc9a2c112901eb040765d0d594f3056f0e86a50a827b285c76b  fix-cmake-FindLibintl-4.13.3.patch
-d9cec3f34601ead92739f2b5005e62d56e35f48d1cf11397790b215f5f0e7e39705aa0f77c8a72a9eb50fa543a2c1de4667d530f18bd46e5b7c123587fe03a27  fix-headers-kdelibs.patch"
+a266f3a97cfa3bddfdcbea52df8192a801878981946942044cf76b547b160327163a9cca7f0a2cbfdeb3a4387b6dfc23b6fe58612812fc5f671262329718af71  fix-headers-kdelibs.patch"
diff --git a/testing/kdelibs/fix-headers-kdelibs.patch b/testing/kdelibs/fix-headers-kdelibs.patch
index 91b7a5f..11ea5ff 100644
--- a/testing/kdelibs/fix-headers-kdelibs.patch
+++ b/testing/kdelibs/fix-headers-kdelibs.patch
@@ -4,19 +4,15 @@
  #ifndef UDISKS2BLOCK_H
  #define UDISKS2BLOCK_H
  
-+#include <sys/types.h>
++#include <sys/stat.h>
  #include <solid/ifaces/block.h>
  #include "udisksdeviceinterface.h"
- 
+
 --- a/kdecore/io/kdirwatch_p.h
 +++ b/kdecore/io/kdirwatch_p.h
-@@ -64,7 +64,8 @@
- #endif
+@@ -65,6 +65,7 @@
  
  #include <sys/time.h>
--#include <sys/param.h> // ino_t
-+#include <sys/param.h> // ino_t , but not there !!
-+#include <sys/types.h> // maybe, here ?
+ #include <sys/param.h> // ino_t
++#include <sys/stat.h>
  #include <ctime>
- 
- 
-- 
2.0.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---