diff --git a/kdevelop-4.3.0-big_endian.patch b/kdevelop-4.3.0-big_endian.patch new file mode 100644 index 0000000..fc74ea2 --- /dev/null +++ b/kdevelop-4.3.0-big_endian.patch @@ -0,0 +1,14 @@ +diff -up kdevelop-4.3.0/utils/okteta/oktetaplugin.cpp.me kdevelop-4.3.0/utils/okteta/oktetaplugin.cpp +--- kdevelop-4.3.0/utils/okteta/oktetaplugin.cpp.me 2012-04-04 15:09:26.010283053 +0200 ++++ kdevelop-4.3.0/utils/okteta/oktetaplugin.cpp 2012-04-04 16:35:25.280291124 +0200 +@@ -94,7 +94,10 @@ OktetaPlugin::OktetaPlugin( QObject* par + addTool( uiController, new Kasten::ByteTableToolViewFactory(), new Kasten::ByteTableToolFactory() ); + addTool( uiController, new Kasten::InfoToolViewFactory(), new Kasten::InfoToolFactory() ); + addTool( uiController, new Kasten::PodDecoderToolViewFactory(), new Kasten::PodDecoderToolFactory() ); ++// disable Okteta Structures tool on big-endian as it's disable in kdesdk ++#ifndef BIG_ENDIAN + addTool( uiController, new Kasten::StructuresToolViewFactory(), new Kasten::StructuresToolFactory() ); ++#endif + addTool( uiController, new Kasten::BookmarksToolViewFactory, new Kasten::BookmarksToolFactory() ); + + KDevelop::IDocumentController* documentController = core()->documentController(); diff --git a/kdevelop.spec b/kdevelop.spec index 4aa8620..1483917 100644 --- a/kdevelop.spec +++ b/kdevelop.spec @@ -5,7 +5,7 @@ Name: kdevelop Summary: Integrated Development Environment for C++/C Epoch: 9 Version: 4.3.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 URL: http://www.kdevelop.org/ @@ -16,6 +16,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # remove set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) line Patch0: kdevelop-4.3.0-no-rpath.patch +# upstreamable patches +Patch100: kdevelop-4.3.0-big_endian.patch + BuildRequires: boost-devel BuildRequires: desktop-file-utils BuildRequires: gettext @@ -79,7 +82,7 @@ Requires: kdevplatform%{?_isa} >= %{kdevplatform_ver} %prep %setup -q -n kdevelop-%{version} %patch0 -p1 -b .no-rpath - +%patch100 -p1 -b .bigendian %build mkdir -p %{_target_platform} @@ -150,6 +153,9 @@ update-mime-database %{_kde4_datadir}/mime &> /dev/null %changelog +* Wed Apr 04 2012 Than Ngo - 9:4.3.0-2 +- fix build failure on plattform wirh bigendian + * Mon Mar 12 2012 Jaroslav Reznik 9:4.3.0-1 - Update to 4.3.0