diff --git a/astyle-3.1.patch b/astyle-3.1.patch
new file mode 100644
index 0000000..86fc26f
--- /dev/null
+++ b/astyle-3.1.patch
@@ -0,0 +1,367 @@
+diff --git a/src/plugins/astyle/asstreamiterator.cpp b/src/plugins/astyle/asstreamiterator.cpp
+index a2d75f2c9..cc6244109 100644
+--- a/src/plugins/astyle/asstreamiterator.cpp
++++ b/src/plugins/astyle/asstreamiterator.cpp
+@@ -53,8 +53,10 @@ std::string ASStreamIterator::nextLine(cb_unused bool emptyLineWasDeleted)
+
+ std::string ASStreamIterator::peekNextLine()
+ {
+- if (!m_SavedCharPtr)
++ if (!m_SavedCharPtr){
+ m_SavedCharPtr = m_CharPtr;
++ m_SavedCurChar = m_CurChar;
++ }
+
+ return readLine();
+ }
+@@ -62,6 +64,7 @@ std::string ASStreamIterator::peekNextLine()
+ void ASStreamIterator::peekReset()
+ {
+ m_CharPtr = m_SavedCharPtr;
++ m_CurChar = m_SavedCurChar;
+ m_SavedCharPtr = 0;
+ }
+
+diff --git a/src/plugins/astyle/asstreamiterator.h b/src/plugins/astyle/asstreamiterator.h
+index 105ca9956..d1a6c8fcd 100644
+--- a/src/plugins/astyle/asstreamiterator.h
++++ b/src/plugins/astyle/asstreamiterator.h
+@@ -22,6 +22,7 @@ class ASStreamIterator : public astyle::ASSourceIterator
+
+ bool hasMoreLines() const;
+ int getStreamLength() const;
++ std::streamoff getPeekStart() const { return 0; }
+ std::string nextLine(bool emptyLineWasDeleted = false);
+ std::string peekNextLine();
+ void peekReset();
+@@ -39,6 +40,7 @@ class ASStreamIterator : public astyle::ASSourceIterator
+ const wxChar* m_CharPtr;
+ const wxChar* m_SavedCharPtr;
+ int m_CurChar;
++ int m_SavedCurChar;
+ int m_CurLine;
+ bool m_FoundBookmark;
+ bool m_FoundBreakpoint;
+diff --git a/src/plugins/astyle/astyleconfigdlg.cpp b/src/plugins/astyle/astyleconfigdlg.cpp
+index a6372b6fe..7464b74f8 100644
+--- a/src/plugins/astyle/astyleconfigdlg.cpp
++++ b/src/plugins/astyle/astyleconfigdlg.cpp
+@@ -34,12 +34,13 @@ BEGIN_EVENT_TABLE(AstyleConfigDlg, wxPanel)
+ EVT_RADIOBUTTON(XRCID("rbStroustrup"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbWhitesmith"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbVTK"), AstyleConfigDlg::OnStyleChange)
+- EVT_RADIOBUTTON(XRCID("rbBanner"), AstyleConfigDlg::OnStyleChange)
++ EVT_RADIOBUTTON(XRCID("rbRatliff"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbGNU"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbLinux"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbHorstmann"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rb1TBS"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbGoogle"), AstyleConfigDlg::OnStyleChange)
++ EVT_RADIOBUTTON(XRCID("rbMozilla"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbPico"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbLisp"), AstyleConfigDlg::OnStyleChange)
+ EVT_RADIOBUTTON(XRCID("rbCustom"), AstyleConfigDlg::OnStyleChange)
+@@ -158,7 +159,7 @@ int Foo(bool isBar)\n\
+ XRCCTRL(*this, "rbVTK", wxRadioButton)->SetValue(true);
+ break;
+ #undef AS_VTK
+-#define AS_BANNER "\
++#define AS_RATLIFF "\
+ int Foo(bool isBar) {\n\
+ if (isBar) {\n\
+ bar();\n\
+@@ -167,11 +168,11 @@ int Foo(bool isBar) {\n\
+ else\n\
+ return 0;\n\
+ }"
+- case aspsBanner:
+- sample = _T(AS_BANNER);
+- XRCCTRL(*this, "rbBanner", wxRadioButton)->SetValue(true);
++ case aspsRatliff:
++ sample = _T(AS_RATLIFF);
++ XRCCTRL(*this, "rbRatliff", wxRadioButton)->SetValue(true);
+ break;
+-#undef AS_BANNER
++#undef AS_RATLIFF
+ #define AS_GNU "\
+ int Foo(bool isBar)\n\
+ {\n\
+@@ -307,8 +308,8 @@ void AstyleConfigDlg::OnStyleChange(wxCommandEvent& event)
+ SetStyle(aspsWhitesmith);
+ else if (event.GetId() == XRCID("rbVTK"))
+ SetStyle(aspsVTK);
+- else if (event.GetId() == XRCID("rbBanner"))
+- SetStyle(aspsBanner);
++ else if (event.GetId() == XRCID("rbRatliff"))
++ SetStyle(aspsRatliff);
+ else if (event.GetId() == XRCID("rbGNU"))
+ SetStyle(aspsGnu);
+ else if (event.GetId() == XRCID("rbLinux"))
+@@ -376,6 +377,7 @@ void AstyleConfigDlg::LoadSettings()
+ XRCCTRL(*this, "chkAttachExternC", wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_extern_c"), false));
+ XRCCTRL(*this, "chkAttachNamespaces", wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_namespaces"), false));
+ XRCCTRL(*this, "chkAttachInlines", wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_inlines"), false));
++ XRCCTRL(*this, "chkAttachClosingWhiles", wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_closing_whiles"), false));
+
+ XRCCTRL(*this, "spnIndentation", wxSpinCtrl)->SetValue(cfg->ReadInt(_T("/indentation"), 4));
+ XRCCTRL(*this, "spnContinuation", wxSpinCtrl)->SetValue(cfg->ReadInt(_T("/continuation"), 0));
+@@ -386,6 +388,7 @@ void AstyleConfigDlg::LoadSettings()
+ XRCCTRL(*this, "chkIndentLabels", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_labels"), false));
+ XRCCTRL(*this, "chkIndentModifiers", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_modifiers"), false));
+ XRCCTRL(*this, "chkIndentNamespaces", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_namespaces"), false));
++ XRCCTRL(*this, "chkIndentAfterParens", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_after_parens"), false));
+ XRCCTRL(*this, "chkIndentSwitches", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_switches"), false));
+ XRCCTRL(*this, "chkIndentPreprocBlock", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_preproc_block"), false));
+ XRCCTRL(*this, "chkIndentPreprocDefine", wxCheckBox)->SetValue(cfg->ReadBool(_T("/indent_preproc_define"), false));
+@@ -399,6 +402,10 @@ void AstyleConfigDlg::LoadSettings()
+ XRCCTRL(*this, "chkAddBrackets", wxCheckBox)->SetValue(cfg->ReadBool(_T("/add_brackets"), false));
+ XRCCTRL(*this, "chkAddOneLineBrackets", wxCheckBox)->SetValue(cfg->ReadBool(_T("/add_one_line_brackets"), false));
+ XRCCTRL(*this, "chkRemoveBrackets", wxCheckBox)->SetValue(cfg->ReadBool(_T("/remove_brackets"), false));
++ XRCCTRL(*this, "chkBreakReturnType", wxCheckBox)->SetValue(cfg->ReadBool(_T("/break_return_type"), false));
++ XRCCTRL(*this, "chkBreakReturnTypeDecl", wxCheckBox)->SetValue(cfg->ReadBool(_T("/break_return_type_decl"),false));
++ XRCCTRL(*this, "chkAttachReturnType", wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_return_type"), false));
++ XRCCTRL(*this, "chkAttachReturnTypeDecl",wxCheckBox)->SetValue(cfg->ReadBool(_T("/attach_return_type_decl"),false));
+ XRCCTRL(*this, "chkKeepBlocks", wxCheckBox)->SetValue(cfg->ReadBool(_T("/keep_blocks"), false));
+ XRCCTRL(*this, "chkKeepHeaders", wxCheckBox)->SetValue(cfg->ReadBool(_T("/keep_headers"), false));
+ XRCCTRL(*this, "chkKeepStatements", wxCheckBox)->SetValue(cfg->ReadBool(_T("/keep_statements"), false));
+@@ -455,8 +462,8 @@ void AstyleConfigDlg::SaveSettings()
+ style = aspsWhitesmith;
+ else if (XRCCTRL(*this, "rbVTK", wxRadioButton)->GetValue())
+ style = aspsVTK;
+- else if (XRCCTRL(*this, "rbBanner", wxRadioButton)->GetValue())
+- style = aspsBanner;
++ else if (XRCCTRL(*this, "rbRatliff", wxRadioButton)->GetValue())
++ style = aspsRatliff;
+ else if (XRCCTRL(*this, "rbGNU", wxRadioButton)->GetValue())
+ style = aspsGnu;
+ else if (XRCCTRL(*this, "rbLinux", wxRadioButton)->GetValue())
+@@ -467,6 +474,8 @@ void AstyleConfigDlg::SaveSettings()
+ style = asps1TBS;
+ else if (XRCCTRL(*this, "rbGoogle", wxRadioButton)->GetValue())
+ style = aspsGoogle;
++ else if (XRCCTRL(*this, "rbMozilla", wxRadioButton)->GetValue())
++ style = aspsMozilla;
+ else if (XRCCTRL(*this, "rbPico", wxRadioButton)->GetValue())
+ style = aspsPico;
+ else if (XRCCTRL(*this, "rbLisp", wxRadioButton)->GetValue())
+@@ -480,6 +489,7 @@ void AstyleConfigDlg::SaveSettings()
+ cfg->Write(_T("/attach_extern_c"), XRCCTRL(*this, "chkAttachExternC", wxCheckBox)->GetValue());
+ cfg->Write(_T("/attach_namespaces"), XRCCTRL(*this, "chkAttachNamespaces", wxCheckBox)->GetValue());
+ cfg->Write(_T("/attach_inlines"), XRCCTRL(*this, "chkAttachInlines", wxCheckBox)->GetValue());
++ cfg->Write(_T("/attach_closing_whiles"), XRCCTRL(*this, "chkAttachClosingWhiles", wxCheckBox)->GetValue());
+
+ cfg->Write(_T("/indentation"), XRCCTRL(*this, "spnIndentation", wxSpinCtrl)->GetValue());
+ cfg->Write(_T("/continuation"), XRCCTRL(*this, "spnContinuation", wxSpinCtrl)->GetValue());
+@@ -490,6 +500,7 @@ void AstyleConfigDlg::SaveSettings()
+ cfg->Write(_T("/indent_labels"), XRCCTRL(*this, "chkIndentLabels", wxCheckBox)->GetValue());
+ cfg->Write(_T("/indent_modifiers"), XRCCTRL(*this, "chkIndentModifiers", wxCheckBox)->GetValue());
+ cfg->Write(_T("/indent_namespaces"), XRCCTRL(*this, "chkIndentNamespaces", wxCheckBox)->GetValue());
++ cfg->Write(_T("/indent_after_parens"), XRCCTRL(*this, "chkIndentAfterParens", wxCheckBox)->GetValue());
+ cfg->Write(_T("/indent_switches"), XRCCTRL(*this, "chkIndentSwitches", wxCheckBox)->GetValue());
+ cfg->Write(_T("/indent_preproc_block"), XRCCTRL(*this, "chkIndentPreprocBlock", wxCheckBox)->GetValue());
+ cfg->Write(_T("/indent_preproc_define"), XRCCTRL(*this, "chkIndentPreprocDefine", wxCheckBox)->GetValue());
+@@ -503,6 +514,10 @@ void AstyleConfigDlg::SaveSettings()
+ cfg->Write(_T("/add_brackets"), XRCCTRL(*this, "chkAddBrackets", wxCheckBox)->GetValue());
+ cfg->Write(_T("/add_one_line_brackets"), XRCCTRL(*this, "chkAddOneLineBrackets", wxCheckBox)->GetValue());
+ cfg->Write(_T("/remove_brackets"), XRCCTRL(*this, "chkRemoveBrackets", wxCheckBox)->GetValue());
++ cfg->Write(_T("/break_return_type_decl"), XRCCTRL(*this, "chkBreakReturnTypeDecl", wxCheckBox)->GetValue());
++ cfg->Write(_T("/break_return_type"), XRCCTRL(*this, "chkBreakReturnType", wxCheckBox)->GetValue());
++ cfg->Write(_T("/attach_return_type"), XRCCTRL(*this, "chkAttachReturnType", wxCheckBox)->GetValue());
++ cfg->Write(_T("/attach_return_type_decl"), XRCCTRL(*this, "chkAttachReturnTypeDecl",wxCheckBox)->GetValue());
+ cfg->Write(_T("/keep_blocks"), XRCCTRL(*this, "chkKeepBlocks", wxCheckBox)->GetValue());
+ cfg->Write(_T("/keep_headers"), XRCCTRL(*this, "chkKeepHeaders", wxCheckBox)->GetValue());
+ cfg->Write(_T("/keep_statements"), XRCCTRL(*this, "chkKeepStatements", wxCheckBox)->GetValue());
+diff --git a/src/plugins/astyle/astylepredefinedstyles.h b/src/plugins/astyle/astylepredefinedstyles.h
+index e00ae4907..1bf72f0ea 100644
+--- a/src/plugins/astyle/astylepredefinedstyles.h
++++ b/src/plugins/astyle/astylepredefinedstyles.h
+@@ -14,7 +14,7 @@ enum AStylePredefinedStyle
+ aspsStroustrup,
+ aspsWhitesmith,
+ aspsVTK,
+- aspsBanner,
++ aspsRatliff,
+ aspsGnu,
+ aspsLinux,
+ aspsHorstmann,
+diff --git a/src/plugins/astyle/dlgformattersettings.cpp b/src/plugins/astyle/dlgformattersettings.cpp
+index 6e2d264ab..683693038 100644
+--- a/src/plugins/astyle/dlgformattersettings.cpp
++++ b/src/plugins/astyle/dlgformattersettings.cpp
+@@ -39,8 +39,8 @@ void DlgFormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ formatter.setFormattingStyle(astyle::STYLE_WHITESMITH);
+ else if (XRCCTRL(*m_dlg, "rbVTK", wxRadioButton)->GetValue())
+ formatter.setFormattingStyle(astyle::STYLE_VTK);
+- else if (XRCCTRL(*m_dlg, "rbBanner", wxRadioButton)->GetValue())
+- formatter.setFormattingStyle(astyle::STYLE_BANNER);
++ else if (XRCCTRL(*m_dlg, "rbRatliff", wxRadioButton)->GetValue())
++ formatter.setFormattingStyle(astyle::STYLE_RATLIFF);
+ else if (XRCCTRL(*m_dlg, "rbGNU", wxRadioButton)->GetValue())
+ formatter.setFormattingStyle(astyle::STYLE_GNU);
+ else if (XRCCTRL(*m_dlg, "rbLinux", wxRadioButton)->GetValue())
+@@ -58,10 +58,11 @@ void DlgFormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ else if (XRCCTRL(*m_dlg, "rbLisp", wxRadioButton)->GetValue())
+ formatter.setFormattingStyle(astyle::STYLE_LISP);
+
+- formatter.setAttachClass(XRCCTRL(*m_dlg, "chkAttachClasses", wxCheckBox)->GetValue());
+- formatter.setAttachExternC(XRCCTRL(*m_dlg, "chkAttachExternC", wxCheckBox)->GetValue());
+- formatter.setAttachNamespace(XRCCTRL(*m_dlg, "chkAttachNamespaces", wxCheckBox)->GetValue());
+- formatter.setAttachInline(XRCCTRL(*m_dlg, "chkAttachInlines", wxCheckBox)->GetValue());
++ formatter.setAttachClass(XRCCTRL(*m_dlg, "chkAttachClasses", wxCheckBox)->GetValue());
++ formatter.setAttachExternC(XRCCTRL(*m_dlg, "chkAttachExternC", wxCheckBox)->GetValue());
++ formatter.setAttachNamespace(XRCCTRL(*m_dlg, "chkAttachNamespaces", wxCheckBox)->GetValue());
++ formatter.setAttachInline(XRCCTRL(*m_dlg, "chkAttachInlines", wxCheckBox)->GetValue());
++ formatter.setAttachClosingWhile(XRCCTRL(*m_dlg, "chkAttachClosingWhiles", wxCheckBox)->GetValue());
+
+ bool value = XRCCTRL(*m_dlg, "chkForceUseTabs", wxCheckBox)->GetValue();
+ int spaceNum = XRCCTRL(*m_dlg, "spnIndentation", wxSpinCtrl)->GetValue();
+@@ -79,6 +80,7 @@ void DlgFormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ formatter.setLabelIndent(XRCCTRL(*m_dlg, "chkIndentLabels", wxCheckBox)->GetValue());
+ formatter.setModifierIndent(XRCCTRL(*m_dlg, "chkIndentModifiers", wxCheckBox)->GetValue());
+ formatter.setNamespaceIndent(XRCCTRL(*m_dlg, "chkIndentNamespaces", wxCheckBox)->GetValue());
++ formatter.setAfterParenIndent(XRCCTRL(*m_dlg, "chkIndentAfterParens", wxCheckBox)->GetValue());
+ formatter.setSwitchIndent(XRCCTRL(*m_dlg, "chkIndentSwitches", wxCheckBox)->GetValue());
+ formatter.setPreprocBlockIndent(XRCCTRL(*m_dlg, "chkIndentPreprocBlock", wxCheckBox)->GetValue());
+ formatter.setPreprocDefineIndent(XRCCTRL(*m_dlg, "chkIndentPreprocDefine", wxCheckBox)->GetValue());
+@@ -88,11 +90,15 @@ void DlgFormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ formatter.setMinConditionalIndentOption(minConditionalEvent);
+ formatter.setMaxInStatementIndentLength( wxAtoi(XRCCTRL(*m_dlg, "txtMaxInStatementIndent", wxTextCtrl)->GetValue()) );
+
+- formatter.setBreakClosingHeaderBracketsMode(XRCCTRL(*m_dlg, "chkBreakClosing", wxCheckBox)->GetValue());
++ formatter.setBreakClosingHeaderBracesMode(XRCCTRL(*m_dlg, "chkBreakClosing", wxCheckBox)->GetValue());
+ formatter.setBreakElseIfsMode(XRCCTRL(*m_dlg, "chkBreakElseIfs", wxCheckBox)->GetValue());
+- formatter.setAddBracketsMode(XRCCTRL(*m_dlg, "chkAddBrackets", wxCheckBox)->GetValue());
+- formatter.setAddOneLineBracketsMode(XRCCTRL(*m_dlg, "chkAddOneLineBrackets", wxCheckBox)->GetValue());
+- formatter.setRemoveBracketsMode(XRCCTRL(*m_dlg, "chkRemoveBrackets", wxCheckBox)->GetValue());
++ formatter.setAddBracesMode(XRCCTRL(*m_dlg, "chkAddBrackets", wxCheckBox)->GetValue());
++ formatter.setAddOneLineBracesMode(XRCCTRL(*m_dlg, "chkAddOneLineBrackets", wxCheckBox)->GetValue());
++ formatter.setRemoveBracesMode(XRCCTRL(*m_dlg, "chkRemoveBrackets", wxCheckBox)->GetValue());
++ formatter.setBreakReturnType(XRCCTRL(*m_dlg, "chkBreakReturnType", wxCheckBox)->GetValue());
++ formatter.setBreakReturnTypeDecl(XRCCTRL(*m_dlg, "chkBreakReturnTypeDecl", wxCheckBox)->GetValue());
++ formatter.setAttachReturnType(XRCCTRL(*m_dlg, "chkAttachReturnType", wxCheckBox)->GetValue());
++ formatter.setAttachReturnTypeDecl(XRCCTRL(*m_dlg, "chkAttachReturnTypeDecl", wxCheckBox)->GetValue());
+ formatter.setBreakOneLineBlocksMode(!XRCCTRL(*m_dlg, "chkKeepBlocks", wxCheckBox)->GetValue());
+ formatter.setBreakOneLineHeadersMode(!XRCCTRL(*m_dlg, "chkKeepHeaders", wxCheckBox)->GetValue());
+ formatter.setBreakOneLineStatementsMode(!XRCCTRL(*m_dlg, "chkKeepStatements", wxCheckBox)->GetValue());
+diff --git a/src/plugins/astyle/formattersettings.cpp b/src/plugins/astyle/formattersettings.cpp
+index 8f60ddde2..b875ddcba 100644
+--- a/src/plugins/astyle/formattersettings.cpp
++++ b/src/plugins/astyle/formattersettings.cpp
+@@ -54,8 +54,8 @@ void FormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ formatter.setFormattingStyle(astyle::STYLE_VTK);
+ break;
+
+- case aspsBanner: // Banner
+- formatter.setFormattingStyle(astyle::STYLE_BANNER);
++ case aspsRatliff: // Ratliff
++ formatter.setFormattingStyle(astyle::STYLE_RATLIFF);
+ break;
+
+ case aspsGnu: // GNU
+@@ -123,7 +123,7 @@ void FormatterSettings::ApplyTo(astyle::ASFormatter& formatter)
+ formatter.setMinConditionalIndentOption(cfg->ReadInt(_T("/min_conditional_indent"), 2));
+ formatter.setMaxInStatementIndentLength(cfg->ReadInt(_T("/max_instatement_indent"), 40));
+
+- formatter.setBreakClosingHeaderBracketsMode(cfg->ReadBool(_T("/break_closing")));
++ formatter.setBreakClosingHeaderBracesMode(cfg->ReadBool(_T("/break_closing")));
+ formatter.setBreakElseIfsMode(cfg->ReadBool(_T("/break_elseifs")));
+ formatter.setAddBracketsMode(cfg->ReadBool(_T("/add_brackets")));
+ formatter.setAddOneLineBracketsMode(cfg->ReadBool(_T("/add_one_line_brackets")));
+diff --git a/src/plugins/astyle/resources/configuration.xrc b/src/plugins/astyle/resources/configuration.xrc
+index 86e0b0df9..50d8cfad0 100644
+--- a/src/plugins/astyle/resources/configuration.xrc
++++ b/src/plugins/astyle/resources/configuration.xrc
+@@ -61,9 +61,9 @@
+ 5
+
+
+ wxEXPAND
+ 5
+@@ -319,6 +326,13 @@
+ wxTOP|wxALIGN_LEFT
+ 5
+
++
++
++
++
++ wxTOP|wxALIGN_LEFT
++ 5
++
+
+
+
+@@ -427,21 +441,49 @@
+
+
+
+-
++
+
+ wxTOP|wxALIGN_LEFT
+ 5
+
+
+
+-
++
+
+ wxTOP|wxALIGN_LEFT
+ 5
+
+
+
+-
++
++
++ wxTOP|wxALIGN_LEFT
++ 5
++
++
++
++
++
++ wxTOP|wxALIGN_LEFT
++ 5
++
++
++
++
++
++ wxTOP|wxALIGN_LEFT
++ 5
++
++
++
++
++
++ wxTOP|wxALIGN_LEFT
++ 5
++
++
++
++
+
+ wxTOP|wxALIGN_LEFT
+ 5
diff --git a/codeblocks.spec b/codeblocks.spec
index ceddab3..24c1fe9 100644
--- a/codeblocks.spec
+++ b/codeblocks.spec
@@ -7,7 +7,7 @@
Name: codeblocks
Version: 17.12
-Release: 2%{?svnrelease}%{?dist}
+Release: 3%{?svnrelease}%{?dist}
Summary: An open source, cross platform, free C++ IDE
License: GPLv3+
URL: http://www.codeblocks.org/
@@ -18,6 +18,7 @@ Source0: %{name}-svn%{svnrev}.tar.bz2
Source0: https://sourceforge.net/projects/%{name}/files/Sources/%{version}/%{name}_%{version}.tar.xz
%endif
Patch0: codeblocks-autorev.patch
+Patch1: astyle-3.1.patch
BuildRequires: libtool
BuildRequires: wxGTK-devel
@@ -356,6 +357,10 @@ echo "%{_libdir}/%{name}/wxContribItems" > %{buildroot}/%{_sysconfdir}/ld.so.con
%changelog
+* Mon Jan 15 2018 Jens Lody - 17.12-3
+- Backported changes for astyle 3.1
+- Rebuild for astyle 3.1
+
* Sun Jan 07 2018 Igor Gnatenko - 17.12-2
- Remove obsolete scriptlets