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

commit 3fab819799e92f6e2b640d39b6a1bcf59862fe5f
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Jun 14 18:58:09 2009 +0200

abiword-2.6.8-2-i686
*rebuild with gcc4.4
*added gcc fix

diff --git a/source/xapps-extra/abiword/FrugalBuild 
b/source/xapps-extra/abiword/FrugalBuild
index eef086a..0b271de 100644
--- a/source/xapps-extra/abiword/FrugalBuild
+++ b/source/xapps-extra/abiword/FrugalBuild
@@ -6,7 +6,7 @@ pkgver=2.6.8
#for now same version
pkgverplugin=2.6.8
abivers=2.6
-pkgrel=1
+pkgrel=2
pkgdesc="AbiWord is a free word processing program similar to Microsoft(R) 
Word."
url="http://www.abisource.com";
groups=('xapps-extra')
@@ -24,11 +24,13 @@ Finclude gnome-scriptlet
up2date="lynx -dump http://www.abisource.com/|grep -m1 'stable release is'|tr 
-d  '[:alpha:] [:blank:]' |sed 's/\(.*\)./\1/;s/.//6'"
source=($url/downloads/$pkgname/$pkgver/source/$pkgname-$pkgver.tar.gz \
$url/downloads/abiword/$pkgver/source/abiword-plugins-$pkgverplugin.tar.gz \
-       $pkgname-kde.desktop $pkgname-gnome.desktop)
+       $pkgname-kde.desktop $pkgname-gnome.desktop \
+       gcc44.diff)
sha1sums=('fc979982edc3445385705afdb1e2ebb1fa53a4f6' \
'fa8ad1985de5523f9993cef93af0dad174e8e5a5' \
'aac82c38acc4ee80d461d15e2e4ead64a627d51c' \
-          '29683d951cd471a97cf146961618c1770e902ade')
+          '29683d951cd471a97cf146961618c1770e902ade' \
+          'a5483b8614f91eafdbce3c916b8ebcfc0d670cd7')
license="GPL2"
conflicts=('abiword-gnome')

diff --git a/source/xapps-extra/abiword/gcc44.diff 
b/source/xapps-extra/abiword/gcc44.diff
new file mode 100644
index 0000000..74d737b
--- /dev/null
+++ b/source/xapps-extra/abiword/gcc44.diff
@@ -0,0 +1,11 @@
+--- abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp.gcc4      
2009-05-06 17:41:54 +0000
++++ abiword-plugins-2.6.8/tools/abicommand/xp/AbiCommand.cpp   2009-05-06 
17:47:47 +0000
+@@ -551,7 +551,7 @@ AbiCommand::parseTokens (UT_Vector * pTo
+                               UT_UTF8String *pCom1 =
+                                       const_cast < UT_UTF8String * 
>(static_cast < const UT_UTF8String * >(pToks->getNthItem (1)));
+                               printf(" Filename %s \n",pCom1->utf8_str());
+-                              char *suffix = rindex (pCom1->utf8_str (), '.');
++                              const char *suffix = rindex (pCom1->utf8_str 
(), '.');
+
+                               if (suffix != NULL)
+                               {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to