Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=e4a75fd1b0ba6b99d364c37f68a8f3a19c31060f

commit e4a75fd1b0ba6b99d364c37f68a8f3a19c31060f
Author: Cedynamix <cedyna...@gmail.com>
Date:   Tue Jul 13 20:45:06 2010 +0200

swftools-0.9.1-1-i686

* version bump
* Fix patch

diff --git a/source/multimedia-extra/swftools/FrugalBuild 
b/source/multimedia-extra/swftools/FrugalBuild
index 0d05e25..4a43535 100644
--- a/source/multimedia-extra/swftools/FrugalBuild
+++ b/source/multimedia-extra/swftools/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com>

pkgname=swftools
-pkgver=0.9.0
-pkgrel=2
+pkgver=0.9.1
+pkgrel=1
pkgdesc="A collection of SWF manipulation and creation utilities"
archs=('i686')
url="http://www.swftools.org/";
@@ -13,8 +13,8 @@ groups=('multimedia-extra')
up2date="lynx -dump $url/download.html |grep [0-9].[0-9].[0-9].tar.gz | 
Flasttar"
source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz \
swftools-cont-gcc44.patch)
-sha1sums=('4860edc9f05e3cc5a55779aac3787cb0150146a8' \
-          '7634f96d39a54ed4d0094223a4e0aded41818eeb')
+sha1sums=('6aac250f7cbe034c1c638ee1a1fa2f3a554d1311' \
+          'a3e94839b440f4239cda3bcc99a162ce7de11ff5')

build () {
Fpatchall
diff --git a/source/multimedia-extra/swftools/swftools-cont-gcc44.patch 
b/source/multimedia-extra/swftools/swftools-cont-gcc44.patch
index 2b0d503..2d1cb05 100644
--- a/source/multimedia-extra/swftools/swftools-cont-gcc44.patch
+++ b/source/multimedia-extra/swftools/swftools-cont-gcc44.patch
@@ -1,27 +1,15 @@
-diff -Nur swftools-0.9.0.orig/lib/pdf/GFXOutputDev.cc 
swftools-0.9.0/lib/pdf/GFXOutputDev.cc
---- swftools-0.9.0.orig/lib/pdf/GFXOutputDev.cc        2009-04-13 
02:25:32.000000000 +0300
-+++ swftools-0.9.0/lib/pdf/GFXOutputDev.cc     2009-07-15 21:29:31.820117477 
+0300
-@@ -2504,8 +2504,8 @@
+diff -Nur swftools-0.9.1.orig/lib/pdf/GFXOutputDev.cc 
swftools-0.9.1/lib/pdf/GFXOutputDev.cc
+--- swftools-0.9.1.orig/lib/pdf/GFXOutputDev.cc        2009-04-13 
02:25:32.000000000 +0300
++++ swftools-0.9.1/lib/pdf/GFXOutputDev.cc     2009-07-15 21:29:31.820117477 
+0300
+@@ -2588,8 +2588,8 @@
memset(f, 0, sizeof(fontfile_t));
f->filename = filename;
int len = strlen(filename);
--    char*r1 = strrchr(filename, '/');
--    char*r2 = strrchr(filename, '\\');
+-    char*r1 = strrchr((char*)filename, '/');
+-    char*r2 = strrchr((char*)filename, '\\');
+    const char*r1 = strrchr(filename, '/');
+    const char*r2 = strrchr(filename, '\\');
if(r2>r1)
r1 = r2;
if(r1) {
-diff -Nur swftools-0.9.0.orig/lib/pdf/pdf.cc swftools-0.9.0/lib/pdf/pdf.cc
---- swftools-0.9.0.orig/lib/pdf/pdf.cc 2009-04-13 02:25:32.000000000 +0300
-+++ swftools-0.9.0/lib/pdf/pdf.cc      2009-07-15 21:56:19.013300153 +0300
-@@ -447,7 +447,7 @@
-     i->filename = strdup(filename);
-
-     char*x = 0;
--    if((x = strchr(filename, '|'))) {
-+    if((x = (char *)strchr(filename, '|'))) {
-       *x = 0;
-       userPassword = x+1;
-     }
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to