summaryrefslogtreecommitdiff
path: root/graphics/libflash/files/patch-swf.h
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-06-21 09:56:40 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-06-21 09:56:40 +0000
commit280e67f7684b2d59f5f314869186ae1f0cf9d012 (patch)
tree0b50a39deb224444a3f0bad87cee6b4eda9145b3 /graphics/libflash/files/patch-swf.h
parent- Update to 1.4.1 (diff)
- Fix build with gcc4
PR: ports/112977 Submitted by: benjsc Approved by: Li-Lun Wang <llwang at infor.org> (maintainer)
Notes
Notes: svn path=/head/; revision=193991
Diffstat (limited to '')
-rw-r--r--graphics/libflash/files/patch-swf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/libflash/files/patch-swf.h b/graphics/libflash/files/patch-swf.h
new file mode 100644
index 000000000000..630fd85a7899
--- /dev/null
+++ b/graphics/libflash/files/patch-swf.h
@@ -0,0 +1,12 @@
+--- lib/swf.h Fri May 25 15:04:22 2007
++++ lib2/swf.h Fri May 25 15:08:36 2007
+@@ -199,7 +199,9 @@
+ #define true 1
+ #endif
+
++extern "C" {
+ extern int shape_size,shape_nb,shaperecord_size,shaperecord_nb,style_size,style_nb;
++};
+
+ typedef void (*ScanLineFunc)(void *id, long y, long start, long end);
+