rpms/hackedbox/devel hackedbox-0.8.5-gcc43.patch, NONE, 1.1 hackedbox.spec, 1.12, 1.13

Matthias Saou (thias) fedora-extras-commits at redhat.com
Sun Feb 24 13:02:01 UTC 2008


Author: thias

Update of /cvs/extras/rpms/hackedbox/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11442

Modified Files:
	hackedbox.spec 
Added Files:
	hackedbox-0.8.5-gcc43.patch 
Log Message:
Include patch to fix build with gcc 4.3.


hackedbox-0.8.5-gcc43.patch:

--- NEW FILE hackedbox-0.8.5-gcc43.patch ---
diff -Naupr hackedbox-0.8.5.orig/src/Image.cc hackedbox-0.8.5/src/Image.cc
--- hackedbox-0.8.5.orig/src/Image.cc	2003-04-28 14:25:15.000000000 +0200
+++ hackedbox-0.8.5/src/Image.cc	2008-02-24 13:57:05.000000000 +0100
@@ -26,10 +26,11 @@
 #endif // HAVE_CONFIG_H
 
 #ifdef    HAVE_STDIO_H
-#  include <stdio.h>
+#  include <cstdio>
 #endif // HAVE_STDIO_H
 
 #include <algorithm>
+#include <cstring>
 using std::max;
 using std::min;
 


Index: hackedbox.spec
===================================================================
RCS file: /cvs/extras/rpms/hackedbox/devel/hackedbox.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- hackedbox.spec	20 Feb 2008 04:14:49 -0000	1.12
+++ hackedbox.spec	24 Feb 2008 13:01:22 -0000	1.13
@@ -1,7 +1,7 @@
 Summary: The bastard son of Blackbox, a small and fast Window Manager
 Name: hackedbox
 Version: 0.8.5
-Release: 4%{?dist}
+Release: 5%{?dist}
 # Most of the sources are MIT-licensed from blackbox, but a (very) small
 # portion is GPLv2+, so that is the resulting license
 License: GPLv2+
@@ -10,6 +10,7 @@
 Source0: http://scrudgeware.org/downloads/hackedbox/hackedbox-%{version}.tar.gz
 Source1: hackedbox.desktop
 Patch0: hackedbox-0.8.5-noblackbox.patch
+Patch1: hackedbox-0.8.5-gcc43.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: libXt-devel, libXext-devel
 # We heavily patch *.in files...
@@ -25,6 +26,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .noblackbox
+%patch1 -p1 -b .gcc43
 # Remove included binary files! and *.mk supposed to be built from *.mk.in
 %{__rm} -f util/bsetroot util/bsetroot.o
 %{__rm} -f util/bgmenu.mk
@@ -81,7 +83,10 @@
 
 
 %changelog
-* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.8.5-4
+* Sun Feb 24 2008 Matthias Saou <http://freshrpms.net/> 0.8.5-5
+- Include patch to fix build with gcc 4.3.
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org>
 - Autorebuild for GCC 4.3
 
 * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 0.8.5-3




More information about the fedora-extras-commits mailing list