From c708d364f965c011a384d6791bf2e826cd1e5514 Mon Sep 17 00:00:00 2001 From: Zoltan Kota Date: Jan 16 2008 12:58:47 +0000 Subject: add patch for gcc-4.3 --- diff --git a/recode-bool-bitfield.patch b/recode-bool-bitfield.patch new file mode 100644 index 0000000..0d48fbd --- /dev/null +++ b/recode-bool-bitfield.patch @@ -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 diff --git a/recode.spec b/recode.spec index e33b497..657f03b 100644 --- a/recode.spec +++ b/recode.spec @@ -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 3.6-25 +- add patch for gcc43 + * Wed Aug 22 2007 Zoltan Kota 3.6-24 - update license tag - rebuild