summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/lightspark/files/lightspark-0.6.0.1-gcc-4.5_0005.patch')
-rw-r--r--www-plugins/lightspark/files/lightspark-0.6.0.1-gcc-4.5_0005.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/www-plugins/lightspark/files/lightspark-0.6.0.1-gcc-4.5_0005.patch b/www-plugins/lightspark/files/lightspark-0.6.0.1-gcc-4.5_0005.patch
new file mode 100644
index 000000000000..4dcbf51baa4d
--- /dev/null
+++ b/www-plugins/lightspark/files/lightspark-0.6.0.1-gcc-4.5_0005.patch
@@ -0,0 +1,32 @@
+From 631cb37ae66c0150a148a29df7a3c3e26dc03fb4 Mon Sep 17 00:00:00 2001
+From: Alessandro Pignotti <a.pignotti@sssup.it>
+Date: Sun, 10 Jun 2012 19:55:40 +0200
+Subject: [PATCH] Fix a couple of stale reference assignment
+
+---
+ src/swftypes.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/swftypes.cpp b/src/swftypes.cpp
+index 69de488..a2d05e9 100644
+--- a/src/swftypes.cpp
++++ b/src/swftypes.cpp
+@@ -761,13 +761,13 @@ inline RGBA medianColor(const RGBA& a, const RGBA& b, float factor)
+ {
+ //Thrown if the bitmapId does not exists in dictionary
+ LOG(LOG_ERROR,"Exception in FillStyle parsing: " << e.what());
+- v.bitmap=NullRef;
++ v.bitmap.reset();
+ }
+ }
+ else
+ {
+ //The bitmap might be invalid, the style should not be used
+- v.bitmap=NullRef;
++ v.bitmap.reset();
+ }
+ }
+ else
+--
+1.7.10
+