- trying to fix the gcc 4.4 build

This commit is contained in:
Miloš Jakubíček 2009-02-03 23:41:32 +00:00
commit 67f6ea09ce
2 changed files with 9 additions and 2 deletions

2
valknut-gcc44.patch Normal file
View file

@ -0,0 +1,2 @@
20a21
> #include <cstdio>

View file

@ -1,6 +1,6 @@
Name: valknut
Version: 0.4.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Valknut is a QT Direct Connect client
Group: Applications/Internet
@ -8,6 +8,7 @@ License: GPLv2
URL: http://sourceforge.net/projects/wxdcgui/
Source0: http://dl.sourceforge.net/wxdcgui/%{name}-%{version}.tar.bz2
Source1: valknut.desktop
Patch0: valknut-gcc44.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dclib-devel >= 0.3.22
@ -22,7 +23,7 @@ derivatives. Valknut also interoperates with all common DC hub software.
%prep
%setup -q
%patch0
%build
%configure --enable-mt
@ -60,6 +61,10 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/valknut.1.gz
%changelog
* Wed Feb 4 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0.4.8-2
- Added valknut-gcc44.patch to fix the build with gcc 4.4
* Wed Jan 28 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 0.4.8-1
- Update to 0.4.8
- Switch to QT4