add patch for gcc-4.3

This commit is contained in:
Zoltan Kota 2008-01-16 12:58:47 +00:00
parent f159ea85c3
commit c708d364f9
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/recodext.h.orig 2008-01-16 13:15:39.000000000 +0100
+++ src/recodext.h 2008-01-16 13:16:47.000000000 +0100
@@ -218,7 +218,7 @@
enum recode_symbol_type type : 3;
/* Non zero if this one should be ignored. */
- bool ignore : 2;
+ bool ignore : 1;
};
struct recode_surface_list

View File

@ -1,12 +1,13 @@
Summary: Conversion between character sets and surfaces
Name: recode
Version: 3.6
Release: 24%{?dist}
Release: 25%{?dist}
License: GPLv2+
Group: Applications/File
Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.gz
Patch0: recode.patch
Patch1: recode-3.6-getcwd.patch
Patch2: recode-bool-bitfield.patch
Url: http://recode.progiciels-bpi.ca/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -41,6 +42,7 @@ are supported.
%setup -q
%patch0 -p1
%patch1 -p1 -b .getcwd
%patch2 -p0
%build
%configure --disable-static
@ -87,6 +89,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/*
%changelog
* Wed Jan 16 2008 Zoltan Kota <z.kota[AT]gmx.net> 3.6-25
- add patch for gcc43
* Wed Aug 22 2007 Zoltan Kota <z.kota[AT]gmx.net> 3.6-24
- update license tag
- rebuild