diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-24 14:17:38 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-24 14:17:38 +0000 |
commit | 20707f6bda0e6d72dfe022435711886d519bb750 (patch) | |
tree | 81fd9a9f80b1955818d75d4556e8d96f209019fb /accessibility | |
parent | 4d974c59d3763c3f3ea9313e785aad04111362d2 (diff) | |
download | ports-20707f6bda0e6d72dfe022435711886d519bb750.tar.gz ports-20707f6bda0e6d72dfe022435711886d519bb750.zip |
Fix build with clang: this unbreak gnome2 with clang
While here:
- Trim headers
- Remove test for unsupported FreeBSD versions
Notes
Notes:
svn path=/head/; revision=318974
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/dasher/Makefile | 8 | ||||
-rw-r--r-- | accessibility/dasher/files/patch-clang | 37 |
2 files changed, 38 insertions, 7 deletions
diff --git a/accessibility/dasher/Makefile b/accessibility/dasher/Makefile index c16edcc91ae1..692c11159d45 100644 --- a/accessibility/dasher/Makefile +++ b/accessibility/dasher/Makefile @@ -1,10 +1,6 @@ -# Ports collection Makefile for: dasher -# Date created: 5 July 2003 -# Whom: lewiz <purple@lewiz.net> -# +# Created by: lewiz <purple@lewiz.net> # $FreeBSD$ # $MCom: ports/accessibility/dasher/Makefile,v 1.66 2009/03/18 04:59:21 marcus Exp $ -# PORTNAME= dasher PORTVERSION= 4.10.1 @@ -48,9 +44,7 @@ post-patch: @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-O2||g' -.if ${OSVERSION} >= 700042 @${REINPLACE_CMD} -e 's|__gnu_cxx::lldiv|lldiv|' \ ${WRKSRC}/Src/DasherCore/DasherViewSquare.cpp -.endif .include <bsd.port.post.mk> diff --git a/accessibility/dasher/files/patch-clang b/accessibility/dasher/files/patch-clang new file mode 100644 index 000000000000..0f0ef1be5609 --- /dev/null +++ b/accessibility/dasher/files/patch-clang @@ -0,0 +1,37 @@ +--- ./Src/DasherCore/DasherViewSquare.h.orig 2013-05-24 17:03:27.185956866 +0200 ++++ ./Src/DasherCore/DasherViewSquare.h 2013-05-24 17:03:36.904410678 +0200 +@@ -20,11 +20,6 @@ + class CDasherNode; + } + +-class Dasher::CDasherViewSquare; +-class Dasher::CDasherModel; +-class Dasher::CDelayedDraw; +-class Dasher::CDasherNode; +- + /// \ingroup View + /// @{ + +--- ./Src/DasherCore/SettingsStore.h.orig 2013-05-24 16:53:08.087996232 +0200 ++++ ./Src/DasherCore/SettingsStore.h 2013-05-24 16:53:40.137994206 +0200 +@@ -18,9 +18,6 @@ + class CParameterNotificationEvent; + } + +-class Dasher::CEventHandler; +-class Dasher::CParameterNotificationEvent; +- + // Types that are parameters can be + enum ParameterType + { +--- ./Src/DasherCore/View/DelayedDraw.h.orig 2013-05-24 17:00:06.589967502 +0200 ++++ ./Src/DasherCore/View/DelayedDraw.h 2013-05-24 16:57:01.492979337 +0200 +@@ -15,8 +15,6 @@ + class CDasherScreen; + } + +-class Dasher::CDasherScreen; +- + namespace Dasher { + /// \ingroup View + /// @{ |