From 7f2d5ffa190047a7548dc6ab1ef5a159e08c1b69 Mon Sep 17 00:00:00 2001 From: Christopher Aillon Date: Mar 27 2008 05:24:49 +0000 Subject: - Fix the build against GCC 4.3 --- diff --git a/fluxbox-gcc43.patch b/fluxbox-gcc43.patch new file mode 100644 index 0000000..a406275 --- /dev/null +++ b/fluxbox-gcc43.patch @@ -0,0 +1,11 @@ +diff -up fluxbox-1.0.0/src/main.cc.gcc43 fluxbox-1.0.0/src/main.cc +--- fluxbox-1.0.0/src/main.cc.gcc43 2008-03-27 01:19:22.000000000 -0400 ++++ fluxbox-1.0.0/src/main.cc 2008-03-27 01:20:15.000000000 -0400 +@@ -49,6 +49,7 @@ + #include + #include + #include ++#include + + using std::cout; + using std::cerr; diff --git a/fluxbox.spec b/fluxbox.spec index 33876f8..37fc7aa 100644 --- a/fluxbox.spec +++ b/fluxbox.spec @@ -1,6 +1,6 @@ Name: fluxbox Version: 1.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Window Manager based on Blackbox @@ -12,6 +12,7 @@ Source0: http://download.sourceforge.net/fluxbox/fluxbox-1.0.0.tar.bz2 Source3: fluxbox.desktop Source4: fluxbox-xdg-menu.py Patch0: fluxbox-startfluxbox-pulseaudio.patch +Patch1: fluxbox-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildRequires: imlib2-devel @@ -52,6 +53,7 @@ Enable pulseaudio support. %prep %setup -q %patch0 +%patch1 -p1 -b .gcc43 %build %configure --enable-xft \ @@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/fluxbox-pulseaudio %changelog +* Thu Mar 27 2008 Christopher Aillon - 1.0.0-5 +- Fix the build against GCC 4.3 + * Mon Feb 18 2008 Fedora Release Engineering - 1.0.0-4 - Autorebuild for GCC 4.3