From 87c6056fa2b90bebaa0915e51b0921cfc5dbc6cb Mon Sep 17 00:00:00 2001 From: Matt Domsch Date: Sep 17 2008 15:21:41 +0000 Subject: fix FTBFS BZ#434089 --- diff --git a/pekwm-0.1.5-gcc43.patch b/pekwm-0.1.5-gcc43.patch new file mode 100644 index 0000000..6477659 --- /dev/null +++ b/pekwm-0.1.5-gcc43.patch @@ -0,0 +1,70 @@ +--- pekwm-0.1.5.orig/src/CfgParser.hh 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/CfgParser.hh 2008-09-17 10:04:40.000000000 -0500 +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + //! @brief Configuration file parser. + class CfgParser { +--- pekwm-0.1.5.orig/src/Util.hh 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/Util.hh 2008-09-17 10:08:59.000000000 -0500 +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + + //! @brief Namespace Util used for various small file/string tasks. + namespace Util { +--- pekwm-0.1.5.orig/src/CfgParserKey.cc 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/CfgParserKey.cc 2008-09-17 10:08:50.000000000 -0500 +@@ -15,6 +15,7 @@ + + #include + #include ++#include + + using std::string; + using std::cerr; +--- pekwm-0.1.5.orig/src/CfgParserSource.cc 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/CfgParserSource.cc 2008-09-17 10:10:34.000000000 -0500 +@@ -14,6 +14,7 @@ + #include "Util.hh" + + #include ++#include + + extern "C" { + #include +--- pekwm-0.1.5.orig/src/ColorHandler.hh 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/ColorHandler.hh 2008-09-17 10:11:40.000000000 -0500 +@@ -15,6 +15,7 @@ + + #include + #include ++#include + + class ColorHandler { + public: +--- pekwm-0.1.5.orig/src/PImageNativeLoaderXpm.cc 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/PImageNativeLoaderXpm.cc 2008-09-17 10:12:54.000000000 -0500 +@@ -13,6 +13,7 @@ + #include "PImageNativeLoaderXpm.hh" + + #include ++#include + + using std::cerr; + using std::endl; +--- pekwm-0.1.5.orig/src/Util.cc 2008-09-17 10:02:32.000000000 -0500 ++++ pekwm-0.1.5/src/Util.cc 2008-09-17 10:14:09.000000000 -0500 +@@ -14,6 +14,7 @@ + #include "Util.hh" + #include + #include ++#include + + #include + #include diff --git a/pekwm.spec b/pekwm.spec index 9dea361..e75e618 100644 --- a/pekwm.spec +++ b/pekwm.spec @@ -1,6 +1,6 @@ Name: pekwm Version: 0.1.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: The Pek Window Manager Group: User Interface/Desktops @@ -12,6 +12,7 @@ Source1: %{name}.desktop Source2: pekwm-xdg-menu.py Patch0: pekwm_configure.patch Patch2: pekwm_menu.patch +Patch3: pekwm-0.1.5-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -27,6 +28,7 @@ A lightweight window manager with tabs based on aewm++. %setup -q %patch0 %patch2 +%patch3 -p1 sed -i s,"",%{_bindir},g data/menu.in sed -i s,"XftDrawString8","XftDrawStringUtf8", src/PFont.cc @@ -83,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Sep 17 2008 Matt Domsch - 0.1.5-8 +- fix FTBFS BZ#434089 + * Thu Aug 28 2008 Tom "spot" Callaway - 0.1.5-7 - fix license tag