pkgsrc/multimedia/libflash/patches/patch-aa
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

20 lines
425 B
Text

$NetBSD: patch-aa,v 1.1 2006/06/30 21:47:20 tron Exp $
--- Lib/matrix.h.orig 1999-08-07 14:24:02.000000000 +0100
+++ Lib/matrix.h 2006-06-30 22:37:20.000000000 +0100
@@ -33,13 +33,13 @@
#endif
inline
- long Matrix::getX(long x, long y)
+ long getX(long x, long y)
{
return (long) (x*a+y*b+tx);
};
inline
- long Matrix::getY(long x, long y)
+ long getY(long x, long y)
{
return (long) (x*c+y*d+ty);
};