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

commit bb77017a4ff7033a544980fb25ef3b4c95ac87a0
Author: Cedynamix <cedyna...@gmail.com>
Date:   Thu Jul 30 00:25:52 2009 +0200

swftools-0.9.0-2-i686

* up2date fixed
* Rebuild with gcc 4.4

diff --git a/source/multimedia-extra/swftools/swftools-cont-gcc44.patch 
b/source/multimedia-extra/swftools/swftools-cont-gcc44.patch
new file mode 100644
index 0000000..2b0d503
--- /dev/null
+++ b/source/multimedia-extra/swftools/swftools-cont-gcc44.patch
@@ -0,0 +1,27 @@
+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 @@
+     memset(f, 0, sizeof(fontfile_t));
+     f->filename = filename;
+     int len = strlen(filename);
+-    char*r1 = strrchr(filename, '/');
+-    char*r2 = strrchr(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