summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2013-12-18 23:02:21 +0400
committerIgor Pashev <pashev.igor@gmail.com>2013-12-18 23:02:21 +0400
commiteb931b54971669c508ca9a6eb788344a5a2a03fb (patch)
tree6b9e8afc42dd4500f4914590f12e594f75ac7286
parent589799a9602dd84d04d16e5b1d4c5d8740b9bdac (diff)
downloadkde4libs-eb931b54971669c508ca9a6eb788344a5a2a03fb.tar.gz
Added dyson-cflags.patch
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/dyson-cflags.patch15
-rw-r--r--debian/patches/series1
3 files changed, 17 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 3c3e2f7..2120e64 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ kde4libs (4:4.11.3-2+dyson1) UNRELEASED; urgency=low
* Package for Dyson
* Added dyson-madvise.patch
+ * Added dyson-cflags.patch
-- Igor Pashev <pashev.igor@gmail.com> Wed, 18 Dec 2013 22:54:10 +0400
diff --git a/debian/patches/dyson-cflags.patch b/debian/patches/dyson-cflags.patch
new file mode 100644
index 0000000..127e2fb
--- /dev/null
+++ b/debian/patches/dyson-cflags.patch
@@ -0,0 +1,15 @@
+Index: kde4libs/CMakeLists.txt
+===================================================================
+--- kde4libs.orig/CMakeLists.txt 2013-11-01 22:31:31.858525643 +0400
++++ kde4libs/CMakeLists.txt 2013-12-18 23:01:46.447698291 +0400
+@@ -169,6 +169,10 @@
+
+ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
+
++if (CMAKE_SYSTEM_NAME MATCHES SunOS)
++ add_definitions(-D__EXTENSIONS__ -D_XOPEN_SOURCE=600)
++endif()
++
+ ################# setup the include directories #################
+
+ # for including config.h and for includes like <kparts/foo.h>
diff --git a/debian/patches/series b/debian/patches/series
index 34131b0..b710354 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -24,3 +24,4 @@ kfreebsd_getmntent.diff
kfreebsd_acl.diff
cmake_compatibility.diff
dyson-madvise.patch
+dyson-cflags.patch