summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch')
-rw-r--r--www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch b/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch
new file mode 100644
index 0000000..f272dad
--- /dev/null
+++ b/www-plugins/lightspark/files/lightspark-0.4.1-debug-defines.patch
@@ -0,0 +1,15 @@
+diff --git a/swftypes.h b/swftypes.h
+index 31e1a70..0c166cb 100644
+--- a/swftypes.h
++++ b/swftypes.h
+@@ -498,9 +498,9 @@ private:
+ public:
+ #ifndef NDEBUG
+ //Stuff only used in debugging
+- bool initialized;
+ int getRefCount(){ return ref_count; }
+ #endif
++ bool initialized;
+ bool implEnable;
+ void setPrototype(Class_base* c);
+ Class_base* getPrototype() const { return prototype; }