From b034a6765a46663a42d8b91123b2d00df7a1599b Mon Sep 17 00:00:00 2001 From: Juergen Lock Date: Sun, 21 Oct 2007 20:00:25 +0000 Subject: Fix build with GCC 4.2 Approved by: shaun (maintainer, via irc) --- editors/f4l/Makefile | 6 ------ ...c_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h | 10 ++++++++++ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 editors/f4l/files/patch-src_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h (limited to 'editors') diff --git a/editors/f4l/Makefile b/editors/f4l/Makefile index ae511ca4559c..f0a1807182a5 100644 --- a/editors/f4l/Makefile +++ b/editors/f4l/Makefile @@ -26,12 +26,6 @@ PLIST_FILES= bin/${PORTNAME} .include -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif - do-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake diff --git a/editors/f4l/files/patch-src_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h b/editors/f4l/files/patch-src_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h new file mode 100644 index 000000000000..9fda58cc5237 --- /dev/null +++ b/editors/f4l/files/patch-src_flagStonePort_transform-cxx-bsd_transform_FSDefineSound.h @@ -0,0 +1,10 @@ +Index: src/flagStonePort/transform-cxx-bsd/transform/FSDefineSound.h +@@ -137,7 +137,7 @@ + @param bytes the sound data. + @param length the number of bytes in the sound data. + */ +- FSDefineSound::FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length); ++ FSDefineSound(int anIdentifier, int encoding, int rate, int channels, int sampleSize, int count, byte* bytes, size_t length); + + FSDefineSound(const FSDefineSound& rhs); + -- cgit v1.2.3