[patch] cleanup non-supported FreeBSD versions

PR:		ports/111685
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
This commit is contained in:
Edwin Groothuis 2007-05-02 08:02:29 +00:00
parent e3426001f5
commit 3e98299421
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=191394
2 changed files with 0 additions and 38 deletions

View file

@ -99,29 +99,13 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if defined(GCCVERSION)
. if ${GCCVERSION} < 030000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fbsd4
. endif
.else
. if ${OSVERSION} < 500035
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-fbsd4
. endif
.endif
post-patch: .SILENT
.if ${OSVERSION} > 500027
${REINPLACE_CMD} -e '/atoll/d' ${WRKSRC}/config/platform/bsd.h
.endif
.if ${OSVERSION} > 502112
${REINPLACE_CMD} -e '/round/d' ${WRKSRC}/config/platform/bsd.h
.endif
.if ${OSVERSION} > 502120
${REINPLACE_CMD} -e '/nearbyint/d' ${WRKSRC}/config/platform/bsd.h
.endif
.if ${OSVERSION} < 500028
${REINPLACE_CMD} -e '22586,$$s/stdint/inttypes/' \
-e '21693s/$$srcdir/..\/../' ${WRKSRC}/configure
.endif
${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...),' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \

View file

@ -1,22 +0,0 @@
--- src/backend/CPortAudioSoundRecorder.cpp.orig Mon Oct 6 13:04:39 2003
+++ src/backend/CPortAudioSoundRecorder.cpp Mon Oct 2 10:35:16 2006
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <stdio.h>
+
#include "CPortAudioSoundRecorder.h"
#ifdef ENABLE_PORTAUDIO
--- src/backend/Remaster/CAdaptiveNormalizeAction.cpp.orig Tue Feb 15 08:54:44 2005
+++ src/backend/Remaster/CAdaptiveNormalizeAction.cpp Mon Oct 2 10:35:24 2006
@@ -18,6 +18,8 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <stdio.h>
+
#include "CAdaptiveNormalizeAction.h"
#include <utility>