]> git.pld-linux.org Git - packages/kde4-kdevplatform.git/commitdiff
- added patch to workaround problems with moc and boost auto/th/kde4-kdevplatform-1.7.1-2
authorBartek Szady <bszx@pld-linux.org>
Sat, 18 Apr 2015 12:36:48 +0000 (14:36 +0200)
committerBartek Szady <bszx@pld-linux.org>
Sat, 18 Apr 2015 12:36:48 +0000 (14:36 +0200)
kde4-kdevplatform-boost.patch [new file with mode: 0644]
kde4-kdevplatform.spec

diff --git a/kde4-kdevplatform-boost.patch b/kde4-kdevplatform-boost.patch
new file mode 100644 (file)
index 0000000..bdbf008
--- /dev/null
@@ -0,0 +1,15 @@
+--- kdevplatform-1.7.1/plugins/classbrowser/documentclassesfolder.h.orig       2015-02-02 15:14:28.000000000 +0100
++++ kdevplatform-1.7.1/plugins/classbrowser/documentclassesfolder.h    2015-04-18 13:41:36.594022899 +0200
+@@ -23,9 +23,12 @@
+ #define KDEVPLATFORM_PLUGIN_DOCUMENTCLASSESFOLDER_H
+ #include "classmodelnode.h"
++
++#ifndef Q_MOC_RUN
+ #include <boost/multi_index_container.hpp>
+ #include <boost/multi_index/member.hpp>
+ #include <boost/multi_index/ordered_index.hpp>
++#endif
+ namespace ClassModelNodes
+ {
index 71803d81188902006af66e17c346886cd530ca7c..8161d6f86dc8a540b1f0b64219eae98ee082b3af 100644 (file)
@@ -12,11 +12,12 @@ Summary:    KDevelop Development Platform
 Summary(pl.UTF-8):     KDevelop Development Platform
 Name:          kde4-kdevplatform
 Version:       1.7.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11/Development/Tools
 Source0:       ftp://ftp.kde.org/pub/kde/%{_state}/kdevelop/%{_kdevelopver}/src/%{orgname}-%{version}.tar.xz
 # Source0-md5: f6c123d65ae8d5c50944d548c8bc812f
+Patch0:                %{name}-boost.patch
 URL:           http://www.kdevelop.org/
 BuildRequires: QtNetwork-devel >= %{qtver}
 BuildRequires: automoc4
@@ -66,6 +67,8 @@ pisaniu własnych programów wykorzystujących kdevplatform.
 %prep
 %setup -q -n %{orgname}-%{version}
 
+%patch0 -p1
+
 %build
 install -d build
 cd build
This page took 0.0733 seconds and 4 git commands to generate.