Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5b91f2dbab5b82073d3a60048df580957e886170

commit 5b91f2dbab5b82073d3a60048df580957e886170
Author: Devil505 <devil505li...@gmail.com>
Date:   Sat Jul 18 12:24:42 2009 +0200

recode-3.6-2-i686
* added patch to build with gcc

diff --git a/source/apps/recode/FrugalBuild b/source/apps/recode/FrugalBuild
index 8ed9254..f2adc6d 100644
--- a/source/apps/recode/FrugalBuild
+++ b/source/apps/recode/FrugalBuild
@@ -3,21 +3,24 @@

pkgname=recode
pkgver=3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Converts files between various character sets and usages"
url="http://www.gnu.org/software/recode/recode.html";
+depends=()
groups=('apps')
archs=('i686' 'x86_64')
Fup2gnugz
-source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
-sha1sums=('2de90cd2ba553bc07d75a29913ea4424dd9e616b')
+source=(ftp://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz 
$pkgname-$pkgver-gcc43.patch)
+sha1sums=('2de90cd2ba553bc07d75a29913ea4424dd9e616b' \
+          '9a372391949b4a7c0eae8302fd5a93931cc73360')

build()
{
+       Fpatchall
Fcd
[ "$CARCH" == "x86_64" ] && Facu
Fmake
Fmakeinstall
}

-# optimalization OK
+# optimization OK
diff --git a/source/apps/recode/recode-3.6-gcc43.patch 
b/source/apps/recode/recode-3.6-gcc43.patch
new file mode 100644
index 0000000..beaf26e
--- /dev/null
+++ b/source/apps/recode/recode-3.6-gcc43.patch
@@ -0,0 +1,20 @@
+http://bugs.gentoo.org/209036
+
+fix building with gcc-4.3
+
+--- src/recodext.h     2008-04-03 18:35:42 +0000
++++ src/recodext.h     2008-04-03 18:36:32 +0000
+@@ -215,10 +215,10 @@
+     struct recode_single *unsurfacer;
+
+     /* Non zero if this is an acceptable charset (not only a surface).  */
+-    enum recode_symbol_type type : 3;
++    enum recode_symbol_type type : 2;
+
+     /* Non zero if this one should be ignored.  */
+-    bool ignore : 2;
++    bool ignore : 1;
+   };
+
+ struct recode_surface_list
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to