summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-12-18 22:55:00 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-12-18 22:55:00 +0400
commit589799a9602dd84d04d16e5b1d4c5d8740b9bdac (patch)
treee8bbd77af28900994975cabf9e774ff0572bab8a
parentfae40b3d98517ef8c168af8d392d3204aa40c344 (diff)
downloadkde4libs-589799a9602dd84d04d16e5b1d4c5d8740b9bdac.tar.gz
Added dyson-madvise.patch
-rw-r--r--debian/changelog7
-rw-r--r--debian/patches/dyson-madvise.patch17
-rw-r--r--debian/patches/series1
3 files changed, 25 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index bbbe2f2..3c3e2f7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+kde4libs (4:4.11.3-2+dyson1) UNRELEASED; urgency=low
+
+ * Package for Dyson
+ * Added dyson-madvise.patch
+
+ -- Igor Pashev <pashev.igor@gmail.com> Wed, 18 Dec 2013 22:54:10 +0400
+
kde4libs (4:4.11.3-2) unstable; urgency=low
* New patch kfreebsd_acl.diff, to fix build in kfreebsd-*.
diff --git a/debian/patches/dyson-madvise.patch b/debian/patches/dyson-madvise.patch
new file mode 100644
index 0000000..64f86ad
--- /dev/null
+++ b/debian/patches/dyson-madvise.patch
@@ -0,0 +1,17 @@
+Index: kde4libs/kdeui/util/kpixmapcache.cpp
+===================================================================
+--- kde4libs.orig/kdeui/util/kpixmapcache.cpp 2013-12-18 22:53:09.197732857 +0400
++++ kde4libs/kdeui/util/kpixmapcache.cpp 2013-12-18 22:54:02.891944116 +0400
+@@ -58,12 +58,6 @@
+
+ //#define DISABLE_PIXMAPCACHE
+
+-#ifdef Q_OS_SOLARIS
+-#ifndef _XPG_4_2
+-extern "C" int madvise(caddr_t addr, size_t len, int advice);
+-#endif
+-#endif
+-
+ #define KPIXMAPCACHE_VERSION 0x000208
+
+ namespace {
diff --git a/debian/patches/series b/debian/patches/series
index 8c062c2..34131b0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -23,3 +23,4 @@ glibc_filesystem.diff
kfreebsd_getmntent.diff
kfreebsd_acl.diff
cmake_compatibility.diff
+dyson-madvise.patch