1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Try to fix the build on 4.X.

Reported by:	krismail
This commit is contained in:
Alexey Dokuchaev 2006-10-03 16:39:13 +00:00
parent e88167cf83
commit ba0a7a10d5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174384
2 changed files with 36 additions and 0 deletions

View File

@ -99,6 +99,16 @@ 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
@ -108,6 +118,10 @@ post-patch: .SILENT
.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

@ -0,0 +1,22 @@
--- 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>