pkgsrc/multimedia/libflash/patches/patch-am
tron 6174d8a10a Fix build with GCC 4.x:
- Remove class name from member declarations.
- Fix inconsistent use of C and C++ linkage.
2006-06-30 21:47:20 +00:00

14 lines
385 B
Text

$NetBSD: patch-am,v 1.1 2006/06/30 21:47:20 tron Exp $
--- Lib/swf.h.orig 1999-08-07 14:27:36.000000000 +0100
+++ Lib/swf.h 2006-06-30 22:44:16.000000000 +0100
@@ -196,7 +196,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);